View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001535 | Xdebug | Uncategorized | public | 2018-03-14 20:48 | 2019-06-28 11:18 |
Reporter | amenk | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.04.3 |
Product Version | 2.6.0 | ||||
Target Version | 2.6.1 | ||||
Summary | 0001535: Laravel causes PHP warning (exception not caught) xdebug enabled, otherwise all is fine | ||||
Description | With xdebug enabled I can reproduce an error: PHP Warning: Uncaught League\Flysystem\Plugin\PluginNotFoundException: Plugin not found for method: read in /tmp/laravel/vendor/league/flysystem/src/Plugin/PluggableTrait.php:49 without xdebug on, everything runs fine. | ||||
Steps To Reproduce | composer create-project laravel/laravel (I will try to make a smaller example) | ||||
Additional Information | Not reproducible with 7.1.8-2+ubuntu16.04.1+deb.sury.org+4 | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.1.15-7.1.19 | ||||
|
bye the way ... the stack trace from the warning is enormous (not ending) |
|
With php7.2 it works fine, maybe we just ignore the bug and switch to 7.2.3 :-) |
|
without my setting
it works fine. so I will be more careful with that in the future. I think it is fine, that xdebug runs out of memory. A nicer error message would be cool,recommending to lower such settings. The real bug is, that the exception is not caught properly while it is, when xdebug is on. |
|
The real bug is is that Xdebug is reading variables that are already freed while constructing the exception stack traces. These variables are only read with xdebug.collect_params > 0. Reading already freed memory means all kinds of weird things can happen, and your errors are one of the symptoms, but I expect there to be many more. |
|
If that's so, I suppose again that the PR for 0001665 ( https://github.com/xdebug/xdebug/pull/473 ) should fix this too? |
|
Closing this as duplicate of 0001665 |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-03-14 20:48 | amenk | New Issue | |
2018-03-14 20:49 | amenk | Note Added: 0004613 | |
2018-03-14 20:50 | amenk | Note Added: 0004614 | |
2018-03-14 20:59 | amenk | Note Added: 0004615 | |
2018-03-15 11:07 | derick | Note Added: 0004616 | |
2018-03-15 11:07 | derick | Assigned To | => derick |
2018-03-15 11:07 | derick | Status | new => confirmed |
2018-03-15 11:07 | derick | Product Version | => 2.6.0 |
2018-03-15 11:07 | derick | Target Version | => 2.6.1 |
2019-05-15 16:33 | Xenos | Note Added: 0005024 | |
2019-06-28 11:18 | derick | Status | confirmed => resolved |
2019-06-28 11:18 | derick | Resolution | open => duplicate |
2019-06-28 11:18 | derick | Note Added: 0005041 | |
2019-06-28 11:18 | derick | Relationship added | duplicate of 0001665 |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |