Closed Bug 1122689 Opened 6 years ago Closed 3 years ago

Shutdown crash with e10s Service workers mochitest

Categories

(Core :: DOM: Workers, defect, P3)

32 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1081293
Tracking Status
e10s + ---

People

(Reporter: mccr8, Unassigned)

Details

When I run this locally:
  ./mach mochitest-plain --e10s --this-chunk=20 --total-chunks=25
I get a shutdown crash.  It is a null deref.

    #0 0x7f95733e6e4e in mozilla::dom::ServiceWorkerContainer::RemoveReadyPromise() /home/amccreight/mc/dom/workers/ServiceWorkerContainer.cpp:61
    #1 0x7f95733e6c81 in mozilla::dom::ServiceWorkerContainer::~ServiceWorkerContainer() /home/amccreight/mc/dom/workers/ServiceWorkerContainer.cpp:42
    #2 0x7f95733e6c21 in mozilla::dom::ServiceWorkerContainer::~ServiceWorkerContainer() /home/amccreight/mc/dom/workers/ServiceWorkerContainer.cpp:41
    #3 0x7f956f71fc10 in SnowWhiteKiller::~SnowWhiteKiller() /home/amccreight/mc/xpcom/base/nsCycleCollector.cpp:2673
    #4 0x7f956f71f949 in nsCycleCollector::FreeSnowWhite(bool) /home/amccreight/mc/xpcom/base/nsCycleCollector.cpp:2841
    #5 0x7f956f7249a1 in nsCycleCollector::BeginCollection(ccType, nsICycleCollectorListener*) /home/amccreight/mc/xpcom/base/nsCycleCollector.cpp:3780
    #6 0x7f956f724412 in nsCycleCollector::Collect(ccType, js::SliceBudget&, nsICycleCollectorListener*, bool) /home/amccreight/mc/xpcom/base/nsCycleCollector.cpp:3615
    #7 0x7f956f7241f4 in nsCycleCollector::ShutdownCollect() /home/amccreight/mc/xpcom/base/nsCycleCollector.cpp:3567
    #8 0x7f956f726f09 in nsCycleCollector_shutdown() /home/amccreight/mc/xpcom/base/nsCycleCollector.cpp:4263
    #9 0x7f956f850428 in mozilla::ShutdownXPCOM(nsIServiceManager*) /home/amccreight/mc/xpcom/build/XPCOMInit.cpp:944
    #10 0x7f9574e40219 in XRE_TermEmbedding /home/amccreight/mc/toolkit/xre/nsEmbedFunctions.cpp:206
    #11 0x7f956ff8254d in mozilla::ipc::ScopedXREEmbed::Stop() /home/amccreight/mc/ipc/glue/ScopedXREEmbed.cpp:115
    #12 0x7f9574e40c7b in XRE_InitChildProcess /home/amccreight/mc/toolkit/xre/nsEmbedFunctions.cpp:579
    #13 0x47f846 in content_process_main(int, char**) /home/amccreight/mc/ipc/app/../contentproc/plugin-container.cpp:211
    #14 0x7f956d42703f in __libc_start_main (/usr/lib/libc.so.6+0x2003f)
    #15 0x47ed6f in _start (/home/amccreight/mc/obj-asan-opt/dist/bin/plugin-container+0x47ed6f)
Priority: -- → P3
This one might be fixed.  I'll have to look.
Flags: needinfo?(bkelly)
I think was fixed by bug 1081293.
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(bkelly)
Resolution: --- → DUPLICATE
Duplicate of bug: 1081293
You need to log in before you can comment on or make changes to this bug.