Closed Bug 444490 Opened 18 years ago Closed 14 years ago

Crash [@ nsCSSStyleSheet::GetOwnerNode] with bindings and style tag in binding

Categories

(Core :: XBL, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: crash, regression, testcase)

Crash Data

Attachments

(3 files, 1 obsolete file)

See upcoming testcase, which crashes current trunk builds directly, or after a few reloads. You only get the crash when you have the NoScript extension installed (and you allow scripts on the page): https://addons.mozilla.org/en-US/firefox/addon/722 This regressed when bug 366770 got fixed, and yes, I tried to use fragment identifiers in the urls, but then it doesn't crash at all. http://crash-stats.mozilla.com/report/index/e1b92899-4e10-11dd-842c-001a4bd43e5c 0 xul.dll ns_if_addref<nsPresContext*> obj-firefox/dist/include/xpcom/nsISupportsUtils.h:114 1 xul.dll nsCSSStyleSheet::GetOwnerNode layout/style/nsCSSStyleSheet.cpp:918 2 xul.dll CSSLoaderImpl::InsertSheetInDoc layout/style/nsCSSLoader.cpp:1187 3 xul.dll CSSLoaderImpl::LoadInlineStyle layout/style/nsCSSLoader.cpp:1711 4 xul.dll xul.dll@0x2dfb88
Attached file testcase
Attached file testcase2 (obsolete) —
Ok, the previous testcase isn't eager to crash, probably because of the loading over the network. When making the browser work offline, it does crash easily. But anyway, this is using data urls, if that's more convenient.
Comment on attachment 328800 [details] testcase2 Hrm, never mind, I can't get this one to crash at all.
Attachment #328800 - Attachment is obsolete: true
Looks like a dupe of bug 432813 (since that bug causes us to blow out the stack, the stack traces aren't going to be consistent).
Well, afaik, there is no recursion involved with the testcase, that I attached.
Not sure about recursion, but the stack from that breakpad incident is clearly busted... at least in frame 0 and frame 4.
I can't get this to crash using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2pre) Gecko/2008081815 Minefield/3.0.2pre , for what it's worth. Is this trunk only? (I also tried loading the binding and testcase locally).
I'm afraid I still crash with the testcase, using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/20080819034536 Minefield/3.1a2pre Remember that you must have the NoScript extension installed to see the crash happening. http://crash-stats.mozilla.com/report/index/b4fbf566-6e00-11dd-bded-001a4bd43ef6?p=1 0 xul.dll ns_if_addref<nsIDOMMimeType*> obj-firefox/dist/include/xpcom/nsISupportsUtils.h:114 1 xul.dll nsCSSStyleSheet::GetOwnerNode layout/style/nsCSSStyleSheet.cpp:1735 2 xul.dll CSSLoaderImpl::InsertSheetInDoc layout/style/nsCSSLoader.cpp:1187 3 xul.dll CSSLoaderImpl::LoadInlineStyle layout/style/nsCSSLoader.cpp:1714 4 xul.dll xul.dll@0x2f3a47 5 @0x3a7eacb
OK. So I added bugzilla.mozilla.org to the noscript whitelist, then loaded the page. It's running along, doing a bunch of reloads, and I don't see a crash. What am I doing wrong? What _should_ I do to reproduce?
You need to run the testcase locally or you can check the "Work Offline" option to get the crash with the testcase.
I could not reproduce either testcase.
Crash Signature: [@ nsCSSStyleSheet::GetOwnerNode]
I don't see this so I am resolving Works For Me.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: