Closed Bug 1228890 Opened 9 years ago Closed 5 years ago

"Assertion failure: !mSyncLoopTarget" (mozilla::dom::workers::Proxy::Teardown)

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1588248
Tracking Status
firefox45 --- wontfix
firefox-esr68 --- fixed
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- fixed

People

(Reporter: jruderman, Assigned: asuth)

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Assertion failure: !mSyncLoopTarget, at dom/workers/XMLHttpRequest.cpp:999
Attached file stack
Priority: -- → P5

This is a long standing issue that is frequently hit by the fuzzers and can limit their effectiveness.

Please let me know if a Pernosco session can help get this resolved and I will create one.

Jens - can I please get some help on this issue. It causes a lot of wasted CPU time when fuzzing DOM APIs.

Flags: needinfo?(jstutte)

@Tyson: An updated stack trace and if possible an rr recording for Pernosco would be of great help to have someone take a look at it fast. If it is reproducible in an ASAN build, that would be even better.

Flags: needinfo?(jstutte)
Flags: needinfo?(twsmith)

A Pernosco session is available here: https://pernos.co/debug/6zCHnF3ZbvdE93ES-WZexQ/index.html
It will expire in 7 days.

Flags: needinfo?(twsmith)

Reproduced with m-c:
BuildID=20191023154818
SourceStamp=782f341be605f1a30e8a9bfbfc13ce389e620a24

Assertion failure: !mSyncLoopTarget, at src/dom/xhr/XMLHttpRequestWorker.cpp:864

#0 mozilla::dom::Proxy::Teardown(bool) src/dom/xhr/XMLHttpRequestWorker.cpp:863:3
#1 mozilla::dom::(anonymous namespace)::SyncTeardownRunnable::RunOnMainThread(mozilla::ErrorResult&) src/dom/xhr/XMLHttpRequestWorker.cpp:534:13
#2 mozilla::dom::WorkerThreadProxySyncRunnable::MainThreadRun() src/dom/xhr/XMLHttpRequestWorker.cpp:1257:3
#3 mozilla::dom::WorkerMainThreadRunnable::Run() src/dom/workers/WorkerRunnable.cpp:575:20
#4 mozilla::ThrottledEventQueue::Inner::ExecuteRunnable() src/xpcom/threads/ThrottledEventQueue.cpp:252:22
#5 mozilla::ThrottledEventQueue::Inner::Executor::Run() src/xpcom/threads/ThrottledEventQueue.cpp:80:15
#6 nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1225:14
#7 NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:486:10
#8 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:88:21
#9 MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10
#10 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290:3
#11 nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:137:27
#12 XRE_RunAppShell() src/toolkit/xre/nsEmbedFunctions.cpp:934:20
#13 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:238:9
#14 MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10
#15 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290:3
#16 XRE_InitChildProcess(int, char**, XREChildData const*) src/toolkit/xre/nsEmbedFunctions.cpp:769:34
#17 content_process_main(mozilla::Bootstrap*, int, char**) src/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28
#18 main src/browser/app/nsBrowserApp.cpp:272:18
Assignee: nobody → bugmail
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: