View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001150 | Xdebug | Uncategorized | public | 2015-05-12 21:19 | 2017-03-19 22:17 |
| Reporter | flip101 | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | won't fix | ||
| OS | Windows | OS Version | 7 64bits | ||
| Summary | 0001150: Traces show wrong filenames | ||||
| Description | This issue here https://github.com/jeromemacias/Silex-Debug/issues/5 shows trace: ( ! ) Fatal error: Uncaught exception 'RuntimeException' with message 'Cannot override frozen service "data_collector.templates".' in vendor\pimple\pimple\src\Pimple\Container.php on line 76 Time Memory Function Location1 0.0000 233856 {main}( ) ..\index.php:0 But there is really nothing interesting on container.php line 36 https://github.com/silexphp/Pimple/blob/52f5d0969c998aa5ca7156e6ffb45eb610e235dc/src/Pimple/Container.php#L36 This should be DebugServiceProvider.php line 36 https://github.com/jeromemacias/Silex-Debug/blob/ef05e5dbfeb3a3d8a3bb5c6e5756768f92688075/DebugServiceProvider.php#L36 This is the trace with xdebug disabled:
You can see PHP has it right and connects line 36 to the right file | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.6.0-5.6.4 | ||||
|
|
Can you make a (short) reproducible case for me? |
|
|
I will try ... but it will take some time. Thank you for looking into this. I'm not sure if i can edit the issue and add the test case in the reproduce field.. |
|
|
That's ok - just add it as a comment, or attach files. Or, if that doesn't work - let me know and we'll work something out. |
|
|
Did you have time to make a shorter case? |
|
|
My main desktop was broken (BSOD) and didn't get around to fix it quickly. Test case attached as zip. |
|
|
I can reproduce that with your test case, but only for PHP 5.5 and 5.6, and no longer with 7.0 or 7.1. (Sorry for the wait). |
|
|
This is indeed a bug in Xdebug with PHP 5, but it works fine with PHP 7.0 and 7.1. As this is not a critical bug, I won't be fixing it. This is also a duplicate of 0000893. |