View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001686 | Xdebug | Uncategorized | public | 2019-07-18 20:33 | 2020-03-12 16:18 |
Reporter | dennis-fedco | Assigned To | derick | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Windows | OS | Microsoft Windows 10 Pro | OS Version | 1809 |
Product Version | 2.7.2 | ||||
Summary | 0001686: PHPUnit Test that uses certain Prophecy methods causes a segfault | ||||
Description | PHPUnit Test that uses certain Prophecy methods and/or parameters causes a segfault | ||||
Steps To Reproduce |
Unit Test causes a segfault ONLY when Xdebug is enabled. Segfault stops when XDebug is disabled declare(strict_types = 1); use PHPUnit\Framework\TestCase; class XXX class MyTest extends TestCase
} SegFaultPHPUnit 8.2.5 by Sebastian Bergmann and contributors. vendor/bin/phpunit: line 10: 19828 Segmentation fault "${dir}/phpunit" "$@" | ||||
Additional Information | PHP 7.3.7 (cli) (built: Jul 3 2019 14:34:13) ( ZTS MSVC15 (Visual C++ 2017) x64 ) Server version: Apache/2.4.38 (Win64) Options: zend_extension = "C:\php\ext\php_xdebug-2.7.2-7.3-vc15-x86_64.dll" Either xdebug.default_enable = 1 OR xdebug.profiler_enable_trigger = 1 | ||||
Tags | PHP7 | ||||
Operating System | windows 10 | ||||
PHP Version | 7.3.5-7.3.9 | ||||
|
update actually only the xdebug.default_enable directive being 1 seems to be causing the segfault xdebug.profiler_enable_trigger =1 was causing the issue for PHP 7.3.2 |
|
Could you make a tarball with everything, including instructions (what you installed, how you ran it), that I need to test this out? The smaller the better. |
|
Alas, I don't know what I did (and I did nothing of significance that I can point at & didn't reboot since segfault) I will keep an eye out if it happens again, but for now you can probably close this issue. |
|
OK. Thanks for letting me know, and I'll close it. Feel free to submit a new issue if you run into this again. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-07-18 20:33 | dennis-fedco | New Issue | |
2019-07-18 20:33 | dennis-fedco | Tag Attached: PHP7 | |
2019-07-18 20:43 | dennis-fedco | Note Added: 0005070 | |
2019-07-19 11:38 | derick | Assigned To | => derick |
2019-07-19 11:38 | derick | Status | new => feedback |
2019-07-19 11:38 | derick | Note Added: 0005072 | |
2019-07-22 18:02 | dennis-fedco | Note Added: 0005086 | |
2019-07-22 18:02 | dennis-fedco | Status | feedback => assigned |
2020-03-12 16:18 | derick | Status | assigned => resolved |
2020-03-12 16:18 | derick | Resolution | open => no change required |
2020-03-12 16:18 | derick | Note Added: 0005289 | |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |