Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 3.2.9 |
I had some code which was attempting to call a method on NULL inside a sub-request. The way the error was handled resulted in profiler data referencing its own token in the parent
property
Excerpt from beginning of profiler data file
a:9:{s:5:"token";s:6:"e4d0be";s:6:"parent";s:6:"e4d0be";s:8:"children...
This resulted in \Symfony\Component\HttpKernel\Profiler\FileProfilerStorage::createProfileFromData() being sent into an infinite loop, as the $this->read()
call on line 267 opens the same file, returning it back to createProfileFromData to be processed.
I believe this is similar to the issue reported in #3620