Closed Bug 398326 Opened 18 years ago Closed 18 years ago

[FIX]"ASSERTION: Should be in an update while creating frames" with xul listbox

Categories

(Core :: XUL, defect, P1)

x86
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: jruderman, Assigned: bzbarsky)

References

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached file testcase
Loading the testcase (in Mac trunk debug) triggers: ###!!! ASSERTION: Should be in an update while creating frames: 'mUpdateCount != 0', file /Users/jruderman/trunk/mozilla/layout/base/nsCSSFrameConstructor.cpp, line 6682 This assertion was added in bug 398108.
Flags: blocking1.9?
See, that's the think. I tried testing listboxes before landing bug 398108 because I expected them to assert... but they didn't. Neither does that testcase, in my build. What's the stack you see to the assert?
Stack trace for the first instance of the assertion.
Attached patch FixSplinter Review
I still don't know why I couldn't reproduce....
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #283293 - Flags: superreview?(dbaron)
Attachment #283293 - Flags: review?(dbaron)
Priority: -- → P1
Summary: "ASSERTION: Should be in an update while creating frames" with xul listbox → [FIX]"ASSERTION: Should be in an update while creating frames" with xul listbox
Target Milestone: --- → mozilla1.9 M9
Comment on attachment 283293 [details] [diff] [review] Fix r+sr=dbaron, although we should probably invest in guard objects for this at some point...
Attachment #283293 - Flags: superreview?(dbaron)
Attachment #283293 - Flags: superreview+
Attachment #283293 - Flags: review?(dbaron)
Attachment #283293 - Flags: review+
Attachment #283293 - Flags: approval1.9?
Comment on attachment 283293 [details] [diff] [review] Fix a1.9=dbaron
Attachment #283293 - Flags: approval1.9? → approval1.9+
Checked in. Could use a test in layout/crashtests or whatever bug 397725 decides on.
Flags: in-testsuite?
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Crashtest checked in.
Flags: in-testsuite? → in-testsuite+
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: