Closed Bug 1726646 Opened 4 years ago Closed 3 years ago

Crash in [@ InvalidArrayIndex_CRASH | mozilla::GetUserMediaWindowListener::MuteOrUnmuteCameras]

Categories

(Core :: WebRTC: Audio/Video, defect)

Unspecified
Android
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mccr8, Unassigned, NeedInfo)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/2ea2d965-709a-4041-896c-215080210818

MOZ_CRASH Reason: ElementAt(aIndex = 1, aLength = 1)

Top 10 frames of crashing thread:

0 libxul.so InvalidArrayIndex_CRASH xpcom/ds/nsTArray.cpp:28
1 libxul.so mozilla::GetUserMediaWindowListener::MuteOrUnmuteCameras dom/media/MediaManager.cpp:4581
2 libxul.so mozilla::MediaManager::OnCameraMute dom/media/MediaManager.cpp:3316
3 libxul.so mozilla::MediaManager::Observe dom/media/MediaManager.cpp:3800
4 libxul.so nsObserverList::NotifyObservers xpcom/ds/nsObserverList.cpp:70
5 libxul.so nsObserverService::NotifyObservers xpcom/ds/nsObserverService.cpp:288
6 libxul.so mozilla::dom::ContentChild::RecvApplicationForeground dom/ipc/ContentChild.cpp:2530
7 libxul.so mozilla::dom::PContentChild::OnMessageReceived ipc/ipdl/PContentChild.cpp:10516
8 libxul.so mozilla::ipc::MessageChannel::DispatchAsyncMessage ipc/glue/MessageChannel.cpp:2084
9 libxul.so mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:2011

Maybe something is getting removed while we're iterating over the array? These crashes are all Android, and all have index == length.

Severity: -- → S2
Flags: needinfo?(jib)

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.