Edit report at https://bugs.php.net/bug.php?id=63349&edit=1
ID: 63349 User updated by: phpwnd at gmail dot com Reported by: phpwnd at gmail dot com Summary: Segfault during GC -Status: Feedback +Status: Closed Type: Bug Package: Reproducible crash Operating System: Gentoo Linux PHP Version: 5.4.8 Block user comment: N Private report: N New Comment: Turning off zend.enable_gc does prevent the crash. I read #63055 before submitting this but I thought the fix went into 5.4.8 and I was hitting a different bug or a case not covered by the fix. Had I realized the fix was for the next version, I would have waited a little more. I don't have an easy way to install a snapshot to reproduce this crash (which itself requires very specific conditions in my case) and I can't reproduce it without XDebug either. So here's what I'm going to do: I'm going to close this bug for now and I'll reopen it with more info if I can reproduce the crash later. Previous Comments: ------------------------------------------------------------------------ [2012-10-25 05:24:59] larue...@php.net 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? ------------------------------------------------------------------------ [2012-10-24 23:00:25] s...@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