Bug #69521 [Opn->Csd]: Segfault in gc_collect_cycles().
Edit report at https://bugs.php.net/bug.php?id=69521&edit=1
ID: 69521
Updated by: laruence@php.net
Reported by: arjen at react dot com
Summary: Segfault in gc_collect_cycles().
-Status: Open
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: Linux
PHP Version: master-Git-2015-04-24 (Git)
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=72b0627315e6606310c1042a51dad6e835620bab
Log: Fixed bug #69521 (Segfault in gc_collect_cycles()).
Previous Comments:
------------------------------------------------------------------------
[2015-06-24 08:19:37] arjen at react dot com
PR with fix and phpt testcase waiting at https://github.com/php/php-src/pull/1266
Could someone pull this for 7.0alpha2?
------------------------------------------------------------------------
[2015-05-08 07:55:18] arjen at react dot com
PR @ https://github.com/php/php-src/pull/1266
------------------------------------------------------------------------
[2015-04-29 13:05:19] arjen at react dot com
Testcase and output @ https://gist.github.com/arjenschol/a640117e58935572cf87
------------------------------------------------------------------------
[2015-04-24 13:35:29] rasmus@php.net
But which test is triggering it?
------------------------------------------------------------------------
[2015-04-24 12:14:12] arjen at react dot com
Let me quote myself: "Do you have a testcase available or can I help by finding one?"
I recompiled with -DZEND_GC_DEBUG=2 and got the following:
[0xfdbe400] rc=1 addr=0 black array(1) ->purple
[...]
[0xfdbe400] rc=1 addr=2947 purple array(-1019662895) ->grey
After the last line, the segfault occurs. These are the only occurences of 0xfdbe400
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=69521
--
Edit this bug report at https://bugs.php.net/bug.php?id=69521&edit=1
Thread (8 messages)