From: jaco at jump dot co dot za Operating system: Windows 2003 PHP version: 5.2CVS-2008-01-14 (snap) PHP Bug Type: Scripting Engine problem Bug description: zend_mm_shutdown - Apache Crash
Description: ------------ On random apache crashes, the following is in the event log: Faulting application httpd.exe, version 2.2.4.0, faulting module php5ts.dll, version 5.2.5.5, fault address 0x0000adae. The fault address is always: 0x0000adae and 0x0000acb9 The following dump was created by dr watson: *----> State Dump for Thread Id 0xc68 <----* eax=030f011c ebx=016616f8 ecx=000a2168 edx=1a943ff8 esi=fe5415dc edi=00030000 eip=006aadae esp=03c2fad0 ebp=03c2fae0 iopl=0 nv up ei ng nz ac pe cy cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010293 function: php5ts!zend_mm_shutdown 006aad93 8b03 mov eax,[ebx] 006aad95 8b4d0c mov ecx,[ebp+0xc] 006aad98 03c8 add ecx,eax 006aad9a 894d0c mov [ebp+0xc],ecx 006aad9d 8bf9 mov edi,ecx 006aad9f 8b4604 mov eax,[esi+0x4] 006aada2 a801 test al,0x1 006aada4 0f85a7010000 jne php5ts!zend_mm_shutdown+0x11e1 (006aaf51) 006aadaa 24fc and al,0xfc 006aadac 2bf0 sub esi,eax FAULT ->006aadae 8b7e08 mov edi,[esi+0x8] ds:0023:fe5415e4=???????? 006aadb1 8b5e0c mov ebx,[esi+0xc] 006aadb4 3bfe cmp edi,esi 006aadb6 0f85b4000000 jne php5ts!zend_mm_shutdown+0x1100 (006aae70) 006aadbc 3bde cmp ebx,esi 006aadbe 740d jz php5ts!zend_mm_shutdown+0x105d (006aadcd) 006aadc0 68cc629500 push 0x9562cc 006aadc5 e886f5ffff call php5ts!zend_mm_shutdown+0x5e0 (006aa350) 006aadca 83c404 add esp,0x4 006aadcd 8b5618 mov edx,[esi+0x18] 006aadd0 33c9 xor ecx,ecx *----> Stack Back Trace <----* ChildEBP RetAddr Args to Child WARNING: Stack unwind information not available. Following frames may be wrong. 03c2fae0 006abce9 1a9424d0 00030000 00755f17 php5ts!zend_mm_shutdown+0x103e 77bbce33 e877ba20 0000b685 8508758b ac840ff6 php5ts!efree+0x39 e868186a 00000000 00000000 00000000 00000000 0xe877ba20 I have installed the latest snapshot, and this is still happening. Reproduce code: --------------- I am not able to reproduce this code, this only happens on the production server, with more than 4 million records in the database, every page I tested does not cause this to happen, so I am now thinking that this might be caused by specific data coming from mysql -- Edit bug report at http://bugs.php.net/?id=43834&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43834&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43834&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43834&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43834&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43834&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43834&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43834&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43834&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43834&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43834&r=support Expected behavior: http://bugs.php.net/fix.php?id=43834&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43834&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43834&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43834&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43834&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43834&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43834&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43834&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43834&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43834&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43834&r=mysqlcfg