Closed Bug 274335 Opened 20 years ago Closed 12 years ago

###!!! ASSERTION: bad state: 'aState.mContentArea.width >= aState.mAvailSpaceRect.XMost()', file /home/chb/mozilla/layout/generic/nsBlockFrame.cpp, line 4347

Categories

(Core :: Layout: Block and Inline, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Biesinger, Unassigned)

References

()

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

when loading mozilla.org and styling it to display in columns, I get a lot of
assertions.

steps to reproduce:
1. load http://www.mozilla.org
2. in that window, load javascript:void(document.body.style.MozColumnWidth='50px')

actual results:
lots of assertions:
Document http://www.mozilla.org/ loaded successfully
###!!! ASSERTION: RemovedAsPrimaryFrame called after PreDestroy: 'PR_FALSE',
file /home/chb/mozilla/layout/forms/nsTextControlFrame.cpp, line 1436
Break: at file /home/chb/mozilla/layout/forms/nsTextControlFrame.cpp, line 1436
WARNING: Couldn't add reflow command, so splitting.
###!!! ASSERTION: bad state: 'aState.mContentArea.width >=
aState.mAvailSpaceRect.XMost()', file
/home/chb/mozilla/layout/generic/nsBlockFrame.cpp, line 4317
Break: at file /home/chb/mozilla/layout/generic/nsBlockFrame.cpp, line 4317

this second assertion ("bad state") is repeated a lot.

this is a gtk1 seamonkey build, linux.
(cvs from today)
http://film.tdconline.dk/

this URL also produces this assertion

on own build on gcc windows trunk cvs

###!!! ASSERTION: bad state: 'aState.mContentArea.width >=
aState.mAvailSpaceRect.XMost()', file
e:/mozilla/mozilla/layout/generic/nsBlockFrame.cpp, line 4347
OS: Linux → All
Summary: ###!!! ASSERTION: bad state: 'aState.mContentArea.width >= aState.mAvailSpaceRect.XMost()', file /home/chb/mozilla/layout/generic/nsBlockFrame.cpp, line 4317 → ###!!! ASSERTION: bad state: 'aState.mContentArea.width >= aState.mAvailSpaceRect.XMost()', file /home/chb/mozilla/layout/generic/nsBlockFrame.cpp, line 4347
Attached file testcase
This testcase triggers the assert for me in a recent trunk debug build.
Keywords: testcase
Bug 300030 (or one of its dependent bugs?) removed the assertion.

(See http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/layout/generic&command=DIFF&root=/cvsroot&file=nsBlockFrame.cpp&rev1=3.795&rev2=3.796#102 )
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: