View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001210 | Xdebug | Uncategorized | public | 2015-11-20 23:51 | 2015-12-07 11:32 |
Reporter | kyrad | Assigned To | derick | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x64 | OS | Ubuntu | OS Version | 14.04 LTS |
Product Version | 2.4.0beta1 | ||||
Fixed in Version | 2.4.0rc2 | ||||
Summary | 0001210: Code Coverage Causes Segmentation Fault | ||||
Description | kyra@home:/tmp/xdebug$ /bin/php -dzend_extension=xdebug.so -ddisplay_errors=on -ddisplay_startup_errors=on -dxdebug.coverage_enable=1 ./vendor/phpunit/phpunit/phpunit --coverage-clover ./.coverage --configuration ./phpunit.xml Runtime: PHP 7.0.0RC7 with Xdebug 2.4.0rc1-dev F 1 / 1 (100%) Time: 90 ms, Memory: 2.00Mb There was 1 failure: 1) Warning FAILURES! Generating code coverage report in Clover XML format ...Segmentation fault | ||||
Steps To Reproduce | Please see attached minimal app archive to reproduce. It doesn't matter if there are tests found or not, it still segfaults. I reduced the app to the bare minimum to reproduce the segfault. Sorry if I have not provided enough info. This is my first time doing any of this =o) | ||||
Additional Information | Backtrace: [Thread debugging using libthread_db enabled] | ||||
Tags | SIGSEGV | ||||
Attached Files | |||||
Operating System | Linux | ||||
PHP Version | 7.0.0rc7 | ||||
|
Have you been able to reproduce this? Do I need to provide more info? |
|
I can reproduce this with Xdebug 2.4.0beta1, but no longer with 2.4.0rc1 that I released a few days ago. Could you please try that? |
|
kyra@home:/tmp/xdebug/$ /bin/php -dzend_extension=xdebug.so -ddisplay_errors=on -ddisplay_startup_errors=on -dxdebug.coverage_enable=1 -c /etc/php/php.ini ./vendor/phpunit/phpunit/phpunit --coverage-clover ./.coverage --configuration ./phpunit.xml Runtime: PHP 7.0.0RC7 with Xdebug 2.4.0rc2-dev F 1 / 1 (100%) Time: 126 ms, Memory: 2.00Mb There was 1 failure: 1) Warning FAILURES! Generating code coverage report in Clover XML format ...Segmentation fault This morning I compiled latest Xdebug master, the segfault is still occurring. |
|
How odd. I can only reproduce this with the 32bit compile of PHP - even though you say you're using the 64bit variant. |
|
I didn't do anything special when compiling it on my x64 system. Do I need to specify the architecture type when compiling or does it just default to the native system (x64)? Output of Xdebug compile options: |
|
I fixed this in Git master. Please reopen if you still can reproduce this with the latest from GitHub. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-11-20 23:51 | kyrad | New Issue | |
2015-11-20 23:51 | kyrad | File Added: segfault_app.tar.gz | |
2015-11-20 23:57 | kyrad | Tag Attached: SIGSEGV | |
2015-11-24 09:21 | kyrad | Note Added: 0003259 | |
2015-11-24 13:01 | derick | Note Added: 0003261 | |
2015-11-24 13:01 | derick | Assigned To | => derick |
2015-11-24 13:01 | derick | Status | new => feedback |
2015-11-24 13:33 | kyrad | Note Added: 0003262 | |
2015-11-24 13:33 | kyrad | Status | feedback => assigned |
2015-11-24 14:25 | derick | Note Added: 0003263 | |
2015-11-24 15:47 | kyrad | Note Added: 0003264 | |
2015-11-24 15:50 | kyrad | Note Edited: 0003264 | |
2015-11-29 18:49 | derick | Note Added: 0003270 | |
2015-11-29 18:49 | derick | Status | assigned => closed |
2015-11-29 18:49 | derick | Resolution | open => fixed |
2015-11-29 18:49 | derick | Fixed in Version | => 2.4.0 |
2015-12-07 11:32 | derick | Fixed in Version | 2.4.0 => 2.4.0rc2 |
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 |