Closed Bug 1653113 Opened 4 years ago Closed 4 years ago

Crash in [@ IPCError-browser | ShutDownKill | RtlAcquireSRWLockExclusive | mozilla::MediaTrackGraphImpl::RunInStableState]

Categories

(Core :: Audio/Video, defect)

80 Branch
x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- wontfix
firefox78 --- wontfix
firefox79 --- wontfix
firefox80 --- fixed

People

(Reporter: alex_mayorga, Assigned: padenot)

References

(Regression)

Details

(Keywords: crash, nightly-community, regression)

Crash Data

Attachments

(3 files)

This bug is for crash report bp-6f94dfd6-438d-49bf-a311-212a70200715.

Top 10 frames of crashing thread:

0 ntdll.dll NtWaitForAlertByThreadId 
1 ntdll.dll RtlAcquireSRWLockExclusive 
2 xul.dll mozilla::MediaTrackGraphImpl::RunInStableState dom/media/MediaTrackGraph.cpp:1684
3 xul.dll mozilla::`anonymous namespace'::MediaTrackGraphStableStateRunnable::Run dom/media/MediaTrackGraph.cpp:1647
4 xul.dll mozilla::CycleCollectedJSContext::AfterProcessTask xpcom/base/CycleCollectedJSContext.cpp:467
5 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1271
6 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:513
7 xul.dll mozilla::jsinspector::nsJSInspector::EnterNestedEventLoop devtools/platform/nsJSInspector.cpp:74
8 xul.dll XPTC__InvokebyIndex 
9  @0xc2bdff9c77 

¡Hola!

This was generated with crashfirefox64.exe on a hung Firefox nightly.

Please let me know if there's anything needed from the affected system.

¡Gracias!
Alex

David, does the very last stack frame (that seem to be present on quite a few threads) means something? The browser was completely frozen before right before this (see 1653112).

Flags: needinfo?(dmajor)

Appeared in the last month as well, weird.

(In reply to Paul Adenot (:padenot) from comment #1)

David, does the very last stack frame (that seem to be present on quite a few threads) means something? The browser was completely frozen before right before this (see 1653112).

Well, it means that a lot of threads are waiting, which is likely totally fine behavior for N-2 of those threads. The key is to find which two are waiting on each other. I see MediaTrack frames near the lock frames on several threads, and in general the words EnterNestedEventLoop give me the async heebie-jeebies, so that might be a good place to start.

Flags: needinfo?(dmajor)

This seems to be a deadlock at the intersection of audioipc, the MTG and cubeb. I'm fixing this by backing out most of 1628779, except the cubeb bits.

Depends on D83651

Assignee: nobody → padenot
Status: NEW → ASSIGNED

Depends on D83804

Depends on D83805

I'll note that I'm keeping the other patches, because I still want to have the section in about:support for the latency.

Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c56b8cabb326 Backed out changeset 5e969a4bab42. r=achronop https://hg.mozilla.org/integration/autoland/rev/38dc6c6d4d14 Backed out changeset 61336bfc7584. r=achronop https://hg.mozilla.org/integration/autoland/rev/e8fcedc678c4 Backed out changeset cc82aacadf80. r=achronop
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Has Regression Range: --- → yes
Crash Signature: [@ IPCError-browser | ShutDownKill | RtlAcquireSRWLockExclusive | mozilla::MediaTrackGraphImpl::RunInStableState] → [@ IPCError-browser | ShutDownKill | RtlAcquireSRWLockExclusive | mozilla::MediaTrackGraphImpl::RunInStableState] [@ IPCError-browser | ShutDownKill | RtlAcquireSRWLockExclusive | mozilla::MediaTrackGraphImpl::InterruptJS]
Crash Signature: [@ IPCError-browser | ShutDownKill | RtlAcquireSRWLockExclusive | mozilla::MediaTrackGraphImpl::RunInStableState] [@ IPCError-browser | ShutDownKill | RtlAcquireSRWLockExclusive | mozilla::MediaTrackGraphImpl::InterruptJS] → [@ IPCError-browser | ShutDownKill | RtlAcquireSRWLockExclusive | mozilla::MediaTrackGraphImpl::RunInStableState] [@ IPCError-browser | ShutDownKill | RtlAcquireSRWLockExclusive | mozilla::MediaTrackGraphImpl::InterruptJS]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: