Closed Bug 1707473 Opened 5 years ago Closed 5 years ago

Crash in [@ mozilla::dom::AbortSignalProxy::GetOrCreateSignalImplForMainThread]

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox88 --- unaffected
firefox89 + fixed
firefox90 --- fixed

People

(Reporter: aryx, Unassigned)

References

(Regression)

Details

(4 keywords)

Crash Data

[Tracking Requested - why for this release]:
Crash new in Firefox 89

This is a regression from bug 1660555. Tom, can you investigate this, please?

Crash report: https://crash-stats.mozilla.org/report/index/09adab0e-0c4b-4c28-ad4a-130ba0210425

Reason: EXCEPTION_ACCESS_VIOLATION_READ

Top 10 frames of crashing thread:

0 xul.dll mozilla::dom::AbortSignalProxy::GetOrCreateSignalImplForMainThread dom/fetch/Fetch.cpp:216
1 xul.dll mozilla::dom::MainThreadFetchRunnable::Run dom/fetch/Fetch.cpp:501
2 xul.dll mozilla::ThrottledEventQueue::Inner::Executor::Run xpcom/threads/ThrottledEventQueue.cpp:81
3 xul.dll mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal xpcom/threads/TaskController.cpp:757
4 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp
5 xul.dll mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:109
6 xul.dll MessageLoop::RunHandler ipc/chromium/src/base/message_loop.cc:328
7 xul.dll MessageLoop::Run ipc/chromium/src/base/message_loop.cc:310
8 xul.dll nsBaseAppShell::Run widget/nsBaseAppShell.cpp:137
9 xul.dll nsAppShell::Run widget/windows/nsAppShell.cpp:602
Flags: needinfo?(evilpies)

I think this crash means the AbortSignalProxy this pointer is invalid. (rcx is 0xe5e5e5e5e5e5e5e5, which I think is usually the this pointer). This however means mResolver would be invalid in mozilla::dom::MainThreadFetchRunnable::Run. In that case I would have expected an earlier crash.

We could also just backout these patches they don't really bring any advantage as is. Smaug what do you think?

Flags: needinfo?(evilpies) → needinfo?(bugs)

I couldn't immediately what is going wrong, so backing out sounds reasonable.

Flags: needinfo?(bugs)

Would you mind backing out the patches from https://bugzilla.mozilla.org/show_bug.cgi?id=1660555#c41 on beta and central/nightly?

Flags: needinfo?(aryx.bugmail)

Trunk backout pushed, Pascal will take care of the beta one tomorrow.

Flags: needinfo?(aryx.bugmail)

Thank you both!

Group: dom-core-security → core-security-release
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(pchevrel)
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
QA Whiteboard: [post-critsmash-triage]
Flags: qe-verify-
Group: core-security-release
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.