View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001122 | Xdebug | Uncategorized | public | 2015-03-03 08:57 | 2015-03-09 09:38 |
Reporter | hugoboos | Assigned To | derick | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | OS X | OS Version | 10.10.2 |
Product Version | 2.3.1 | ||||
Fixed in Version | 2.3.2 | ||||
Summary | 0001122: Segmentation fault with PHPUnit code coverage | ||||
Description | Hi, We getting segmentation fault errors when running PHPUnit with code coverage enabled. | ||||
Steps To Reproduce | The following app is used: https://gist.github.com/hugoboos/d471df324ff678c11f0a The output: $ vendor/bin/phpunit Configuration read from /Users/hugoboos/Projects/Silex Xdebug/phpunit.xml [1] 75447 segmentation fault vendor/bin/phpunit When you don't register the MonologServiceProvider, extend $app['monolog'] or register the error handler, everything is fine. | ||||
Additional Information | Error occurs with version 2.3.0 and 2.3.1. | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.6.5-5.6.9 | ||||
|
When I run the following: mkdir /tmp/7 vim composer.json mkdir src vim tests/Test.php vim src/app.php php ~/composer.phar install The output now is: Call Stack: What am I missing? But before you explain, can you please try the xdebug_2_3 branch from github? I did fix a crash already. |
|
Also, when I run: vendor/bin/phpunit tests I get: E Time: 80 ms, Memory: 5.75Mb There was 1 error: 1) Test::testHealthPage |
|
Sorry, I forgot to add some files. I'll try first the branch on GitHub and come back to you. |
|
It's working with the xdebug_2_3 branch. No segmentation fault anymore. Still want my test code? |
|
Thanks, but no thanks. I'll make a release in the next few days. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-03-03 08:57 | hugoboos | New Issue | |
2015-03-03 09:30 | derick | Note Added: 0003028 | |
2015-03-03 09:30 | derick | Assigned To | => derick |
2015-03-03 09:30 | derick | Status | new => feedback |
2015-03-03 09:31 | derick | Note Added: 0003029 | |
2015-03-03 19:26 | hugoboos | Note Added: 0003031 | |
2015-03-03 19:26 | hugoboos | Status | feedback => assigned |
2015-03-03 19:47 | hugoboos | Note Added: 0003032 | |
2015-03-09 09:38 | derick | Note Added: 0003043 | |
2015-03-09 09:38 | derick | Status | assigned => resolved |
2015-03-09 09:38 | derick | Fixed in Version | => 2.3.2 |
2015-03-09 09:38 | 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 |