Closed
Bug 1426162
Opened 6 years ago
Closed 6 years ago
Crash in (anonymous namespace)::LoaderListener::OnStreamComplete
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
VERIFIED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox57 | --- | unaffected |
firefox58 | --- | unaffected |
firefox59 | + | fixed |
People
(Reporter: marcia, Assigned: bkelly)
References
Details
(Keywords: crash, regression, topcrash)
Crash Data
Attachments
(1 file)
1.54 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is report bp-6b3da792-05a4-4022-b52b-1a0c80171219. ============================================================= Seen while looking at Mac crash stats - crashes started using 20171218220523: http://bit.ly/2kKtCBQ. Possible regression range based on build ID: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5d203926da51a7e949a20818664b19d5b115572d&tochange=7c4579e705c4a3a3610183fe6f44affff3ad57ef crash reason MOZ_RELEASE_ASSERT(mWorkerPrivate->FinalChannelPrincipalIsValid(channel)) Top 10 frames of crashing thread: 0 XUL dom/workers/ScriptLoader.cpp:1204 1 XUL mozilla::net::nsStreamLoader::OnStopRequest netwerk/base/nsStreamLoader.cpp:108 2 XUL mozilla::net::nsStreamListenerTee::OnStopRequest netwerk/base/nsStreamListenerTee.cpp:52 3 XUL mozilla::net::nsHTTPCompressConv::OnStopRequest netwerk/streamconv/converters/nsHTTPCompressConv.cpp:169 4 XUL mozilla::net::HttpChannelChild::DoOnStopRequest netwerk/protocol/http/HttpChannelChild.cpp:1208 5 XUL mozilla::net::HttpChannelChild::OnStopRequest netwerk/protocol/http/HttpChannelChild.cpp:1099 6 XUL mozilla::net::ChannelEventQueue::FlushQueue netwerk/ipc/ChannelEventQueue.cpp:93 7 XUL mozilla::net::ChannelEventQueue::ResumeInternal netwerk/ipc/ChannelEventQueue.h:324 8 XUL nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1039 9 XUL NS_ProcessPendingEvents xpcom/threads/nsThreadUtils.cpp:450 =============================================================
Reporter | ||
Comment 1•6 years ago
|
||
Windows signature with same crash reason - [@ `anonymous namespace''::ScriptLoaderRunnable::OnStreamCompleteInternal ]
Crash Signature: [@ (anonymous namespace)::LoaderListener::OnStreamComplete] → [@ (anonymous namespace)::LoaderListener::OnStreamComplete]
[@ `anonymous namespace''::ScriptLoaderRunnable::OnStreamCompleteInternal]
OS: Mac OS X → All
Hardware: Unspecified → All
Reporter | ||
Updated•6 years ago
|
Crash Signature: [@ (anonymous namespace)::LoaderListener::OnStreamComplete]
[@ `anonymous namespace''::ScriptLoaderRunnable::OnStreamCompleteInternal] → [@ (anonymous namespace)::LoaderListener::OnStreamComplete]
[@ `anonymous namespace''::ScriptLoaderRunnable::OnStreamCompleteInternal]
[@ (anonymous namespace)::ScriptLoaderRunnable::OnStreamCompleteInternal]
[@ xul.dll@0xb6bc06 | xul.dll@0xbbc8df | xu…
Assignee | ||
Comment 3•6 years ago
|
||
Yea, probably just hitting a later assertion now. Andrea, any ideas? We could make it another runtime check. I wonder if we are: a. Failing to get a load group sometimes. Or b. The principal is changing Perhaps this is an extension using a worker with some weird principal that gets changed? I guess if we make the runtime checks fail maybe someone will eventually give us a test case that is failing.
Flags: needinfo?(bkelly) → needinfo?(amarchesini)
Reporter | ||
Comment 4•6 years ago
|
||
Adding Android signature.
Crash Signature: [@ (anonymous namespace)::LoaderListener::OnStreamComplete]
[@ `anonymous namespace''::ScriptLoaderRunnable::OnStreamCompleteInternal]
[@ (anonymous namespace)::ScriptLoaderRunnable::OnStreamCompleteInternal]
[@ xul.dll@0xb6bc06 | xul.dll@0xbbc8df | xu… → [@ (anonymous namespace)::LoaderListener::OnStreamComplete]
[@ LoaderListener::OnStreamComplete]
[@ `anonymous namespace''::ScriptLoaderRunnable::OnStreamCompleteInternal]
[@ (anonymous namespace)::ScriptLoaderRunnable::OnStreamCompleteInternal]
[@ xu…
Comment 6•6 years ago
|
||
Happened to me on Win 10. No extensions but containers and profiler. I clicked a link in about:serviceworkers and the tab that opened crashed.
Reporter | ||
Comment 7•6 years ago
|
||
`anonymous namespace''::ScriptLoaderRunnable::OnStreamCompleteInternal signature is #2 overall top crash on 59 with over 1800 crashes in the last 7 days.
Keywords: topcrash
Assignee | ||
Comment 8•6 years ago
|
||
I'm going to make this another runtime check instead of an assertion.
Assignee: nobody → bkelly
Status: NEW → ASSIGNED
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(amarchesini)
Assignee | ||
Comment 9•6 years ago
|
||
BTW, I have learned another way channel principals can change. Its possible for browser chrome script to set `nsIChannel.owner`. Maybe some browser chrome or an addon is doing that for some worker scripts.
Assignee | ||
Comment 10•6 years ago
|
||
Attachment #8939559 -
Flags: review?(amarchesini)
Updated•6 years ago
|
Attachment #8939559 -
Flags: review?(amarchesini) → review+
Comment 11•6 years ago
|
||
Pushed by bkelly@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3c5811b083f9 Convert worker main script principal assertion to runtime check. r=baku
Comment 12•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3c5811b083f9
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•6 years ago
|
status-firefox57:
--- → unaffected
status-firefox58:
--- → unaffected
status-firefox-esr52:
--- → unaffected
Comment 13•6 years ago
|
||
crash stop shows that it isn't happening anymore.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•