This affects me too on resolute: mutter 50.1-0ubuntu2.5, gnome-shell
50.1-0ubuntu1.5, kernel 7.0.0-43-generic, Intel Lunar Lake (Core Ultra 7
258V, xe driver), Lenovo ThinkPad Thunderbolt 4 Dock with two monitors
behind its DP MST hub.

Same root cause, a third crash site. Symbolized with the matching
-dbgsym packages from ddebs.ubuntu.com:

  #7  g_object_set_qdata () at gobject/gobject.c:4992
  #8  meta_unlink_kms_connector () at src/backends/native/meta-output-kms.c:119
  #9  update_outputs () at src/backends/native/meta-gpu-kms.c:341
  #10 meta_gpu_kms_read_current () at src/backends/native/meta-gpu-kms.c:383
  #11 meta_monitor_manager_real_read_current_state () at 
src/backends/meta-monitor-manager.c:3929
  #12 meta_monitor_manager_reload () at src/backends/meta-monitor-manager.c:4151
  #13 handle_hotplug_event () at 
src/backends/native/meta-monitor-manager-native.c:339
  #14 on_kms_resources_changed () at 
src/backends/native/meta-monitor-manager-native.c:375
  ...
  #20 meta_kms_emit_resources_changed (changes=META_KMS_RESOURCE_CHANGE_FULL) 
at src/backends/native/meta-kms.c:569
  #21 connection_change_timeout () at 
src/backends/native/meta-kms-connector.c:1166
  #22 g_timeout_dispatch () at glib/gmain.c:5324

In the core, MetaKmsDevice.connectors has 12 entries and the impl
device's list has 11. The extra entry is the pointer passed to frame #8:
a freed MetaKmsConnector (the malloc chunk size matches sizeof
(MetaKmsConnector); the class pointer and ref_count are overwritten). It
is also the user_data of the connection-change timeout being dispatched:
a DisplayPort MST connector whose disconnect was pending when the kernel
removed it. That is the case c60f9131 fixes.

How often: three gnome-shell SIGSEGVs in six days (2026-11-16 to
2026-11-22), during which the dock was connected 32 times. Each came
seconds after xe logged "Failed to get ACT after 3000 ms, last status:
04" while the dock's MST displays were coming up. Only the last crash
has a core; the other two have the same journal sequence. After a later
re-plug the same session logged "g_object_set_qdata: assertion
'G_IS_OBJECT (object)' failed", which is this bug being hit without a
crash.

LP: #2164625 (Error Tracker, the update_modes() variant, Importance
High) asks for the same fix for resolute.

Related, and not fixed by c60f9131: on 2026-11-17 the same machine also
aborted with

  libmutter:ERROR:../src/backends/native/meta-kms-impl-
device.c:2458:meta_kms_impl_device_unhold_fd: assertion failed:
(meta_kms_in_impl_task (kms))

seconds after a dock connect on which xe failed to bring up the MST
link; the laptop was not suspended. This matches upstream
https://gitlab.gnome.org/GNOME/mutter/-/work_items/5136 and LP: #2170900
(filed for noble): update_connector() drops the connector's last
reference on the main thread. That code is unchanged in 50.6 and main. I
have no core for this one.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174551

Title:
  gnome-shell SIGSEGV in meta_kms_connector_is_non_desktop() after MST
  connector re-enumeration: please cherry-pick upstream c60f9131 (use-
  after-free, fixed in 50.2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2174551/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to