PHP 4.0 Bug #7976 Updated: apache crash on startup

From: Date: Sun, 31 Dec 2000 00:45:09 +0000
Subject: PHP 4.0 Bug #7976 Updated: apache crash on startup
Groups: php.dev 
Request: Send a blank email to php-dev+get-42751@lists.php.net to get a copy of this message
ID: 7976 Updated by: sniper Reported By: vk@mac.dhs.org Old-Status: Feedback Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: No feedback. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-27 03:45:01] sniper@php.net This should be already fixed in CVS. Please try a snapshot from http://snaps.php.net/ --Jani --------------------------------------------------------------------------- [2000-11-26 01:00:27] vk@mac.dhs.org hello, my apache 1.3.14 crashes right after fork, when the php4.0.3pl1 module is configured. It boots nice with the same config file when LoadModule and all php_value and php_flag are commented OR when only one or two virtual hosts are set up at the same time. It also boots fine with my old apache 1.3.6. i've compiled both apache and php with -g flag, this is gdb output: case a: 'normal' config, php4.0.3pl1, about 15 vhosts --->8----->8----->8----->8----->8----->8----->8----->8-- Core was generated by `/usr/local/dbg_apache_1.3.14/bin/httpd'. Program terminated with signal 11, Segmentation fault. #0 0x4036e144 in ?? () (gdb) file /usr/local/dbg_apache_1.3.14/bin/httpd Reading symbols from /usr/local/dbg_apache_1.3.14/bin/httpd...done. (gdb) bt #0 0x4036e144 in ?? () #1 0x8082bed in make_sock (p=0x80db25c, server=0x812d580) at http_main.c:3299 #2 0x808309d in setup_listeners (p=0x80db25c) at http_main.c:3541 #3 0x8084126 in standalone_main (argc=1, argv=0xbffffd44) at http_main.c:4641 #4 0x8084983 in main (argc=1, argv=0xbffffd44) at http_main.c:5004 #5 0x400b6cb3 in ?? () from /lib/libc.so.6 --->8----->8----->8----->8----->8----->8----->8----->8-- case b: all php_value and php_flag are removed, but the LoadModule line is active: --->8----->8----->8----->8----->8----->8----->8----->8-- Core was generated by `/usr/local/dbg_apache_1.3.14/bin/httpd'. Program terminated with signal 11, Segmentation fault. #0 0x4036b7f4 in ?? () (gdb) file /usr/local/dbg_apache_1.3.14/bin/httpd Reading symbols from /usr/local/dbg_apache_1.3.14/bin/httpd...done. (gdb) bt #0 0x4036b7f4 in ?? () #1 0x4038421f in ?? () from /lib/libnss_nis.so.2 #2 0x4015e026 in ?? () from /lib/libc.so.6 #3 0x4015de41 in ?? () from /lib/libc.so.6 #4 0x808d093 in ap_fini_vhost_config (p=0x80db25c, main_s=0x80db284) at http_vhost.c:646 #5 0x807a8a2 in ap_read_config (p=0x80db25c, ptemp=0x80e612c, confname=0x80d3c40 "conf/httpd.conf") at http_config.c:1588 #6 0x8084111 in standalone_main (argc=1, argv=0xbffffd44) at http_main.c:4640 #7 0x8084983 in main (argc=1, argv=0xbffffd44) at http_main.c:5004 #8 0x400b6cb3 in ?? () from /lib/libc.so.6 --->8----->8----->8----->8----->8----->8----->8----->8-- it looks like the crash happens in apache, not php code but it seems to be related to the php module being configured in. hope this helps, -- vedad --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7976

« previous php.dev (#42751) next »