Crash in [@ mozilla::detail::InvalidArrayIndex_CRASH | mozilla::widget::ScreenGetterWayland::GetScreenForWindow]
Categories
(Core :: Widget: Gtk, defect, P2)
Tracking
()
People
(Reporter: gsvelto, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Crash report: https://crash-stats.mozilla.org/report/index/14e95ea6-99c5-4f85-9af9-3cc210211127
Reason: SIGSEGV / SEGV_MAPERR
Top 10 frames of crashing thread:
0 firefox-bin mozilla::detail::InvalidArrayIndex_CRASH mfbt/Assertions.cpp:50
1 libxul.so mozilla::widget::ScreenGetterWayland::GetScreenForWindow widget/gtk/ScreenHelperGTK.cpp:430
2 libxul.so mozilla::widget::ScreenHelperGTK::GetScreenForWindow widget/gtk/ScreenHelperGTK.cpp:435
3 libxul.so nsWindow::GetWidgetScreen widget/gtk/nsWindow.cpp:6910
4 libxul.so nsWindow::GetDPI widget/gtk/nsWindow.cpp:726
5 libxul.so nsDeviceContext::SetDPI gfx/src/nsDeviceContext.cpp:95
6 libxul.so nsDeviceContext::CheckDPIChange gfx/src/nsDeviceContext.cpp:435
7 libxul.so nsDocumentViewer::SetBoundsWithFlags layout/base/nsDocumentViewer.cpp:1983
8 libxul.so nsDocShell::SetPositionAndSize docshell/base/nsDocShell.cpp:4588
9 libxul.so mozilla::AppWindow::WindowResized xpfe/appshell/AppWindow.cpp:2787
This happens when adding or removing a monitor, typically by docking or undocking a laptop as the comments suggest:
Accidentally unplugged one of the monitors (DisplayPort) during Youtube playback
connecting my external monitor to Laptop probably caused this crash
connecting my external monitor to Laptop probably caused this crash
new screen connected
There's more but you get the gist. The issue is specific to wayland.
Comment 1•2 years ago
|
||
Just fwiw, I hit theis crash more than once just from closing my laptop lid (sleeps the linux system) moving my location (new wifi hotspot) and then resuming. Crash dialog is visible when resumed:
https://crash-stats.mozilla.org/report/index/acaef65f-63d4-4f74-8900-d88980220218
Of note the following is/was my setup and steps:
- "At Work Office":
- Connected to an external screen via a thunderbolt dock
- Laptop lid was actively closed (only using external screen)
-
Unplugged the dock
-
moved locations to connect to a new wifi hotspot on a different floor of my office
-
Opened my laptop screen to see the crash dialog.
-
Closed the laptop screen when meeting on this other floor was done
-
Returned to location/setup as 1.
-
Saw crash dialog again.
-
Repeat step 2
-
Returned home for work today
-
Saw crash dialog after I plugged in my HDMI cord for local external monitor. (this setup was dual-screen at the moment I noticed the crash dialog, but I routinely close the laptop screen here)
Comment 2•2 years ago
|
||
Justin, which desktop / distribution do you use?
Comment 3•2 years ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #2)
Justin, which desktop / distribution do you use?
Admittedly I haven't seen this in a bit, but I use Fedora 35, on Wayland. Gnome 41.3. Firefox DevEd installed by untarring the package on releases.m.o to my /opt folder directly, rather than using an OS distro (I changed the folders perms so that auto update works)
Comment 4•2 years ago
|
||
I ran into this today (no idea what triggered it, I saw the crash-reporter dialog after unlocking post resume), bp-5fe7eebf-b827-40e4-90af-593670220308. Debian testing, gnome 41.3, wayland session.
Comment 5•2 years ago
|
||
This should be already fixed by Bug 1762867
Description
•