Closed
Bug 666997
Opened 14 years ago
Closed 14 years ago
Firefox Crash @ mozilla::net::nsPreloadedStream::AsyncWait(nsIInputStreamCallback*
Categories
(Core :: Networking: WebSockets, defect)
Tracking
()
VERIFIED
FIXED
mozilla7
People
(Reporter: marcia, Assigned: mcmanus)
Details
(Keywords: crash, Whiteboard: [qa-])
Crash Data
Attachments
(1 file)
|
1.02 KB,
patch
|
jduell.mcbugs
:
review+
Biesinger
:
review+
asa
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Seen while reviewing crash stats. Small volume Windows only crash which is only seen on the trunk: https://crash-stats.mozilla.com/report/list?signature=mozilla::net::nsPreloadedStream::AsyncWait%28nsIInputStreamCallback*,%20unsigned%20int,%20unsigned%20int,%20nsIEventTarget*%29.
Crashes started showing up using the 2011062200 build.
Possible pushlog regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a285146675dc&tochange=b7a93f1279b7. There was a merge during this time.
https://crash-stats.mozilla.com/report/index/cb1151a3-6494-4778-bc06-f22482110624
Frame Module Signature [Expand] Source
0 xul.dll mozilla::net::nsPreloadedStream::AsyncWait netwerk/base/src/nsPreloadedStream.cpp:176
1 xul.dll mozilla::net::nsWebSocketHandler::CleanupConnection netwerk/protocol/websocket/nsWebSocketHandler.cpp:1323
2 xul.dll mozilla::net::nsWebSocketHandler::StopSession netwerk/protocol/websocket/nsWebSocketHandler.cpp:1413
3 xul.dll mozilla::net::nsWebSocketHandler::PrimeNewOutgoingMessage netwerk/protocol/websocket/nsWebSocketHandler.cpp:1173
| Assignee | ||
Comment 1•14 years ago
|
||
I have a fix for this in a differnet bug, which I didn't think could happen on the trunk.
This stack means do_CreateInstance("@mozilla.org/timer;1", &rv) failed. Maybe at shutdown time?
| Assignee | ||
Comment 2•14 years ago
|
||
canceling asyncwait on a nsPreloadedStream with data still buffered could deref nsnull
Comment 3•14 years ago
|
||
Yeah, timer creation failure is typically a shutdown thing.
Comment 4•14 years ago
|
||
Comment on attachment 541754 [details] [diff] [review]
preloaded asyncwait null v1
Is this bug on aurora too? If so seems worth fixing there--simple one-line fix.
Attachment #541754 -
Flags: review?(cbiesinger) → review+
| Reporter | ||
Comment 5•14 years ago
|
||
According to crash stats, that signature is not showing up in Aurora crash stats, only trunk. But even on trunk there is very few crashes.
(In reply to comment #4)
> Comment on attachment 541754 [details] [diff] [review] [review]
> preloaded asyncwait null v1
>
> Is this bug on aurora too? If so seems worth fixing there--simple one-line
> fix.
Comment 6•14 years ago
|
||
Comment on attachment 541754 [details] [diff] [review]
preloaded asyncwait null v1
Why not put this check before the if (!mLen)?
Attachment #541754 -
Flags: review+
Comment 7•14 years ago
|
||
Comment on attachment 541754 [details] [diff] [review]
preloaded asyncwait null v1
er, nevermind, this code is correct as it is.
| Assignee | ||
Comment 8•14 years ago
|
||
the bug is on aurora - probably not seeing it there because nobody is running a website (yet) with the prefixed js api.
will nom for aurora after it lands on m-c.
Comment 9•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla7
| Assignee | ||
Updated•14 years ago
|
Attachment #541754 -
Flags: approval-mozilla-aurora?
Updated•14 years ago
|
Attachment #541754 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 10•14 years ago
|
||
Comment 11•14 years ago
|
||
Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0
Is this issue fixed? Or are there any steps to follow in order to verify it in QA?
| Assignee | ||
Comment 12•14 years ago
|
||
(In reply to Virgil Dicu from comment #11)
> Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0
>
> Is this issue fixed?
Status == FIXED.
> Or are there any steps to follow in order to verify it
> in QA?
No known STR, fixed by inspection from the crash report.
Comment 13•14 years ago
|
||
qa- as no QA verification needed (check crashstats if you want to mark verified)
Whiteboard: [qa-]
| Reporter | ||
Comment 14•14 years ago
|
||
No crashes are showing up in crash stats over a 4 week period, so marking this verified fixed based on that fact.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•