From: scottmacvicar at ntlworld dot com Operating system: RHEL 4 PHP version: 5.2.1 PHP Bug Type: Unknown/Other Function Bug description: Crash under load within memory manager
Description: ------------ Under high load we appear to be experiencing a crash when allocating memory, I've been unable to track this down to a specific script and when we compile in debug mode the crash simply doesn't happen. This has only happened in the 5.2 branch. We're using the worker MPM for Apache 2 and a few patches from 5.2.2 that we've backported to fix some thread safety issues. Backtrace at the moment is as follows: Thread 3 (process 12962): #0 0x008b07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 No symbol table info available. #1 0x008f0c46 in kill () from /lib/tls/libc.so.6 No symbol table info available. #2 0x0807e90d in sig_coredump (sig=12936) at mpm_common.c:1170 No locals. #3 <signal handler called> No symbol table info available. #4 0x0092a652 in malloc_consolidate () from /lib/tls/libc.so.6 No symbol table info available. #5 0x0092b643 in _int_malloc () from /lib/tls/libc.so.6 No symbol table info available. #6 0x0092d401 in malloc () from /lib/tls/libc.so.6 No symbol table info available. #7 0x011169cc in _zend_mm_alloc_int (heap=0xfffffff0, size=8192) at /www/src/php-5.2.1/Zend/zend_alloc.c:1451 segment_size = 10420212 block_size = Variable "block_size" is not available. I can't seem to pull out what scripts are running in what process at the time of execution from the logs, I may have to write a quick apache module to do this. If nothing jumps out at anyone the just assign back to feedback and I'll try to do some more tracing to see if I can find a reproduce case. -- Edit bug report at http://bugs.php.net/?id=40719&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40719&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40719&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40719&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40719&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40719&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40719&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40719&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40719&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40719&r=support Expected behavior: http://bugs.php.net/fix.php?id=40719&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40719&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40719&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40719&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40719&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40719&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40719&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40719&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40719&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40719&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40719&r=mysqlcfg