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

From: Date: Mon, 09 Feb 2009 10:47:43 +0000
Subject: #47329 [Asn->Csd]: Crash in garbage collector
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-133626@lists.php.net to get a copy of this message
 ID:               47329
 Updated by:       dmitry@php.net
 Reported By:      kore@php.net
-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] derick@php.net

Assigning this to Dmitry, we've discussed this briefly on IM.

------------------------------------------------------------------------

[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



Thread (3 messages)

« previous php.bugs (#133626) next »