From: jan at horde dot org Operating system: Linux PHP version: 5CVS-2003-12-19 (dev) PHP Bug Type: Zend Engine 2 problem Bug description: crash in zend_mm_alloc
Description: ------------ When I try to call a really complex script, PHP crashes with this backtrace: #0 0x40237422 in grow_heap () from /lib/libc.so.6 #1 0x40238a52 in sYSMALLOc () from /lib/libc.so.6 #2 0x4023918c in malloc () from /lib/libc.so.6 #3 0x406f40f8 in zend_mm_add_memory_block (heap=0x409010f8, block_size=1515870884) at /home/jan/cvs/php5/Zend/zend_mm.c:223 #4 0x406f43a1 in zend_mm_alloc (heap=0x409010f8, size=1515870856) at /home/jan/cvs/php5/Zend/zend_mm.c:321 #5 0x406f43c8 in zend_mm_alloc (heap=0x409010f8, size=1515870856) at /home/jan/cvs/php5/Zend/zend_mm.c:325 #6 0x406f43c8 in zend_mm_alloc (heap=0x409010f8, size=1515870856) at /home/jan/cvs/php5/Zend/zend_mm.c:325 #7 0x406f43c8 in zend_mm_alloc (heap=0x409010f8, size=1515870856) at /home/jan/cvs/php5/Zend/zend_mm.c:325 #8 0x406f43c8 in zend_mm_alloc (heap=0x409010f8, size=1515870856) at /home/jan/cvs/php5/Zend/zend_mm.c:325 #9 0x406f43c8 in zend_mm_alloc (heap=0x409010f8, size=1515870856) at /home/jan/cvs/php5/Zend/zend_mm.c:325 #10 0x406f43c8 in zend_mm_alloc (heap=0x409010f8, size=1515870856) at /home/jan/cvs/php5/Zend/zend_mm.c:325 This continues endlessly, I stopped around frame #1000, so I don't know where it actually was called from. No, I don't have a simple script to reproduce this, but perhaps someone already has an idea from looking at this bt. -- Edit bug report at http://bugs.php.net/?id=26666&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26666&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26666&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26666&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26666&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26666&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26666&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26666&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26666&r=support Expected behavior: http://bugs.php.net/fix.php?id=26666&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26666&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26666&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26666&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26666&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26666&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26666&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26666&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26666&r=float