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)

1.8 Branch
x86
Windows XP
defect
Not set
critical

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)

Attached file testcase —
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]
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
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
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
but it's still a deleted-frame reference in 1.8.0.12pre
Flags: wanted1.8.0.x? → wanted1.8.0.x+
Ria, would you like to find out when this was fixed on trunk? Thanks.
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?
Nah, don't bother. I just checked in a fix to the assertion to resolve that problem. It needed one more test in the ||. ;)
Crash Signature: [@ nsContainerFrame::CleanupGeneratedContentIn]
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: