[xdebug-dev] Bug 0000363: Segmentation fault on coverage report

From: <noreply[@]lists.xdebug.org>
Date: Fri, 18 Apr 2008 19:18:00 +0200

A BUGNOTE has been added to this bug.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000363
======================================================================
Reporter: kingoleg
Handler:
======================================================================
Project: Xdebug
Bug ID: 363
Category: Usage problems
Reproducibility: always
Severity: crash
Priority: normal
Status: feedback
Operating System: Ubuntu
PHP Version: 5.2.5
Xdebug Version: 2.0.3-dev
======================================================================
Date Submitted: 2008-04-14 17:08 CEST
Last Modified: 2008-04-18 19:18 CEST
======================================================================
Summary: Segmentation fault on coverage report
Description:
Unit test with coverage report (phing) failed on
include/include_once/require/require_once statement.

Remove xdebug or unused for test class disable crash.
======================================================================

----------------------------------------------------------------------
 derick - 2008-04-14 18:30 CEST
----------------------------------------------------------------------
I get:
PHP Fatal error: Class 'Mail' not found in
/usr/local/lib/php/Mail/smtp.php on line 27
No crashes, but also no coverage report.

----------------------------------------------------------------------
 kingoleg - 2008-04-14 18:54 CEST
----------------------------------------------------------------------
This is expected behavior. What is versions you are running?

----------------------------------------------------------------------
 kingoleg - 2008-04-16 09:57 CEST
----------------------------------------------------------------------
I and two my colleagues have Segmentation fail as well on different
environments. I get it again and again. How I can create log from xdebug
to send you? I realy what to resolve this issue.

I runnin Ubuntu 64 bit, PHP 5.2.3-1ubuntu6.3 (cli) Zend Engine v2.2.0 with
Xdebug v2.0.3 (2.0.2 has save problem), 'pecl list -a' show xdebug version
2.0.2 (why?), PHPUnit 3.2.17, phing 2.3.0

----------------------------------------------------------------------
 derick - 2008-04-18 19:18 CEST
----------------------------------------------------------------------
A backtrace and a trace with valgrind would really help. Instead of running
phing directly, run the following commands:

gdb --args php -d html_errors=off -qC /usr/local/lib/php/phing.php -logger
phing.listener.AnsiColorLogger test

then in the gdb prompt, type "run" and return. When it crashes it stops
and you can enter "bt full". Please copy the whole output and put it
online somewhere with a link in the report here.

Please also run with valgrind:

valgrind php -d html_errors=off -qC /usr/local/lib/php/phing.php -logger
phing.listener.AnsiColorLogger test

and copy the output somewhere as well. Please copy *all* output in both
cases.

Bug History
Date Modified Username Field Change
======================================================================
2008-04-14 17:08kingoleg New Bug
2008-04-14 17:08kingoleg Bug Monitored: kingoleg
2008-04-14 18:30derick Bugnote Added: 0000831
2008-04-14 18:30derick Status new => feedback
2008-04-14 18:54kingoleg Bugnote Added: 0000832
2008-04-16 09:57kingoleg Bugnote Added: 0000833
2008-04-18 19:18derick Bugnote Added: 0000834
======================================================================
Received on Fri Apr 18 2008 - 19:18:01 BST

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