From: garretts at microsoft dot com Operating system: Windows PHP version: 5.3.2RC1 PHP Bug Type: Reproducible crash Bug description: Bug in garbage collector causes crash
Description: ------------ I've got a script which I've pared down from a much larger one, that causes a crash when php exits. This happens in 5.3.3 as well. The repro script is 340 lines. Removing any code (even a print statement) makes the problem go away. Reproduce code: --------------- Repro script: http://fearthecowboy.com/downloads/test-crash.php.txt Expected result: ---------------- It shouldn't crash. Actual result: -------------- trace: Function Arg 1 Arg 2 Arg 3 Source php5!gc_collect_cycles+505 008aff78 01d2f6c4 52f33031 php5!gc_collect_cycles+3ba 00000000 01d2f6e4 52fd49dc php5!gc_collect_cycles+54 00000078 0000000d 01d2f720 php5!zend_deactivate+b2 00000001 00000088 0083be10 php5!php_request_shutdown+259 00000000 02eb0100 00980150 php!main+1526 00000002 00984a10 009828d8 php!_setjmp3+160 7efde000 01d2fce4 771f9d72 kernel32!BaseThreadInitThunk+e 7efde000 d0f01e21 00000000 ntdll!__RtlUserThreadStart+70 00c934ea 7efde000 ffffffff ntdll!_RtlUserThreadStart+1b 00c934ea 7efde000 00000000 -- Edit bug report at http://bugs.php.net/?id=50723&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50723&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50723&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50723&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50723&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50723&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50723&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50723&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50723&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50723&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50723&r=support Expected behavior: http://bugs.php.net/fix.php?id=50723&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50723&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50723&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50723&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50723&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50723&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50723&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50723&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50723&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50723&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50723&r=mysqlcfg