Closed
Bug 1998261
Opened 1 year ago
Closed 1 year ago
Crash in [@ mozilla::detail::InvalidArrayIndex_CRASH | ElementAt | mozilla::widget::WaylandBuffer::IsAttached]
Categories
(Core :: Widget: Gtk, defect)
Core
Widget: Gtk
Tracking
()
RESOLVED
DUPLICATE
of bug 1990430
People
(Reporter: mccr8, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash, csectype-race)
Crash Data
Crash report: https://crash-stats.mozilla.org/report/index/2fe6f433-3504-4cba-88d8-a44e20251030
MOZ_CRASH Reason:
ElementAt(aIndex = 0, aLength = 0)
Top 10 frames:
0 firefox MOZ_CrashSequence /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/mfbt/Assertions.h:248
0 firefox MOZ_Crash /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/mfbt/Assertions.h:381
0 firefox mozilla::detail::InvalidArrayIndex_CRASH(unsigned long, unsigned long) /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/mfbt/Assertions.cpp:77
1 libxul.so ElementAt /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/xpcom/ds/nsTArray.h:1080
1 libxul.so mozilla::ArrayIterator<(anonymous namespace)::ChildProcessInfo const&, nsTArr... /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/xpcom/ds/ArrayIterator.h:107
2 libxul.so mozilla::widget::WaylandBuffer::IsAttached() const /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/widget/gtk/WaylandBuffer.cpp:94
3 libxul.so operator()<RefPtr<mozilla::widget::WaylandBufferSHM> > /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/widget/gtk/WindowSurfaceWaylandMultiBuffer.cpp:369
3 libxul.so RemoveElementsBy<mozilla::widget::WindowSurfaceWaylandMB::CollectPendingSurfa... /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/xpcom/ds/nsTArray.h:2435
3 libxul.so mozilla::widget::WindowSurfaceWaylandMB::CollectPendingSurfaces(mozilla::deta... /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/widget/gtk/WindowSurfaceWaylandMultiBuffer.cpp:368
3 libxul.so mozilla::widget::WindowSurfaceWaylandMB::Lock(mozilla::gfx::IntRegionTyped<mo... /builddir/build/BUILD/firefox-144.0-build/firefox-144.0/widget/gtk/WindowSurfaceWaylandMultiBuffer.cpp:195
I did some recent work to split up various common InvalidArrayIndex_CRASH crashes. This is one of the most common ones. It looks like all of these crashes are index 0 and length 0. This is just an iterator so that doesn't make much sense. Maybe this indicates a race where another thread is modifying this array? I'll hide this. I'm not sure if there's another bug on file for this crash already.
| Reporter | ||
Updated•1 year ago
|
Crash Signature: [@ mozilla::detail::InvalidArrayIndex_CRASH | ElementAt | mozilla::widget::WaylandBuffer::IsAttached] → [@ mozilla::detail::InvalidArrayIndex_CRASH | ElementAt | mozilla::widget::WaylandBuffer::IsAttached] [@ <name omitted> | mozilla::detail::InvalidArrayIndex_CRASH | ElementAt | mozilla::widget::WaylandBuffer::IsAttached ]
Comment 1•1 year ago
|
||
As it's Fedora only looks like Bug 1990430.
Comment 2•1 year ago
|
||
Should be fixed in 144.0.1(2)
| Reporter | ||
Comment 3•1 year ago
|
||
Thanks for taking a look. I'll dupe it then.
Group: dom-core-security
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1990430
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•