Closed
Bug 505059
Opened 16 years ago
Closed 15 years ago
[FIX]Crash [@ CSSLoaderImpl::LoadSheet(SheetLoadData*, StyleSheetState) ]
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | .4-fixed |
People
(Reporter: morac, Assigned: bzbarsky)
References
Details
(Keywords: crash)
Crash Data
Attachments
(2 files)
1.55 KB,
application/x-xpinstall
|
Details | |
1.09 KB,
patch
|
dbaron
:
review+
beltzner
:
approval1.9.2.2-
dveditz
:
approval1.9.2.4+
|
Details | Diff | Splinter Review |
My network connection was down (I disabled the wireless network card on my laptop) and any attempt to install the attached addon resulted in a crash. The add-on did not install. Another add-on installed without issue.
Once I enabled the network, everything was fine.
http://crash-stats.mozilla.com/report/index/7b9dfade-be82-4efa-a264-bdcfc2090718
Comment 1•15 years ago
|
||
dbaron, can you figure this out based on the stack trace?
Whiteboard: [needs stack evaluated for usefulness - style]
![]() |
Assignee | |
Comment 2•15 years ago
|
||
The above could perhaps happen if someone calls into the stylesheet service from far enough into shutdown that the layout module has already shut down... or something.
Comment 3•15 years ago
|
||
This is actually a fairly frequent crash (300 per week), so I'm not going to mark it as INCO just yet.
Whiteboard: [needs stack evaluated for usefulness - style] → [needs breakpad help; see dependency]
Comment 4•15 years ago
|
||
Filed bug 524256 in the hope of getting better stack traces.
Updated•15 years ago
|
Whiteboard: [needs breakpad help; see dependency] → [waiting for new reports to appear on crash-stats]
Updated•15 years ago
|
Whiteboard: [waiting for new reports to appear on crash-stats] → [needs breakpad help; see dependency]
Comment 5•15 years ago
|
||
3.7a1pre stacks are good now. It's definitely happening during shutdown:
http://crash-stats.mozilla.com/report/index/180ab197-098b-48a2-b378-5ab9e2091113
bz, does this help more?
Updated•15 years ago
|
Whiteboard: [needs breakpad help; see dependency]
Sounds like what Boris said in comment 2. A JS stack might be interesting.
![]() |
Assignee | |
Comment 7•15 years ago
|
||
Yeah, just having some idea of what js is running would be good...
I wonder what some of these extensions are.
That said, maybe we should just bulletproof things against this eventuality (e.g. null-check in the stylesheet service) and be done with it?
![]() |
Assignee | |
Comment 8•15 years ago
|
||
Or keep the layout module alive if someone's holding a ref to the stylesheet service... we do that for DOM nodes already, iirc.
Keeping the layout module alive sounds fine.
![]() |
Assignee | |
Comment 10•15 years ago
|
||
Hmm. Then again, after xpcom-shutdown we'll have a null security manager here. I think we should probably just bulletproof the cssloader or stylesheet service and be done with it.
![]() |
Assignee | |
Comment 11•15 years ago
|
||
Nevermind comment 10; I was misreading code.
![]() |
Assignee | |
Comment 12•15 years ago
|
||
Attachment #413026 -
Flags: review?(dbaron)
![]() |
Assignee | |
Updated•15 years ago
|
Assignee: nobody → bzbarsky
Summary: Crash [@ CSSLoaderImpl::LoadSheet(SheetLoadData*, StyleSheetState) ] → [FIX]Crash [@ CSSLoaderImpl::LoadSheet(SheetLoadData*, StyleSheetState) ]
Comment on attachment 413026 [details] [diff] [review]
Fix
r=dbaron
Attachment #413026 -
Flags: review?(dbaron) → review+
![]() |
Assignee | |
Comment 14•15 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/9e225083676f
I'd want to bake this for a bit before landing on 1.9.2, assuming we do that at all.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
![]() |
Assignee | |
Comment 15•15 years ago
|
||
And http://hg.mozilla.org/mozilla-central/rev/b55fcd30070a to fix build bustage.
Comment 16•15 years ago
|
||
Looks as if a few users on Windows and Mac hit this crash in 3.6 B5 -> http://tinyurl.com/yd6e3ra.
![]() |
Assignee | |
Comment 17•15 years ago
|
||
Comment on attachment 413026 [details] [diff] [review]
Fix
I guess we've baked this enough to take on branch at this point, yeah.
Attachment #413026 -
Flags: approval1.9.2.1?
Comment 18•15 years ago
|
||
Comment on attachment 413026 [details] [diff] [review]
Fix
We should take this for 1.9.2.3
Attachment #413026 -
Flags: approval1.9.2.3?
Attachment #413026 -
Flags: approval1.9.2.2?
Attachment #413026 -
Flags: approval1.9.2.2-
![]() |
Assignee | |
Updated•15 years ago
|
Attachment #413026 -
Flags: approval1.9.2.3?
![]() |
Assignee | |
Updated•15 years ago
|
Attachment #413026 -
Flags: approval1.9.2.3?
Comment 19•15 years ago
|
||
Comment on attachment 413026 [details] [diff] [review]
Fix
Approved for 1.9.2.4, a=dveditz for release-drivers
Attachment #413026 -
Flags: approval1.9.2.4? → approval1.9.2.4+
Updated•15 years ago
|
Keywords: testcase-wanted
![]() |
Assignee | |
Comment 20•15 years ago
|
||
status1.9.2:
--- → .4-fixed
Comment 21•15 years ago
|
||
This reads a lot like a top crasher with no way to verify it. We never had a reproduction scenario for this, did we, we just fixed the underlying issue?
Updated•14 years ago
|
Crash Signature: [@ CSSLoaderImpl::LoadSheet(SheetLoadData*, StyleSheetState) ]
Updated•9 years ago
|
Keywords: testcase-wanted
You need to log in
before you can comment on or make changes to this bug.
Description
•