Crash on external display plug
Affected version
Arch Linux
mutter 42.1
Bug summary
mutter crashes after plugging or unplugging external display.
The external display is connected directly to the discrete GPU, while the built in laptop display connected to the integrated GPU
Steps to reproduce
- Ensure mutter selects the discrete GPU as primary
- Plug or unplug external monitor connected to discrete GPU
What happened
- mutter crashes
What did you expect to happen
- mutter does not crash
Relevant logs, screenshots, screencasts etc.
Stack trace of thread 13998:
#0 0x00007f026047ab07 gbm_surface_release_buffer (libgbm.so.1 + 0x9b07)
#1 0x00007f0263ae54c1 n/a (libmutter-10.so.0 + 0x19b4c1)
#2 0x00007f02648029ef g_object_unref (libgobject-2.0.so.0 + 0x219ef)
#3 0x00007f0263aeed92 n/a (libmutter-10.so.0 + 0x1a4d92)
#4 0x00007f02646dc748 g_hash_table_foreach (libglib-2.0.so.0 + 0x38748)
#5 0x00007f0263afc44d n/a (libmutter-10.so.0 + 0x1b244d)
#6 0x00007f0263b26855 n/a (libmutter-10.so.0 + 0x1dc855)
#7 0x00007f0263afc63d n/a (libmutter-10.so.0 + 0x1b263d)
#8 0x00007f02646f8c6b g_main_context_dispatch (libglib-2.0.so.0 + 0x54c6b)
#9 0x00007f026474f001 n/a (libglib-2.0.so.0 + 0xab001)
#10 0x00007f02646f81cf g_main_loop_run (libglib-2.0.so.0 + 0x541cf)
#11 0x00007f0263a3150b meta_context_run_main_loop (libmutter-10.so.0 + 0xe750b)
#12 0x000055c4f28c948b n/a (gnome-shell + 0x248b)
#13 0x00007f0263746290 n/a (libc.so.6 + 0x29290)
#14 0x00007f026374634a __libc_start_main (libc.so.6 + 0x2934a)
#15 0x000055c4f28c9745 n/a (gnome-shell + 0x2745)
Potentially related Ubuntu downstream bug report:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1969351
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1969422