Closed Bug 353610 Opened 18 years ago Closed 18 years ago

Crash [@ nsCSSFrameConstructor::AttributeChanged] [@ nsNativeThemeMac::ThemeSupportsWidget]

Categories

(Core :: Layout, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: crash, testcase, Whiteboard: [sg:critical])

Crash Data

Attachments

(1 file)

788 bytes, application/vnd.mozilla.xul+xml
Details
Loading the testcase crashes Firefox.  

A nightly dereferences null in [@ nsNativeThemeMac::ThemeSupportsWidget] called by nsCSSFrameConstructor::AttributeChanged, while a debug build dereferences 0xddddddfd in nsCachedStyleData::GetStyleData called indirectly by [@ nsCSSFrameConstructor::AttributeChanged].

In a debug build, I see some assertions before the crash:

###!!! ASSERTION: We don't support out-of-flow kids: '!aListName', file /Users/admin/trunk/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 1190
###!!! ASSERTION: not in child list: 'nsFrameList(aChildFrame->GetParent()->GetFirstChild(listName)) .ContainsFrame(aChildFrame)', file /Users/admin/trunk/mozilla/layout/base/nsCSSFrameConstructor.cpp, line 1930
###!!! ASSERTION: We don't support out-of-flow kids: '!aListName', file /Users/admin/trunk/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 1136
Assignee: general → nobody
Component: JavaScript Engine → Layout
QA Contact: general → layout
Attached file testcase
Whiteboard: [sg:critical]
Flags: blocking1.9?
On the Firefox 2 branch, this testcase causes assertions but not a crash.
Jesse, do you still see this?  I get neither asserts nor a crash with two different trunk builds (which both have some changes, but one has a clean layout/).  

Note that there were some fixes at the end of September (bug 330909 comes to mind) that might have fixed this testcase.
Works for me (non-Cocoa opt and non-Cocoa debug) and for enn (Cocoa debug).
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Crash Signature: [@ nsCSSFrameConstructor::AttributeChanged] [@ nsNativeThemeMac::ThemeSupportsWidget]
Group: core-security → core-security-release
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: