Bug #63349 [NEW]: Segfault during GC
From: phpwnd at gmail dot com
Operating system: Gentoo Linux
PHP version: 5.4.8
Package: Reproducible crash
Bug Type: Bug
Bug description:Segfault during GC
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 bug report at https://bugs.php.net/bug.php?id=63349&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63349&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63349&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63349&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63349&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63349&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63349&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63349&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63349&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63349&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63349&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63349&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63349&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63349&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63349&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63349&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63349&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63349&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63349&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63349&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63349&r=mysqlcfg
Thread (4 messages)
- phpwnd at gmail dot com