MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001150XdebugUsage problems (Wrong Results)public2015-05-12 22:192017-03-19 22:17
Reporterflip101 
Assigned Toderick 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionwon't fix 
PlatformOSWindowsOS Version7 64bits
Product Version 
Target VersionFixed in Version 
Summary0001150: Traces show wrong filenames
DescriptionThis 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
( ! ) RuntimeException: Cannot override frozen service "data_collector.templates". in vendor\pimple\pimple\src\Pimple\Container.php on line 76
Call Stack
# Time Memory Function Location
1 0.0000 233856 {main}( ) ..\index.php:0
2 0.0400 766208 Silex\Application->register( ) ..\index.php:72
3 0.0400 766288 Pimple\Container->register( ) ..\Application.php:130
4 0.0400 766360 Silex\Provider\DebugServiceProvider->register( ) ..\Container.php:273
5 0.0410 775408 Pimple\Container->offsetSet( ) ..\Container.php:36

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:



Fatal error: Uncaught exception 'RuntimeException' with message 'Cannot override frozen service "data_collector.templates".' in vendor\pimple\pimple\src\Pimple\Container.php:76
Stack trace:
#0 vendor\jeromemacias\silex-debug\DebugServiceProvider.php(36): Pimple\Container->offsetSet('data_collector....', Array)
#1 vendor\pimple\pimple\src\Pimple\Container.php(273): Silex\Provider\DebugServiceProvider->register(Object(Silex\Application))
0000002 vendor\silex\silex\src\Silex\Application.php(130): Pimple\Container->register(Object(Silex\Provider\DebugServiceProvider), Array)
0000003 web\index.php(72): Silex\Application->register(Object(Silex\Provider\DebugServiceProvider), Array)
0000004 {main}
  thrown in vendor\pimple\pimple\src\Pimple\Container.php on line 76


You can see PHP has it right and connects line 36 to the right file
TagsNo tags attached.
Operating System
PHP Version5.6.0-5.6.4
Attached Fileszip file icon xdebug-1150.zip [^] (1,027 bytes) 2015-06-06 20:49

- Relationships
duplicate of 0000893resolvedderick Callstack invalid when __autoload initiated from class method 

-  Notes
(0003080)
derick (administrator)
2015-05-12 22:53

Can you make a (short) reproducible case for me?
(0003081)
flip101 (reporter)
2015-05-12 23:17

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..
(0003082)
derick (administrator)
2015-05-12 23:48

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.
(0003099)
derick (administrator)
2015-05-30 21:03

Did you have time to make a shorter case?
(0003110)
flip101 (reporter)
2015-06-06 20:50

My main desktop was broken (BSOD) and didn't get around to fix it quickly. Test case attached as zip.
(0003878)
derick (administrator)
2016-12-03 13:17

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).
(0004238)
derick (administrator)
2017-03-19 22:17

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.

- Issue History
Date Modified Username Field Change
2015-05-12 22:19 flip101 New Issue
2015-05-12 22:53 derick Note Added: 0003080
2015-05-12 22:53 derick Assigned To => derick
2015-05-12 22:53 derick Status new => feedback
2015-05-12 23:17 flip101 Note Added: 0003081
2015-05-12 23:17 flip101 Status feedback => assigned
2015-05-12 23:48 derick Note Added: 0003082
2015-05-30 21:03 derick Note Added: 0003099
2015-05-30 21:03 derick Status assigned => feedback
2015-06-06 20:49 flip101 File Added: xdebug-1150.zip
2015-06-06 20:50 flip101 Note Added: 0003110
2015-06-06 20:50 flip101 Status feedback => assigned
2016-07-31 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2016-12-03 13:17 derick Note Added: 0003878
2016-12-03 13:17 derick Status assigned => confirmed
2017-03-19 22:17 derick Note Added: 0004238
2017-03-19 22:17 derick Relationship added duplicate of 0000893
2017-03-19 22:17 derick Status confirmed => resolved
2017-03-19 22:17 derick Resolution open => won't fix


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker