Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
toolbar.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Mar 2014 at 23:04 UTC
Updated:
29 Jul 2014 at 23:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sunFor starters.
@timplunkett might have found the solution
Comment #3
sunComment #5
sunComment #6
longwaveComment #8
longwaveComment #9
sunJust measuring some memory.
Comment #11
sund'oh, it would help if I'd save my changes before creating patches ;)
Comment #13
sundrupal_static()to check for object referencesA quick test run on my local box shows that
drupal_static()apparently contains a full (form) render array tree, which is known to contain plenty of service instances and perhaps even the entire container.Comment #15
gábor hojtsySeen this happening at https://drupal.org/comment/8572311#comment-8572311 and https://drupal.org/comment/8572819#comment-8572819
Comment #16
alexpottI've bisected and ran tests on the bots to discover that this problem was introduced by #2134857: PHPUnit test the entity base classes see the work on #2095771: alexpott's test issue
Considering #2134857: PHPUnit test the entity base classes was only introducing testability I suggest we revert it on this issue and set than one to needs work.
The patches attached to this comment are all the same - they revert that issue and patch run-tests to only run the test we're interested in. I'll post a revert only patch next.
Comment #17
alexpottHo hum - I forgot to commit the patch to run tests to only run the test we're interested in... so those will run the full test suite... might as well them queued
Comment #18
alexpottLet's not clog the bots...
Comment #28
berdirBefore rolling back, we could try to unset the services in __sleep() just like the urlGenerator?Forget that. it extends from DependencySerialization, so that's supposed to handle that.
Comment #29
alexpott@Berdir sure
Comment #32
alexpottSo that's good it appears DependencySerialization is not flawed phew. Patch attached just reverts #2134857: PHPUnit test the entity base classes
Comment #33
sunComment #34
webchickOH THANK GOODNESS.
Committed and pushed to 8.x. AWESOME sleuthing work here, folks!