View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001331 | Xdebug | Uncategorized | public | 2016-07-23 11:54 | 2016-11-12 16:53 |
Reporter | majkel | Assigned To | derick | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.04 |
Product Version | 2.4.1 | ||||
Fixed in Version | 2.5.0RC1 | ||||
Summary | 0001331: Segfault in code coverage | ||||
Description | |||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.0.0-7.0.4 | ||||
|
Reproduce case: git clone git@github.com:majkel89/dbase.git |
|
ashgenesis, I can reproduce this problem. But there are many many tests, that are just in the way. Can you help trying to figure out which one causes it? It would be great, if you could do this on the shell first before you try: export USE_ZEND_ALLOC=0 |
|
derick I have found that this is the test which fail File tests/unit/FormatTest.php |
|
Yeah, that seems to be the one. I think I know why it happens too. It has to do with the mock and its use of __call. |
|
Think I have this cracked, can you check the following branch to confirm? https://github.com/derickr/xdebug/tree/issue1331-code-coverage-segfault |
|
derick I tried you branch and it seem fixing the segfault ./vendor/bin/phpunit tags/v1.0.0~10 Runtime: PHP 7.0.10-1+deb.sury.org~trusty+1 with Xdebug 2.4.1-dev ............................................................... 63 / 318 ( 19%) Time: 8.61 seconds, Memory: 14.00MB OK (318 tests, 611 assertions) Generating code coverage report in HTML format ... done No more segfault with your branch. Thanks |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-07-23 11:54 | majkel | New Issue | |
2016-07-31 12:35 | derick | Category | Debug client (console) => debugclient (debugging tool) |
2016-07-31 12:35 | derick | Category | debugclient (debugging tool) => (No Category) |
2016-08-10 15:20 | derick | Note Added: 0003673 | |
2016-08-10 15:20 | derick | Category | (No Category) => Usage problems (Wrong Results) |
2016-08-10 15:20 | derick | Product Version | 2.4.0 => 2.4.1 |
2016-09-08 18:30 | derick | Note Added: 0003701 | |
2016-09-09 09:24 | ashgenesis | Note Added: 0003702 | |
2016-09-09 10:09 | derick | Note Added: 0003703 | |
2016-09-11 10:56 | derick | Note Added: 0003705 | |
2016-09-11 10:56 | derick | Assigned To | => derick |
2016-09-11 10:56 | derick | Status | new => feedback |
2016-09-19 13:06 | ashgenesis | Note Added: 0003708 | |
2016-10-04 19:21 | derick | Relationship added | has duplicate 0001350 |
2016-10-07 19:04 | derick | Status | feedback => closed |
2016-10-07 19:04 | derick | Resolution | open => fixed |
2016-10-07 19:04 | derick | Fixed in Version | => 2.4.2 |
2016-11-12 16:53 | derick | Fixed in Version | 2.4.2 => 2.5.0RC1 |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |