Closed
Bug 372813
Opened 19 years ago
Closed 19 years ago
Crash [@ nsContainerFrame::CleanupGeneratedContentIn] with ::first-letter, position: fixed and quotes
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Unassigned)
References
Details
(Keywords: crash, regression, testcase, Whiteboard: [sg:critical?] wfm on trunk, still on 1.8)
Crash Data
Attachments
(1 file)
|
203 bytes,
text/html
|
Details |
See testcase, which crashes Mozilla on load.
It also crashes 1.8 builds, but not Mozilla1.7.13. If wanted, I can look for a regression range.
I think this bug might in fact be similar to/the same as bug 360599.
Talkback ID: TB29972264Q
0x00000921
nsContainerFrame::CleanupGeneratedContentIn [mozilla/layout/generic/nscontainerframe.cpp, line 248]
nsContainerFrame::CleanupGeneratedContentIn [mozilla/layout/generic/nscontainerframe.cpp, line 258]
nsContainerFrame::CleanupGeneratedContentIn [mozilla/layout/generic/nscontainerframe.cpp, line 258]
nsInlineFrame::Destroy [mozilla/layout/generic/nsinlineframe.cpp, line 106]
nsLineBox::DeleteLineList [mozilla/layout/generic/nslinebox.cpp, line 363]
nsBlockFrame::DoRemoveFrame [mozilla/layout/generic/nsblockframe.cpp, line 5076]
nsBlockFrame::RemoveFrame [mozilla/layout/generic/nsblockframe.cpp, line 4863]
nsFrameManager::RemoveFrame [mozilla/layout/base/nsframemanager.cpp, line 711]
nsCSSFrameConstructor::ContentRemoved [mozilla/layout/base/nscssframeconstructor.cpp, line 9554]
nsCSSFrameConstructor::ReinsertContent [mozilla/layout/base/nscssframeconstructor.cpp, line 9222]
nsCSSFrameConstructor::ContentAppended [mozilla/layout/base/nscssframeconstructor.cpp, line 8546]
| Reporter | ||
Comment 1•19 years ago
|
||
This is now worksforme, using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070413 Minefield/3.0a4pre
Group: security
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Comment 2•19 years ago
|
||
On a 1.8 branch debug build I get an assertion and crash on a deleted child frame
###!!! ASSERTION: frame was not removed from primary frame map before destruction or was readded to map after being removed: 'Not Reached', file c:/dev/ff2/mozilla/layout/base/nsFrameManager.cpp, line 734
Reopening bug for the branch and re-hiding. A trunk fix-range would be helpful.
Group: security
Status: RESOLVED → REOPENED
Flags: wanted1.8.1.x+
Flags: wanted1.8.0.x?
Resolution: WORKSFORME → ---
Whiteboard: [sg:critical?] wfm on trunk, still on 1.8
Version: Trunk → 1.8 Branch
Comment 3•19 years ago
|
||
On a more recent 1.8.1.4 debug build this looks like it has turned into a null-deref.
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Flags: wanted1.8.1.x+ → wanted1.8.1.x?
Resolution: --- → WORKSFORME
Comment 4•19 years ago
|
||
but it's still a deleted-frame reference in 1.8.0.12pre
Flags: wanted1.8.0.x? → wanted1.8.0.x+
| Reporter | ||
Comment 5•19 years ago
|
||
Ria, would you like to find out when this was fixed on trunk? Thanks.
Comment 6•19 years ago
|
||
Fixed on 9 March 2007, presumably by Bug 267833.
http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1173481500&maxdate=1173486299
| Reporter | ||
Comment 7•19 years ago
|
||
Hmm, strange, the testcase doesn't use any xbl at all.
When I load the testcase in a debug build, I see this assertion:
###!!! ASSERTION: NS_BLOCK_HAS_FIRST_LETTER_STYLE state out of sync: 'GetPrevCon
tinuation() || (nsRefPtr<nsStyleContext>(GetFirstLetterStyle(presContext)) != ns
null) == ((mState & NS_BLOCK_HAS_FIRST_LETTER_STYLE) != 0)', file c:/mozilla/moz
illa/layout/generic/nsBlockFrame.cpp, line 5949
I guess I should file a new bug about that, right?
Comment 8•19 years ago
|
||
Nah, don't bother. I just checked in a fix to the assertion to resolve that problem. It needed one more test in the ||. ;)
| Assignee | ||
Updated•15 years ago
|
Crash Signature: [@ nsContainerFrame::CleanupGeneratedContentIn]
| Reporter | ||
Updated•14 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•