#51069 [Opn->Fbk]: garbage collector crash
| From: | pajoye@php.net | Date: | Wed, 17 Feb 2010 15:18:54 +0000 |
| Subject: | #51069 [Opn->Fbk]: garbage collector crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147779@lists.php.net to get a copy of this message | ||
ID: 51069
Updated by: pajoye@php.net
Reported By: dziastinux at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows 7, CentOS 5.4
PHP Version: 5.3.1
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2010-02-17 15:17:40] dziastinux at gmail dot com
Description:
------------
PHP crashes in the middle of the script with no error in any logs (php,
apache(thread-safe), cherokee(fcgi)).
The sad thing is that I can't provide a sample code to reproduce the
problem. The crash occurs on script with huge arrays filled with
objects. A lot of references exists between objects and arrays. (Memory
usage ~200mb).
Actual result:
--------------
php5ts!zval_mark_grey+4 0330d0f0 01af39f8 035c9eb8
...
Several thousand sequential calls to php5ts!zval_mark_grey+ff
...
php5ts!zval_mark_grey+ff 039a3148 01af39f8 01af39f8
php5ts!gc_mark_roots+95 01af39f8 01af39f8 01af39f8
php5ts!gc_collect_cycles+64 01af39f8 01af39f8 04757b00
php5ts!gc_zobj_possible_root+a6 04757b00 01af39f8 03223718
php5ts!gc_zval_possible_root+74 04757b00 01af39f8 00000000
php5ts!ZEND_ASSIGN_SPEC_CV_VAR_HANDLER+69 0146fbc0 01af39f8
0146fe3c
php5ts!execute+2fe 030f2568 01af3900 00000000
php5ts!zend_execute_scripts+f6 00000008 01af39f8 00000000
php5ts!php_execute_script+233 0146fe3c 01af39f8 00000005
php5apache2_2!php_handler+5d0 01a5bcc0 00926648 01a5bcc0
libhttpd!ap_run_handler+21 01a5bcc0 01a5bcc0 01a5bcc0
libhttpd!ap_invoke_handler+ae 00000000 01b3f098 0146ff00
libhttpd!ap_die+29e 01a5bcc0 00000000 01188f28
libhttpd!ap_get_request_note+1c9c 01b3f098 01b3f098
01b3f098
libhttpd!ap_run_process_connection+21 01b3f098 00874f58
0146ff48
libhttpd!ap_process_connection+33 01b3f098 01a57cc0
00000000
libhttpd!ap_regkey_value_remove+c7c 01b3f090 9bbc9b34
00000000
msvcrt!_endthreadex+44 0146ff94 776b1194 012c2148
msvcrt!_endthreadex+ce 012c2148 0146ffd4 77ceb3f5
kernel32!BaseThreadInitThunk+e 012c2148 761dac2c 00000000
ntdll!__RtlUserThreadStart+70 76ed12e5 012c2148 00000000
ntdll!_RtlUserThreadStart+1b 76ed12e5 012c2148 00000000
PHP5TS!ZVAL_MARK_GREY+4In
httpd__PID__4532__Date__02_17_2010__Time_04_17_56PM__779__Second_Chance_Exception_C00000FD.dmp
the assembly instruction at php5ts!zval_mark_grey+4 in
D:\wamp\bin\apache\apache2.2.11\bin\php5ts.dll from The PHP Group has
caused a stack overflow exception (0xC00000FD) when trying to write to
memory location 0x01432ffc on thread 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=51069&edit=1