ID:               47329
 Updated by:       der...@php.net
 Reported By:      k...@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] k...@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

Reply via email to