[xdebug-dev] Bug 0000318: Segmentation Fault in code coverage analysis

From: <noreply[@]lists.xdebug.org>
Date: Sat, 27 Oct 2007 17:48:11 +0200

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000318
======================================================================
Reporter: DH
Handler:
======================================================================
Project: Xdebug
Bug ID: 318
Category: Usage problems
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Operating System: Centos 4.4
PHP Version: 5.2.1
Xdebug Version: 2.1.0-dev
======================================================================
Date Submitted: 2007-10-17 06:20 CEST
Last Modified: 2007-10-27 17:48 CEST
======================================================================
Summary: Segmentation Fault in code coverage analysis
Description:
When collecting code coverage information, certain kinds of compile-time
PHP errors will cause XDebug to silently segfault before reaching the
problem code or running any lines in the PHP file that has the problem.

Identified triggers: Usage of 'continue' and 'break' outside a proper loop
context.
======================================================================

----------------------------------------------------------------------
 DH - 2007-10-17 06:33 CEST
----------------------------------------------------------------------
P.S.: Again, stepping through the code until XDebug crashes suggests that
faulty.php is never actually executed--the problem occurs right after the
include() step.

Good news for people with this problem is that at least the segfault is
proximal to the file with the problem--it's not like it could be more than
one include() or require() away along a long chain.

----------------------------------------------------------------------
 derick - 2007-10-25 23:12 CEST
----------------------------------------------------------------------
I found why... just need to think of a good way of fixing it :)

----------------------------------------------------------------------
 derick - 2007-10-27 17:48 CEST
----------------------------------------------------------------------
Fixed in CVS, thanks for your report!

Bug History
Date Modified Username Field Change
======================================================================
2007-10-17 06:20DH New Bug
2007-10-17 06:20DH Bug Monitored: DH
2007-10-17 06:33DH Bugnote Added: 0000742
2007-10-25 23:12derick Bugnote Added: 0000761
2007-10-27 17:48derick Bugnote Added: 0000764
2007-10-27 17:48derick Status new => closed
======================================================================
Received on Sat Oct 27 2007 - 17:48:16 BST

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