Bug #63349 [Fbk]: Segfault during GC
Edit report at https://bugs.php.net/bug.php?id=63349&edit=1
ID: 63349
Updated by: laruence@php.net
Reported by: phpwnd at gmail dot com
Summary: Segfault during GC
Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: Gentoo Linux
PHP Version: 5.4.8
Block user comment: N
Private report: N
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.4-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
This seems very similar to #63055, which was fixed a short time ago, could you
please test with the sanpshot of 5.4?
Previous Comments:
------------------------------------------------------------------------
[2012-10-24 23:00:25] sixd@php.net
Thanks for the report. Can you continue working on it and:
- Upload a script that reproduces the problem when XDebug is not installed
- Upload build & configuration information
- Try with zend.enable_gc = Off
------------------------------------------------------------------------
[2012-10-24 20:48:11] phpwnd at gmail dot com
Description:
------------
PHP 5.4.8 + XDebug 2.2.1, no other extensions
I've been experiencing a few segfaults lately. They've been a bit hard to reproduce
because so far I've only hit them when using PHP_CodeCoverage and only on specific revisions of
my code (adding or removing a single statement such as "$a=1;" would keep it from
happening.)
I have gotten around rebuilding PHP with all the debug bells and whistles and the resulting
backtrace (hopefully attached to this bug) indicates it's related to GC and/or PCRE. Adding a
call to gc_collect_cycles() fixed it for me, at least for now.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63349&edit=1
Thread (4 messages)