ID: 17414 Comment by: aq at takas dot lt Reported By: thom at planetarytramp dot net Status: Open Bug Type: Apache2 related Operating System: Linux PHP Version: 4.3.0 Assigned To: aaron New Comment:
My workaround: comment extension= directives in php.ini I'v got same errors after upgrading php (seg fault after SIGHUP) Redhat 8.0 / httpd-2.0.40-20 / php-4.2.2-16 Previous Comments: ------------------------------------------------------------------------ [2003-03-06 13:50:31] ep at acm dot org Reproducible on Linux 2.4.18 (Debian Woody) with Apache 2.0.44 and the latest CVS snapshot of PHP. ------------------------------------------------------------------------ [2003-01-25 16:28:04] phpbugs-20030125 at devin dot com Reproducible also under Apache 2.0.44 with mpm-prefork; same conditions, same trace. ------------------------------------------------------------------------ [2003-01-20 04:39:55] phpbugs-20030120 at devin dot com FWIW, I can reproduce this every time on MPM-prefork Apache 2.0.43 and PHP 4.3.0. No threads involved. This occurs after an 'apache2ctl graceful' with gdb attached to the parent process (gdb stops on the SIGUSR1, is continued, segv ensues). The server was started with StartServers=1 and MinSpareServers=1, then the restart immediately attempted, though it happens regardless of these. This is linux 2.4.19 (Debian Woody/Sid hybrid), glibc 2.3. Program received signal SIGSEGV, Segmentation fault. 0x40585181 in sapi_initialize_empty_request (tsrm_ls=0x8108740) at /usr/src/apache/php/php-4.3.0/main/SAPI.c:399 399 SG(server_context) = NULL; (gdb) bt #0 0x40585181 in sapi_initialize_empty_request (tsrm_ls=0x8108740) at /usr/src/apache/php/php-4.3.0/main/SAPI.c:399 #1 0x4057f8ec in php_module_startup (sf=0x40605360, additional_modules=0x40605540, num_additional_modules=1) at /usr/src/apache/php/php-4.3.0/main/main.c:1035 #2 0x405c820e in php_apache2_startup (sapi_module=0x40605360) at /usr/src/apache/php/php-4.3.0/sapi/apache2filter/sapi_apache2.c:269 #3 0x405c89cd in php_apache_server_startup (pconf=0x80c3c30, plog=0x80fbd10, ptemp=0x8101d28, s=0x80c6298) at /usr/src/apache/php/php-4.3.0/sapi/apache2filter/sapi_apache2.c:556 #4 0x0807fe59 in ap_run_post_config () #5 0x08085e11 in main () #6 0x402409f1 in __libc_start_main () from /lib/libc.so.6 ------------------------------------------------------------------------ [2003-01-10 15:21:12] ethan-php at etuttle dot com I am also experiencing this bug. It is annoying because it causes apache to silently die every night when the logrotate script runs (installed from the "apache2-common 2.0.43-1" debian package) install details: Apache/2.0.43 (Debian GNU/Linux) PHP/4.3.0RC4 php configure: ./configure --with-mysql=/usr --with-imap --with-imap-ssl --with-apxs2=/usr/bin/apxs2 --with-gettext --with-xml running mpm-prefork error log: [Fri Jan 10 11:59:41 2003] [notice] seg fault or similar nasty error detected in the parent proces "apache2ctl restart" doesn't crash when php module isn't loaded If I can help, let me know! ------------------------------------------------------------------------ [2003-01-03 14:35:35] thom at planetarytramp dot net Still occurs in 4.3.0 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17414 -- Edit this bug report at http://bugs.php.net/?id=17414&edit=1