Bug #63349 [Fbk]: Segfault during GC

From: Date: Thu, 25 Oct 2012 05:24:59 +0000
Subject: Bug #63349 [Fbk]: Segfault during GC
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-174281@lists.php.net to get a copy of this message
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)

« previous php.bugs (#174281) next »