View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001239 | Xdebug | Uncategorized | public | 2015-12-20 20:25 | 2016-01-25 21:59 |
Reporter | derick | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.4.0rc3 | ||||
Target Version | 2.4.0 | Fixed in Version | 2.4.0rc4 | ||
Summary | 0001239: Xdebug on PHP 7.1-dev, crashes due to changes with the CATCH opcode's jump mechanism | ||||
Description | Instead of using an absolute jump end point, it now uses a relative one just like FE_FETCH. | ||||
Steps To Reproduce | Test case: | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.1-dev | ||||
|
From 0001246: Having latest php 7 from master with latest xdebug from master without any other extension, running codecoverage fails inside many different env, from travis to Rasmus'es php7dev vagrant box. bt, core dump and all necessary code to reproduce is in my repo in xdebug_codecov_segfault branch, e.g. here is bt: https://github.com/pinepain/php-weak-lib/blob/xdebug_codecov_segfault/bt-php.26162 To reproduce just run git clone git@github.com:pinepain/php-weak-lib.git |
|
From 0001246: zaq178miami - When I run your stuff, I only get: derick@whisky:/tmp/php-weak-lib $ valgrind php vendor/bin/phpunit --coverage-text --configuration phpunit.xml EEEE Exception: Prevent weakref handler to be executed in /tmp/php-weak-lib/tests/SplObjectStorageTest.php on line 105 Call Stack: ==11038== No segfault or anything. |
|
From 0001246: Thanks for looking into my problem! Which php version do you run? I use debug zts from php-src master. $ php -v xdebug is also from xdebug/xdebug master vagrant@php7dev:~/Development/xdebug$ git remote -v
commit 12c158ec62eaa2e0fa1cf2ad81af974fab188818
vagrant@php7dev:~/Development/xdebug$ You may check this build - https://travis-ci.org/pinepain/php-weak-lib/builds/101715556 which fails too, i guess they also run xdebug from master. There are also bt provided. |
|
From 0001246: Just tried on freshest debug zts build from php-src: vagrant@php7dev:~/Development/php-weak-lib$ php vendor/bin/phpunit --coverage-text --configuration phpunit.xml Segmentation fault ==9472== Invalid read of size 1 Exception: Prevent weakref handler to be executed in /home/vagrant/Development/php-weak-lib/tests/SplObjectStorageTest.php on line 105 Call Stack: ==9472== |
|
I have a fix for the crash, but I am not quite there with it making the test pass. |
|
See it in your fork. Thank you for investigating the issue. |
|
Fixed in GitHub's master branch. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-12-20 20:25 | derick | New Issue | |
2016-01-12 09:05 | derick | Note Added: 0003406 | |
2016-01-12 09:05 | derick | Note Added: 0003407 | |
2016-01-12 09:06 | derick | Note Added: 0003408 | |
2016-01-12 09:06 | derick | Note Added: 0003409 | |
2016-01-12 10:08 | derick | Note Added: 0003411 | |
2016-01-12 15:18 | zaq178miami | Note Added: 0003416 | |
2016-01-19 22:25 | derick | Note Added: 0003423 | |
2016-01-19 22:25 | derick | Status | new => closed |
2016-01-19 22:25 | derick | Assigned To | => derick |
2016-01-19 22:25 | derick | Resolution | open => fixed |
2016-01-19 22:25 | derick | Fixed in Version | => 2.4.0 |
2016-01-25 21:59 | derick | Fixed in Version | 2.4.0 => 2.4.0rc4 |
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 |