ID: 50519 Updated by: dmi...@php.net Reported By: robin dot kunde at gmail dot com -Status: Assigned +Status: Closed Bug Type: Reproducible crash Operating System: * PHP Version: 5.3, 6 Assigned To: dmitry New Comment:
This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2009-12-25 13:11:19] s...@php.net Automatic comment from SVN on behalf of dmitry Revision: http://svn.php.net/viewvc/?view=revision&revision=292624 Log: Fixed bug #50519 (segfault in garbage collection when using set_error_handler and DomDocument) ------------------------------------------------------------------------ [2009-12-18 18:47:43] j...@php.net Quite likely same as bug #50382 ------------------------------------------------------------------------ [2009-12-18 18:46:05] j...@php.net Dmitry, check this out, it's your code crashing here. :) ------------------------------------------------------------------------ [2009-12-18 18:41:46] j...@php.net Happens with latest SVN, disabling GC makes the crash go away. Backtrace: Program received signal SIGSEGV, Segmentation fault. zval_mark_grey (pz=0xa6cb578) at /home/jani/src/php-5.3/Zend/zend_gc.c:360 360 pz = *(zval**)p->pData; (gdb) bt #0 zval_mark_grey (pz=0xa6cb578) at /home/jani/src/php-5.3/Zend/zend_gc.c:360 #1 0x082c5525 in gc_collect_cycles () at /home/jani/src/php-5.3/Zend/zend_gc.c:417 #2 0x082aa9d5 in zend_deactivate () at /home/jani/src/php-5.3/Zend/zend.c:900 #3 0x0825abcf in php_request_shutdown (dummy=0x0) at /home/jani/src/php-5.3/main/main.c:1606 #4 0x08329604 in main (argc=3, argv=0xbff82544) at /home/jani/src/php-5.3/sapi/cli/php_cli.c:1373 ------------------------------------------------------------------------ [2009-12-18 17:32:38] robin dot kunde at gmail dot com that snapshot (200912181530) seems to be identical to the one i used (200912181330). anyway, the problem persists. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/50519 -- Edit this bug report at http://bugs.php.net/?id=50519&edit=1