Closed
Bug 1525527
Opened 6 years ago
Closed 6 years ago
Crash in OOM | large | NS_ABORT_OOM | mozilla::dom::WebSocket::CreateAndDispatchMessageEvent
Categories
(Core :: DOM: Networking, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: emma.mason20, Assigned: michal)
Details
(Whiteboard: [necko-triaged])
Crash Data
Attachments
(1 file, 1 obsolete file)
1020 bytes,
patch
|
michal
:
review+
|
Details | Diff | Splinter Review |
This bug is for crash report bp-67595ec5-0ed0-46ee-acde-b85090190131.
Top 10 frames of crashing thread:
0 xul.dll NS_ABORT_OOM xpcom/base/nsDebugImpl.cpp:628
1 xul.dll nsresult mozilla::dom::WebSocket::CreateAndDispatchMessageEvent dom/websocket/WebSocket.cpp:2017
2 xul.dll nsresult mozilla::dom::WebSocketImpl::DoOnMessageAvailable dom/websocket/WebSocket.cpp:693
3 xul.dll mozilla::dom::WebSocketImpl::OnMessageAvailable dom/websocket/WebSocket.cpp:718
4 xul.dll void mozilla::net::WebSocketChannelChild::OnMessageAvailable netwerk/protocol/websocket/WebSocketChannelChild.cpp:366
5 xul.dll mozilla::net::WrappedChannelEvent::Run netwerk/protocol/websocket/WebSocketChannelChild.cpp:147
6 xul.dll mozilla::SchedulerGroup::Runnable::Run xpcom/threads/SchedulerGroup.cpp:337
7 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1246
8 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:530
9 xul.dll mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:97
Updated•6 years ago
|
Component: General → DOM: Networking
![]() |
||
Comment 1•6 years ago
|
||
Do we have a fallible conversion API for this [1]? Michal, can you look at this?
P1 only because this is impactful content-controlled crash and potentially easy to fix.
Assignee: nobody → michal.novotny
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P1
![]() |
||
Updated•6 years ago
|
Whiteboard: [necko-triaged]
Assignee | ||
Comment 2•6 years ago
|
||
Attachment #9044889 -
Flags: review?(honzab.moz)
![]() |
||
Comment 3•6 years ago
|
||
Comment on attachment 9044889 [details] [diff] [review]
patch
Review of attachment 9044889 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/websocket/WebSocket.cpp
@@ +1851,5 @@
> } else {
> // JS string
> + nsAutoString utf16Data;
> + if (!AppendUTF8toUTF16(aData, utf16Data, mozilla::fallible)) {
> + return NS_ERROR_FAILURE;
maybe NS_ERROR_OUT_OF_MEMORY?
Attachment #9044889 -
Flags: review?(honzab.moz) → review+
Assignee | ||
Comment 4•6 years ago
|
||
Attachment #9044889 -
Attachment is obsolete: true
Attachment #9044971 -
Flags: review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/57c4b2afc95b
Crash in OOM | large | NS_ABORT_OOM | mozilla::dom::WebSocket::CreateAndDispatchMessageEvent, r=michal
Keywords: checkin-needed
Comment 6•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•