[xdebug-dev] Bug 0000344: Code coverage segfaults

From: <noreply[@]lists.xdebug.org>
Date: Thu, 27 Dec 2007 02:36:09 +0100

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000344
======================================================================
Reporter: DH
Handler:
======================================================================
Project: Xdebug
Bug ID: 344
Category: Usage problems
Reproducibility: sometimes
Severity: crash
Priority: normal
Status: new
Operating System:
PHP Version: 5.2.3
Xdebug Version: 2.0.2
======================================================================
Date Submitted: 2007-12-27 02:36 CET
Last Modified: 2007-12-27 02:36 CET
======================================================================
Summary: Code coverage segfaults
Description:
Enabling code coverage with both XDEBUG_CC_DEAD_CODE and XDEBUG_CC_UNUSED
causes a segmentation fault in certain situations.

Unlike Bug 318, I haven't managed to pin this one down--in fact, while I
can replicate it on the command line, when I try to use gdb to perform the
reproduction code the segfault disappears.

Basically, I'm running a PHPUnit test suite and it seems that by
commenting one line I can prevent the segfault, but I can't figure out why
it should matter.

Example:
$this->assertTrue(true);

Maybe it has somethign to do with the implementation of the superclass of
assertTrue, I'm not sure yet.
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2007-12-27 02:36DH New Bug
2007-12-27 02:36DH Bug Monitored: DH
======================================================================
Received on Thu Dec 27 2007 - 02:36:13 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST