|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesbug-54529_patch.diff (last revision 2011-04-24 21:31 UTC by hebergement at riastudio dot fr)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-04-18 09:36 UTC] aigors at inbox dot lv
[2011-04-24 23:36 UTC] hebergement at riastudio dot fr
[2011-05-23 03:47 UTC] felipe@php.net
[2011-05-23 03:47 UTC] felipe@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: felipe
[2011-05-23 03:47 UTC] felipe@php.net
[2011-08-29 08:18 UTC] good821 at 126 dot com
[2012-04-18 09:50 UTC] laruence@php.net
[2012-07-24 23:41 UTC] rasmus@php.net
[2013-11-17 09:38 UTC] laruence@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 12:00:01 2025 UTC |
Description: ------------ Segfault is happening sometimes on our test environment, Production environment has segmentation faults more frequent (has more requests apparently). Have set Apache core dump configation and compiled PHP with debug mode on the test. Receiving such error: ---------------------------- Program terminated with signal 11, Segmentation fault. #0 0x00007f3d13e2b9a4 in apply_config (dummy=0x182d078) at /root/php- 5.3.6/sapi/apache2handler/apache_config.c:197 197 if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) { ---------------------------- Apache compiled with such configuration: ./configure --prefix=/usr/local/httpd-2.2.17 --with-mpm=worker --with-ssl -- enable-rewrite --enable-ssl --disable-cgi --enable-expires --enable-headers --en able-so --enable-cache --enable-mem-cache --enable-exception-hook PHP compiled with such parameters: ./configure --prefix=/usr/local/php5.3.6 --sysconfdir=/etc --with- apxs2=/usr/local/httpd-2.2.17/bin/apxs --with-config-file-path=/etc/php/ --with- config-file-scan-dir=/etc/php/ext-active --enable-bcmath --enable-calendar -- with-curl --enable-exif --enable-ftp --with-gettext --enable-mbstring --with- mcrypt --with-mhash --with-openssl --with-openssl-dir --with-pgsql --enable-soap --enable-sockets --with-xmlrpc --with-xsl --enable-zip --with-zlib --with- freetype-dir --with-jpeg-dir --with-png-dir --with-gd --with-pdo-pgsql --with- kerberos --disable-ipv6 --with-libdir=lib64 --enable-debug Actual result: -------------- Full backtrace we're having for the failing thread: -------------------------- #0 0x00007f3d13e2b9a4 in apply_config (dummy=0x182d078) at /root/php- 5.3.6/sapi/apache2handler/apache_config.c:197 d = 0x182d078 str = 0x1750f70 "sendmail_path" str_len = 14 data = 0x0 #1 0x00007f3d13e2ac09 in php_handler (r=0x219bec0) at /root/php- 5.3.6/sapi/apache2handler/sapi_apache2.c:568 ctx = 0x0 conf = 0x182d078 brigade = 0x219c148 bucket = 0x182e8a0 rv = 0 parent_req = 0x0 tsrm_ls = 0x236ccc0 #2 0x0000000000444710 in ap_run_handler (r=0x219bec0) at config.c:158 n = 6 rv = 0 #3 0x0000000000447d6e in ap_invoke_handler (r=0x219bec0) at config.c:376 handler = 0x1821500 "application/javascript" result = 25302272 old_handler = 0x0 ignore = <value optimized out> #4 0x000000000047a058 in ap_process_request (r=0x219bec0) at http_request.c:282 access_status = 0 #5 0x0000000000477010 in ap_process_http_connection (c=0x21980c8) at http_core.c:190 r = 0x219bec0 csd = 0x2197eb0 #6 0x000000000044bcf8 in ap_run_process_connection (c=0x21980c8) at connection.c:43 n = 0 rv = 0 #7 0x0000000000496d37 in process_socket (thd=<value optimized out>, dummy=<value optimized out>) at worker.c:544 current_conn = <value optimized out> conn_id = <value optimized out> csd = 25 sbh = 0x21980c0 #8 worker_thread (thd=<value optimized out>, dummy=<value optimized out>) at worker.c:894 process_slot = 0 thread_slot = 20 csd = 0x2197eb0 bucket_alloc = <value optimized out> last_ptrans = <value optimized out> ptrans = 0x2197e28 rv = <value optimized out> is_idle = <value optimized out> #9 0x00007f3d14d608ba in start_thread () from /lib/libpthread.so.0 No symbol table info available. #10 0x00007f3d148c402d in clone () from /lib/libc.so.6 No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available.