Closed Bug 806798 Opened 12 years ago Closed 12 years ago

firefox crashes if css selector does not find anything in print stylesheet

Categories

(Core :: Layout: Tables, defect)

16 Branch
x86_64
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 696640

People

(Reporter: sanne, Unassigned)

Details

(Keywords: crash)

Crash Data

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121024073032

Steps to reproduce:

In a print stylesheet I had the following css selectors:

.Notes, 
table.amount, 
table.value,
.tabContainer{
	page-break-after:always;
}


Actual results:

Firefox crashes as soon as I wanted to print the page or view a print preview.

After debugging I figured out that if removed the table.amount selector everything worked fine. Right then I noticed That in the page table.amount would not select any elements.


Expected results:

In my experience this selector should just be ignored and the page should be printed.
Can you provide the crash ID from about:crashes?
Does it happen with Nightly (http://nightly.mozilla.org/)?
Severity: normal → critical
Keywords: crash
Sanne, please provide the HTML file and style sheet so we can try to reproduce
the crash.  Thanks!
Component: Layout: View Rendering → Layout: Tables
Flags: needinfo?(sanne)
Hm,
I can't really provide the HTML and CSS, since their part of a propriety software.
That's why I tried to explain the situation a clearly as possible.

Also in Reply to Scoobidiver, here's the crash ID: https://crash-stats.mozilla.com/report/index/bp-ab75aa97-0253-4b99-9a3a-e4b9a2121030

Toodles,

Sanne
Flags: needinfo?(sanne)
It's likely a dupe of bug 696640.
Crash Signature: [@ nsFrameList::RemoveFrame(nsIFrame*)]
Hi,

It looks like it. 

Especially this assertion seems to hint to it:

###!!! ASSERTION: Broken frame linkage: 'prevSibling && prevSibling->GetNextSibl
ing() == aFrame', file d:/moz_src/src/layout/generic/nsFrameList.cpp, line 128
###!!! ASSERTION: Creating a circular frame list, this is very bad.: 'this != aN
extSibling', file d:\moz_src\src\layout\generic\nsIFrame.h, line 1085


copied from: https://bugzilla.mozilla.org/show_bug.cgi?id=696640#c5
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.