Closed
Bug 1234170
Opened 9 years ago
Closed 9 years ago
crash in nsIWebSocketChannel::Serial
Categories
(Core :: Networking: WebSockets, defect)
Tracking
()
RESOLVED
FIXED
mozilla46
People
(Reporter: philipp, Assigned: baku)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
1.08 KB,
patch
|
jduell.mcbugs
:
review+
ritu
:
approval-mozilla-aurora+
ritu
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
[Tracking Requested - why for this release]:
This bug was filed from the Socorro interface and is
report bp-961fe8ba-b63e-4212-b6af-e0e292151219.
=============================================================
Crashing Thread (0)
Frame Module Signature Source
0 xul.dll nsIWebSocketChannel::Serial() obj-firefox/dist/include/nsIWebSocketChannel.h
1 xul.dll mozilla::dom::WebSocket::CreateAndDispatchCloseEvent(bool, unsigned short, nsAString_internal const&) dom/base/WebSocket.cpp
2 xul.dll mozilla::dom::WebSocketImpl::DispatchConnectionCloseEvents() dom/base/WebSocket.cpp
3 xul.dll mozilla::dom::CallDispatchConnectionCloseEvents::Run() dom/base/WebSocket.cpp
4 xul.dll nsThread::ProcessNextEvent(bool, bool*) xpcom/threads/nsThread.cpp
5 xul.dll mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) ipc/glue/MessagePump.cpp
6 xul.dll MessageLoop::RunHandler() ipc/chromium/src/base/message_loop.cc
7 xul.dll nsThreadManager::UnregisterCurrentThread(nsThread*) xpcom/threads/nsThreadManager.cpp
8 xul.dll nsBaseAppShell::Run() widget/nsBaseAppShell.cpp
9 xul.dll nsAppStartup::Run() toolkit/components/startup/nsAppStartup.cpp
10 xul.dll XREMain::XRE_mainRun() toolkit/xre/nsAppRunner.cpp
11 xul.dll XREMain::XRE_main(int, char** const, nsXREAppData const*) toolkit/xre/nsAppRunner.cpp
12 xul.dll XRE_main toolkit/xre/nsAppRunner.cpp
requesting tracking since it is a regression in firefox 44 and taking the place as #12 most frequent crash in 44.0b1 data with ~1.2%.
Assignee | ||
Comment 2•9 years ago
|
||
This happens because of: https://mxr.mozilla.org/mozilla-central/source/dom/base/WebSocket.cpp#514
Attachment #8701152 -
Flags: review?(bugs)
Comment 3•9 years ago
|
||
Comment on attachment 8701152 [details] [diff] [review]
ws.patch
Review of attachment 8701152 [details] [diff] [review]:
-----------------------------------------------------------------
I'm not a DOM peer, but I did write the websocket early-failure code, and this looks right to me. So hopefully it's OK for me to +r this.
Attachment #8701152 -
Flags: review?(bugs) → review+
Comment 4•9 years ago
|
||
it is fine :)
Comment 5•9 years ago
|
||
Remember to ask approvals to all the relevant branches.
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8701152 [details] [diff] [review]
ws.patch
Approval Request Comment
[Feature/regressing bug #]: bug 1215092
[User impact if declined]: a crash
[Describe test coverage new/current, TreeHerder]: no test for it.
[Risks and why]: There are no risks here: I just add a null check before using mChannel.
[String/UUID change made/needed]: none
Attachment #8701152 -
Flags: approval-mozilla-beta?
Attachment #8701152 -
Flags: approval-mozilla-aurora?
Comment 8•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Comment on attachment 8701152 [details] [diff] [review]
ws.patch
One-liner not null crash fix, Beta44+, Aurora45+
Attachment #8701152 -
Flags: approval-mozilla-beta?
Attachment #8701152 -
Flags: approval-mozilla-beta+
Attachment #8701152 -
Flags: approval-mozilla-aurora?
Attachment #8701152 -
Flags: approval-mozilla-aurora+
Comment 10•9 years ago
|
||
bugherder uplift |
Comment 11•9 years ago
|
||
bugherder uplift |
Comment 12•9 years ago
|
||
bugherder uplift |
status-b2g-v2.5:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•