View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000409 | Xdebug | Uncategorized | public | 2008-09-12 16:01 | 2009-03-28 20:34 |
Reporter | rfc | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Debian | OS Version | Lenny |
Summary | 0000409: Segmentation fault with code coverage | ||||
Description | When doing code coverage via phing/phpunit, xdebug crashes The debian lenny xdebug package crashes as well as the CVS 2.1.0-dev checkout. | ||||
Additional Information | gdb output: Branch analysis from position: 0 Program received signal SIGSEGV, Segmentation fault. | ||||
Tags | No tags attached. | ||||
Operating System | Linux Debian Lenny | ||||
PHP Version | 5.2.6 | ||||
|
Ops, PHP-Information: php -v |
|
I figured out that this crash only happens when I enable both XDEBUG_CC_UNUSED and XDEBUG_CC_DEAD_CODE when calling xdebug_start_code_coverage(). Enabling only one option at a time doesn't provoke the crash. However this is done inside PHPUnit (PHPUnit/Util/Filter.php in getFilteredCodeCoverage() )and isn't something I control (except from modifying the source). edited on: 2008-09-17 13:08 |
|
Hi, I package xdebug for Fedora. Someone sent me this patch: |
|
Nice, the path seems to fix our crashes! I was just about posting more backtrace information when I read the new comment, seems I haven't received any emails. We still need to expand in our complete development/test environment, I'll report back. |
|
I think this should be fixed in CVS now, albeit with a slightly different patch. Please re-open if the issue persists with Xdebug 2.0.5-dev. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-09-12 16:01 | rfc | New Issue | |
2008-09-12 16:01 | rfc | Note Added: 0000876 | |
2008-09-17 12:07 | rfc | Note Added: 0000877 | |
2008-09-17 12:08 | rfc | Note Edited: 0000877 | |
2008-10-09 19:12 | XulChris | Note Added: 0000882 | |
2008-10-16 14:56 | rfc | Note Added: 0000892 | |
2009-03-28 20:34 | derick | Note Added: 0000943 | |
2009-03-28 20:34 | derick | Status | new => closed |
2009-03-28 20:34 | derick | Resolution | open => fixed |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |