#50723 [Opn->Fbk]: Bug in garbage collector causes crash
ID: 50723
Updated by: johannes@php.net
Reported By: garretts at microsoft dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows
PHP Version: 5.3.2RC1
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
I couldn't reproduce this on different configurations (not on windows
though) and recently there were some fixes for gc. Could you please try
the latest snapshot to make sure you're still seeing this after the
changes went in?
Previous Comments:
------------------------------------------------------------------------
[2010-01-11 23:06:32] garretts at microsoft dot com
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 this bug report at http://bugs.php.net/?id=50723&edit=1
Thread (6 messages)