Closed Bug 1446902 Opened 2 years ago Closed 2 years ago

Crash in mozilla::dom::WorkerPrivate::DispatchToMainThread

Categories

(Core :: DOM: Workers, defect, P1, critical)

Unspecified
All
defect

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox-esr52 --- unaffected
firefox59 --- unaffected
firefox60 --- unaffected
firefox61 + fixed

People

(Reporter: calixte, Assigned: baku)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression, topcrash)

Crash Data

This bug was filed from the Socorro interface and is
report bp-50aacf63-a8a3-4087-9f65-ac8b20180317.
=============================================================

Top 10 frames of crashing thread:

0 xul.dll mozilla::dom::WorkerPrivate::DispatchToMainThread dom/workers/WorkerPrivate.cpp:3330
1 xul.dll mozilla::dom::XMLHttpRequestWorker::ReleaseProxy dom/xhr/XMLHttpRequestWorker.cpp:1630
2 xul.dll mozilla::dom::XMLHttpRequestWorker::cycleCollection::Unlink dom/xhr/XMLHttpRequestWorker.cpp:1582
3 xul.dll nsCycleCollector::CollectWhite xpcom/base/nsCycleCollector.cpp:3401
4 xul.dll nsCycleCollector::Collect xpcom/base/nsCycleCollector.cpp:3769
5 xul.dll nsCycleCollector::ShutdownCollect xpcom/base/nsCycleCollector.cpp:3687
6 xul.dll nsCycleCollector::Shutdown xpcom/base/nsCycleCollector.cpp:3990
7 xul.dll nsCycleCollector_shutdown xpcom/base/nsCycleCollector.cpp:4373
8 xul.dll static void mozilla::dom::workerinternals::`anonymous namespace'::WorkerJSContext::~WorkerJSContext dom/workers/RuntimeService.cpp:1076
9 xul.dll static nsresult mozilla::dom::workerinternals::`anonymous namespace'::WorkerThreadPrimaryRunnable::Run dom/workers/RuntimeService.cpp:2764

=============================================================

There are 282 crashes (from 234 installations) in nightly 61 starting with buildid 20180317111042. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1445883.

[1] https://hg.mozilla.org/mozilla-central/rev?node=0f81334efa0a
Flags: needinfo?(amarchesini)
OS: Windows 10 → All
Version: 60 Branch → Trunk
The signature 'mozilla::dom::WorkerPrivate::DispatchToMainThread' is ranked #2 in nightly top-crashers for content process.
Keywords: topcrash
Patch for bug 1445883 is broken. Let's back it out.
Flags: needinfo?(amarchesini)
Assignee: nobody → amarchesini
Priority: -- → P1
Looking at crash-stats, it would appear that the backout worked.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.