Closed
Bug 431770
Opened 17 years ago
Closed 16 years ago
[FIX]###!!! ASSERTION: Should be in an update while creating frames: 'mUpdateCount != 0'
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.1a1
People
(Reporter: cbook, Assigned: bzbarsky)
References
()
Details
(Keywords: assertion)
Attachments
(3 files)
5.66 KB,
text/plain
|
Details | |
12.91 KB,
text/plain
|
Details | |
818 bytes,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008050123 Firefox/3.0pre
-> 3 tabs open, focus is on apple.com
-> Open the Add-on Manager -> Plugins
-> Disable the Shockwave Flash Plugin
--> Assertion
###!!! ASSERTION: Should be in an update while creating frames: 'mUpdateCount != 0', file /debug/mozilla/layout/base/nsCSSFrameConstructor.cpp, line 6777
Assignee | ||
Comment 1•17 years ago
|
||
This worksforme with the steps from comment 0, for what it's worth.
I have no idea how that stack was generated, but it has nothing to do with reality... Those functions simply do not call each other.
Reporter | ||
Comment 2•17 years ago
|
||
> I have no idea how that stack was generated, but it has nothing to do with
> reality... Those functions simply do not call each other.
>
yeah i think i need here fix-macosx-stack.pl too :)
Reporter | ||
Comment 3•17 years ago
|
||
(In reply to comment #1)
> This worksforme with the steps from comment 0, for what it's worth.
Yeah seems a better way to reproduce is to load http://www.spiegel.de
when you disable then the plugin, you get lots of this assertion
URL: www.spiegel.de
Assignee | ||
Comment 4•17 years ago
|
||
That worksforme too. Perhaps this is a regression; my tree is as of Apr 28. I'll try pulling an updated one, I guess..
Assignee | ||
Comment 5•17 years ago
|
||
I assume you either don't have any extensions or hit this in safe mode?
Reporter | ||
Comment 6•17 years ago
|
||
Hi BZ, i attached a new (better) stack from my new Win XP Debug Build.
This Assertion happen also with a new Profile (no Extensions) and latest Flash Plugin. A maybe better way to reproduce (it could be that the spiegel.de site is different when you surf to this site with a nnon-german IP):
Go to www.adobe.com (just the Frontpage with the Flash Content) -> Disable the Flash Plugin in the Extension Manager -> Assertion
Running the Debug Build with export XPCOM_DEBUG_BREAK=stack caused btw a kind of hang because i got into a kind of Assertion loop :)
Assignee | ||
Comment 7•17 years ago
|
||
Yeah, that makes a lot of sense! PresShell::ReconstructFrames should be doing an update batch in the frame constructor, I think.
Assignee | ||
Comment 8•17 years ago
|
||
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #321551 -
Flags: superreview?(dbaron)
Attachment #321551 -
Flags: review?(dbaron)
Assignee | ||
Updated•17 years ago
|
Summary: ###!!! ASSERTION: Should be in an update while creating frames: 'mUpdateCount != 0' → [FIX]###!!! ASSERTION: Should be in an update while creating frames: 'mUpdateCount != 0'
Reporter | ||
Comment 9•17 years ago
|
||
(In reply to comment #8)
> Created an attachment (id=321551) [details]
> Like so
>
this patch fix the problem in my debug build :)
Comment on attachment 321551 [details] [diff] [review]
Like so
r+sr=dbaron, but there goes my promise to make people write exception-safe code since everybody seems to think we should use C++ exceptions...
Attachment #321551 -
Flags: superreview?(dbaron)
Attachment #321551 -
Flags: superreview+
Attachment #321551 -
Flags: review?(dbaron)
Attachment #321551 -
Flags: review+
Assignee | ||
Comment 11•16 years ago
|
||
We could set up a helper class for that, sure.
Assignee | ||
Comment 12•16 years ago
|
||
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a1
You need to log in
before you can comment on or make changes to this bug.
Description
•