ID: 47329 Updated by: [email protected] Reported By: [email protected] -Status: Assigned +Status: Closed Bug Type: Scripting Engine problem Operating System: Linux 2.6.28-gentoo-r1 PHP Version: 5.3.0beta1 Assigned To: dmitry New Comment:
This bug has been fixed in CVS. 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-02-06 12:11:36] [email protected] Assigning this to Dmitry, we've discussed this briefly on IM. ------------------------------------------------------------------------ [2009-02-06 12:10:17] [email protected] Description: ------------ The execution of the test script crashes with: $ php trigger_bug.php /home/kore/local/bin/php/php-5.3-cvs/php-src/Zend/zend_hash.c(668) : ht=0x9842a70 is being destroyed When garbage collector is disabled, the code works as expected (but takes a while): $ php -dzend.enable_gc=0 trigger_bug.php ezcDocumentParserException: Parse error: Fatal error: 'Unexpected node: Title.' in line 2656 at position 1. [...] The error seems to only occur on 32bit systems. Reproduce code: --------------- The issue only occurs with "big" parsed text documents, so that there is no small reproducing case - a full self contained reproducing case can be found here: http://k023.de/gc_bug.tar.bz2 (155KB). Switch into the directory "gc_bug" and run "php trigger_bug.php". ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47329&edit=1
