#47329 [Opn->Asn]: Crash in garbage collector

From: Date: Fri, 06 Feb 2009 12:11:36 +0000
Subject: #47329 [Opn->Asn]: Crash in garbage collector
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-133575@lists.php.net to get a copy of this message
ID: 47329 Updated by: derick@php.net Reported By: kore@php.net -Status: Open +Status: Assigned Bug Type: Scripting Engine problem Operating System: Linux 2.6.28-gentoo-r1 PHP Version: 5.3.0beta1 -Assigned To: +Assigned To: dmitry New Comment: Assigning this to Dmitry, we've discussed this briefly on IM. Previous Comments: ------------------------------------------------------------------------ [2009-02-06 12:10:17] kore@php.net 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

« previous php.bugs (#133575) next »