Closed Bug 974412 Opened 6 years ago Closed 6 years ago

Assertion failure: GetContainerWeak() (Invalidation in detached pres context), at layout/base/nsPresContext.cpp:2357

Categories

(Core :: Layout, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: mats, Assigned: mats)

References

Details

(Keywords: assertion)

Attachments

(2 files, 1 obsolete file)

Attached file stack
I got this when running reftests in a local debug Linux64 build:
Assertion failure: GetContainerWeak() (Invalidation in detached pres context), at layout/base/nsPresContext.cpp:2357

(with some local patches for bug 613659 but those shouldn't affect
invalidation I think)
http://hg.mozilla.org/mozilla-central/annotate/bf0e76f2a7d4/layout/base/nsPresShell.cpp#l619

Looks like nsIPresShell::InvalidatePresShellIfHidden() was added in Bug 539356 - Part 26.
http://hg.mozilla.org/mozilla-central/rev/ec48fbf9dd69
but I can't find any description in the bug about what it's for.
https://bugzilla.mozilla.org/show_bug.cgi?id=539356#attach_637472

Matt/roc do you remember what it's for?
Flags: needinfo?(matt.woodrow)
Attached patch wip (obsolete) — Splinter Review
This appears to fix it.
Assignee: nobody → matspal
I'm demoting this assertion to a warning in bug 974905, but I think
this is the right fix for this case.

https://tbpl.mozilla.org/?tree=Try&rev=934345768b02
Attachment #8378407 - Attachment is obsolete: true
Attachment #8379485 - Flags: review?(roc)
I just hit this while browsing; I'm not sure exactly what I was doing, though I think I might have just bumped the hardware back or forward button keys.
https://hg.mozilla.org/mozilla-central/rev/7710a7b9f840
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Flags: needinfo?(matt.woodrow)
You need to log in before you can comment on or make changes to this bug.