Closed
Bug 454736
Opened 18 years ago
Closed 17 years ago
Crash [@ nsCachedStyleData::GetStylePadding] with XBL, MathML, XUL
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: crash, helpwanted, testcase, Whiteboard: [sg:critical?])
Crash Data
Attachments
(1 file)
|
940 bytes,
application/xhtml+xml
|
Details |
Loading the testcase makes Firefox crash [@ nsCachedStyleData::GetStylePadding] dereferencing 0xddddddfd.
This bug is timing-dependent in an annoying way, so I'm having trouble making a testcase suitable for automated testing.
A related testcase (not attached) triggers this assertion before crashing:
###!!! ASSERTION: Have parent context and shouldn't: 'Error', file /Users/jruderman/central/layout/base/nsFrameManager.cpp, line 835
Flags: blocking1.9.1?
Comment 1•18 years ago
|
||
So... We have a frame pointing to a style context pointing to a destroyed rulenode.
Updated•18 years ago
|
Keywords: helpwanted
Comment 3•18 years ago
|
||
I can't repro on 2.0.0.17 or 3.0.3 either.
| Reporter | ||
Comment 4•18 years ago
|
||
I can still get trunk to crash, but I have to reload now.
Whiteboard: [sg:critical?]
Flags: blocking1.9.1? → wanted1.9.1+
I get (on stdout or stderr):
Security Error: Content at https://bugzilla.mozilla.org/attachment.cgi?id=338044 may not load data from data:text/xml,%3Cbindings%20xmlns%3D%...
Does that security error mean I'm not getting to the stuff that crashes?
Comment 6•18 years ago
|
||
Probably, yes. You should be able to set the "layout.debug.enable_data_xbl" to true to let that security check succeed.
Comment 7•18 years ago
|
||
I meant the "layout.debug.enable_data_xbl" pref.
Yep, crashed on the first try with that pref set to true.
(But not any additional tries, unfortunately.)
The patch in bug 475128 will likely fix this by changing the underlying problem from a crash into a correctness bug. I didn't try to reproduce the bug again without it, though.
| Reporter | ||
Comment 11•17 years ago
|
||
I currently get:
###!!! ABORT: style context has old rule node: 'n == mRuleTree', file /Users/jruderman/central/layout/style/nsStyleSet.cpp, line 173
| Reporter | ||
Comment 12•17 years ago
|
||
I don't get any crashes/assertions on mozilla-central now. I'm assuming that's thanks to the fix for bug 475128.
If there's a correctness bug remaining, can you file a new bug report on it?
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•15 years ago
|
Crash Signature: [@ nsCachedStyleData::GetStylePadding]
Updated•11 years ago
|
Group: core-security → core-security-release
Updated•11 years ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•