mirror of
https://github.com/brl/mutter.git
synced 2024-12-04 13:50:41 -05:00
867494d3df
Otherwise we'll have a cursor sprite backed by a surface that no longer exist. This usually doesn't happen, but can happen in rare situations related to pointer capability changes Wayland client cursor changes and hotplugs. Fixes the following crash: #0 meta_wayland_buffer_get_resource() at ../src/wayland/meta-wayland-buffer.c:128 #1 realize_cursor_sprite_from_wl_buffer_for_gpu() at ../src/backends/native/meta-cursor-renderer-native.c:1649 #2 realize_cursor_sprite_for_gpu() at ../src/backends/native/meta-cursor-renderer-native.c:1869 #3 realize_cursor_sprite() at ../src/backends/native/meta-cursor-renderer-native.c:1887 #4 meta_cursor_renderer_native_update_cursor() at ../src/backends/native/meta-cursor-renderer-native.c:1100 #5 meta_cursor_renderer_update_cursor() at ../src/backends/meta-cursor-renderer.c:414 #6 meta_cursor_renderer_force_update() at ../src/backends/meta-cursor-renderer.c:449 #7 update_cursors() at ../src/backends/meta-backend.c:328 #8 meta_backend_monitors_changed() at ../src/backends/meta-backend.c:338 #9 meta_monitor_manager_notify_monitors_changed() at ../src/backends/meta-monitor-manager.c:3590 #10 meta_monitor_manager_rebuild() at ../src/backends/meta-monitor-manager.c:3678 #11 meta_monitor_manager_native_apply_monitors_config() at ../src/backends/native/meta-monitor-manager-native.c:343 #12 meta_monitor_manager_apply_monitors_config() at ../src/backends/meta-monitor-manager.c:706 #13 meta_monitor_manager_ensure_configured() at ../src/backends/meta-monitor-manager.c:779 #14 meta_monitor_manager_reconfigure() at ../src/backends/meta-monitor-manager.c:3738 #15 meta_monitor_manager_reload() at ../src/backends/meta-monitor-manager.c:3745 or the following on gnome-43: #0 meta_wayland_surface_get_buffer at ../src/wayland/meta-wayland-surface.c:441 #1 meta_cursor_sprite_wayland_get_buffer at ../src/wayland/meta-cursor-sprite-wayland.c:83 #2 realize_cursor_sprite_from_wl_buffer_for_gpu at ../src/backends/native/meta-cursor-renderer-native.c:1612 #3 realize_cursor_sprite_for_gpu at ../src/backends/native/meta-cursor-renderer-native.c:1836 #4 realize_cursor_sprite at ../src/backends/native/meta-cursor-renderer-native.c:1854 #5 meta_cursor_renderer_native_update_cursor at ../src/backends/native/meta-cursor-renderer-native.c:1087 #6 meta_cursor_renderer_update_cursor at ../src/backends/meta-cursor-renderer.c:413 #7 meta_cursor_renderer_force_update at ../src/backends/meta-cursor-renderer.c:448 #8 update_cursors at ../src/backends/meta-backend.c:344 #9 meta_backend_monitors_changed at ../src/backends/meta-backend.c:354 Related: https://bugzilla.redhat.com/show_bug.cgi?id=2185113 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2968> |
||
---|---|---|
.. | ||
native | ||
x11 | ||
edid-parse.c | ||
edid.h | ||
gsm-inhibitor-flag.h | ||
meta-backend-private.h | ||
meta-backend-types.h | ||
meta-backend.c | ||
meta-barrier-private.h | ||
meta-barrier.c | ||
meta-color-device.c | ||
meta-color-device.h | ||
meta-color-manager-private.h | ||
meta-color-manager.c | ||
meta-color-manager.h | ||
meta-color-profile.c | ||
meta-color-profile.h | ||
meta-color-store.c | ||
meta-color-store.h | ||
meta-crtc-mode.c | ||
meta-crtc-mode.h | ||
meta-crtc.c | ||
meta-crtc.h | ||
meta-cursor-renderer.c | ||
meta-cursor-renderer.h | ||
meta-cursor-sprite-xcursor.c | ||
meta-cursor-sprite-xcursor.h | ||
meta-cursor-tracker-private.h | ||
meta-cursor-tracker.c | ||
meta-cursor.c | ||
meta-cursor.h | ||
meta-dbus-session-manager.c | ||
meta-dbus-session-manager.h | ||
meta-dbus-session-watcher.c | ||
meta-dbus-session-watcher.h | ||
meta-display-config-shared.h | ||
meta-dnd-private.h | ||
meta-egl-ext.h | ||
meta-egl.c | ||
meta-egl.h | ||
meta-gles3-table.h | ||
meta-gles3.c | ||
meta-gles3.h | ||
meta-gpu.c | ||
meta-gpu.h | ||
meta-idle-manager.c | ||
meta-idle-manager.h | ||
meta-idle-monitor-private.h | ||
meta-idle-monitor.c | ||
meta-input-device-private.h | ||
meta-input-device.c | ||
meta-input-mapper-private.h | ||
meta-input-mapper.c | ||
meta-input-settings-dummy.c | ||
meta-input-settings-dummy.h | ||
meta-input-settings-private.h | ||
meta-input-settings.c | ||
meta-keymap-utils.c | ||
meta-keymap-utils.h | ||
meta-logical-monitor.c | ||
meta-logical-monitor.h | ||
meta-monitor-config-manager.c | ||
meta-monitor-config-manager.h | ||
meta-monitor-config-migration.c | ||
meta-monitor-config-migration.h | ||
meta-monitor-config-store.c | ||
meta-monitor-config-store.h | ||
meta-monitor-manager-dummy.c | ||
meta-monitor-manager-dummy.h | ||
meta-monitor-manager-private.h | ||
meta-monitor-manager.c | ||
meta-monitor-transform.c | ||
meta-monitor-transform.h | ||
meta-monitor.c | ||
meta-monitor.h | ||
meta-orientation-manager.c | ||
meta-orientation-manager.h | ||
meta-output.c | ||
meta-output.h | ||
meta-pointer-constraint.c | ||
meta-pointer-constraint.h | ||
meta-remote-access-controller-private.h | ||
meta-remote-access-controller.c | ||
meta-remote-desktop-session.c | ||
meta-remote-desktop-session.h | ||
meta-remote-desktop.c | ||
meta-remote-desktop.h | ||
meta-renderer-view.c | ||
meta-renderer-view.h | ||
meta-renderer.c | ||
meta-renderer.h | ||
meta-screen-cast-area-stream-src.c | ||
meta-screen-cast-area-stream-src.h | ||
meta-screen-cast-area-stream.c | ||
meta-screen-cast-area-stream.h | ||
meta-screen-cast-monitor-stream-src.c | ||
meta-screen-cast-monitor-stream-src.h | ||
meta-screen-cast-monitor-stream.c | ||
meta-screen-cast-monitor-stream.h | ||
meta-screen-cast-session.c | ||
meta-screen-cast-session.h | ||
meta-screen-cast-stream-src.c | ||
meta-screen-cast-stream-src.h | ||
meta-screen-cast-stream.c | ||
meta-screen-cast-stream.h | ||
meta-screen-cast-virtual-stream-src.c | ||
meta-screen-cast-virtual-stream-src.h | ||
meta-screen-cast-virtual-stream.c | ||
meta-screen-cast-virtual-stream.h | ||
meta-screen-cast-window-stream-src.c | ||
meta-screen-cast-window-stream-src.h | ||
meta-screen-cast-window-stream.c | ||
meta-screen-cast-window-stream.h | ||
meta-screen-cast-window.c | ||
meta-screen-cast-window.h | ||
meta-screen-cast.c | ||
meta-screen-cast.h | ||
meta-settings-private.h | ||
meta-settings.c | ||
meta-stage-impl-private.h | ||
meta-stage-impl.c | ||
meta-stage-private.h | ||
meta-stage-view-private.h | ||
meta-stage-view.c | ||
meta-stage.c | ||
meta-viewport-info.c | ||
meta-viewport-info.h | ||
meta-virtual-monitor.c | ||
meta-virtual-monitor.h |