From: taskazan at metu dot edu dot tr Operating system: debian-linux PHP version: 4.3.10 PHP Bug Type: Apache2 related Bug description: child pid $PID exit signal Segmentation fault (11) Apache 2.0.53
Description: ------------ We have used php4-apache2 series in our web servers without any problems until last week. This week when we upgrade apache2.0.50 to 2.0.53, httpd processes suddenly get killed by a segfault as seen below in the error_log: Mon Feb 14 17:14:26 2005] [notice] child pid 16788 exit signal Segmentation fault (11) [Mon Feb 14 17:14:26 2005] [notice] child pid 16787 exit signal Segmentation fault (11) [Mon Feb 14 17:14:27 2005] [notice] child pid 16789 exit signal Segmentation fault (11) [Mon Feb 14 17:14:28 2005] [notice] child pid 16802 exit signal Segmentation fault (11) [Mon Feb 14 17:14:28 2005] [notice] child pid 16801 exit signal Segmentation fault (11) [Mon Feb 14 17:14:28 2005] [notice] child pid 16800 exit signal Segmentation fault (11) [Mon Feb 14 17:14:28 2005] [notice] child pid 16791 exit signal Segmentation fault (11) ... There is no core file, so we try to debug httpd process with gdb. Here is the outputs: # gdb /usr/local/httpd-2.0.53/bin/httpd GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"... (gdb) run -X Starting program: /usr/local/httpd-2.0.53/bin/httpd -X Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 27979)] apr_proc_mutex_child_init (mutex=0x4, fname=0x821dd98 "\xef\xbf\xbd031\b", pool=0x821dd 98) at proc_mutex.c:818 818 proc_mutex.c: No such file or directory. in proc_mutex.c (gdb) bt #0 apr_proc_mutex_child_init (mutex=0x4, fname=0x821dd98 "\xef\xbf\xbd031\b", pool=0x821dd98) at proc_mutex.c:818 #1 0x4014abd2 in apr_global_mutex_child_init mutex=0x821dd98, fname=0x821dd98 "\xef\xbf\xbd031\b", pool=0x821dd98) at global_mutex.c:88 #2 0x0807f986 in util_ldap_child_init (p=0x821dd98, s=0x81d86d0) at util_ldap.c:1615 #3 0x080bb90d in ap_run_child_init (pchild=0x821dd98, s=0x81d86d0) at config.c:150 #4 0x080b901f in child_main (child_num_arg=136437144) at worker.c:1104 #5 0x080b93a6 in make_child (s=0x821dd98, slot=0) at worker.c:1248 #6 0x080b9439 in startup_children (number_to_start=0) at worker.c:1302 #7 0x080b9e7a in ap_mpm_run (_pconf=0x819b4f8, plog=0x81d35d8, s=0x0) at worker.c:1617 #8 0x080c113f in main (argc=2, argv=0xbffffc74) at main.c:618 (gdb) Can anybody know what to do? Yours, feyza -- Edit bug report at http://bugs.php.net/?id=31982&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31982&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31982&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31982&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31982&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31982&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31982&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31982&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31982&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31982&r=support Expected behavior: http://bugs.php.net/fix.php?id=31982&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31982&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31982&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31982&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31982&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31982&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31982&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31982&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31982&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31982&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31982&r=mysqlcfg