From:             dziastinux at gmail dot com
Operating system: Windows 7, CentOS 5.4
PHP version:      5.3.1
PHP Bug Type:     Reproducible crash
Bug description:  garbage collector crash

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 bug report at http://bugs.php.net/?id=51069&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51069&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51069&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=51069&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51069&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51069&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51069&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51069&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51069&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51069&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51069&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51069&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51069&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51069&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51069&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51069&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51069&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51069&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51069&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51069&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51069&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51069&r=mysqlcfg

Reply via email to