From: renato at galle dot com dot br Operating system: FreeBSD-5.2.1-RELEASE-p4 PHP version: 4.3.5 PHP Bug Type: Apache2 related Bug description: Apache-2.0.49 crashes on graceful/restart
Description: ------------ When compile php-4.3.5 with PCRE support with apache-2.0.49 and try to graceful or restart apache a signal 11 (core dumped) error occours. I move ext/pcre directory from php-4.3.4 to php-4.3.5 src directory and recompile, and all works fine. This problem occours on FreeBSD: http://www.freebsd.org/cgi/query-pr.cgi?pr=64904 on Linux: http://bugs.php.net/bug.php?id=27735 and on Solaris 9: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28086 To reproduce do this: - Install apache-2.0.49 - Compile php-4.3.5 with PCRE support using apxs - run apachectl start - run apachectl restart or apachectl graceful and apache will die Actual result: -------------- [EMAIL PROTECTED]:/usr/local# gdb /usr/local/sbin/httpd ./httpd.core GNU gdb 5.2.1 (FreeBSD) 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-unknown-freebsd"...(no debugging symbols found)... Core was generated by `httpd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libz.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.2 Reading symbols from /usr/lib/libssl.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.3 Reading symbols from /lib/libcrypto.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.3 Reading symbols from /usr/local/lib/apache2/libaprutil-0.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/apache2/libaprutil-0.so.9 Reading symbols from /usr/local/lib/libexpat.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libexpat.so.5 Reading symbols from /usr/local/lib/apache2/libapr-0.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/apache2/libapr-0.so.9 Reading symbols from /lib/libm.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.2 Reading symbols from /lib/libcrypt.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.2 Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /usr/local/libexec/apache2/mod_access.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_access.so Reading symbols from /usr/local/libexec/apache2/mod_auth.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_auth.so Reading symbols from /usr/local/libexec/apache2/mod_auth_anon.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_auth_anon.so Reading symbols from /usr/local/libexec/apache2/mod_auth_dbm.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_auth_dbm.so Reading symbols from /usr/local/libexec/apache2/mod_include.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_include.so Reading symbols from /usr/local/libexec/apache2/mod_deflate.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_deflate.so Reading symbols from /usr/local/libexec/apache2/mod_log_config.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_log_config.so Reading symbols from /usr/local/libexec/apache2/mod_env.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_env.so Reading symbols from /usr/local/libexec/apache2/mod_mime_magic.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_mime_magic.so Reading symbols from /usr/local/libexec/apache2/mod_cern_meta.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_cern_meta.so Reading symbols from /usr/local/libexec/apache2/mod_expires.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_expires.so Reading symbols from /usr/local/libexec/apache2/mod_headers.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_headers.so Reading symbols from /usr/local/libexec/apache2/mod_usertrack.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/libexec/apache2/mod_usertrack.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2848bd90 in ?? () (gdb) bt #0 0x2848bd90 in ?? () #1 0x0806e4af in regex_cleanup () #2 0x28259bcd in run_cleanups () from /usr/local/lib/apache2/libapr-0.so.9 #3 0x282592fc in apr_pool_clear () from /usr/local/lib/apache2/libapr-0.so.9 #4 0x0806c73d in main () #5 0x0805d092 in _start () (gdb) -- Edit bug report at http://bugs.php.net/?id=27810&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27810&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27810&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27810&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27810&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27810&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27810&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27810&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27810&r=support Expected behavior: http://bugs.php.net/fix.php?id=27810&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27810&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27810&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27810&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27810&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27810&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27810&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27810&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27810&r=float