[Firefox][DG2] Gnome shell (Wayland) crash with Firefox loaded page custom cursor swapping, while using screen sharing via xdg-desktop-portal-gnome
System information
System:
Host: mrgency Kernel: 6.3.0-rc7-273-tkg-cfs arch: x86_64 bits: 64
compiler: gcc v: 12.2.1 Desktop: GNOME v: 43.4 tk: GTK v: 3.24.37
wm: gnome-shell dm: GDM Distro: Arch Linux
CPU:
Info: 8-core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ rev: 2
cache: L1: 768 KiB L2: 4 MiB L3: 16 MiB
Speed (MHz): avg: 2147 high: 4050 min/max: 1550/3200 boost: enabled cores:
1: 2320 2: 4004 3: 1620 4: 4049 5: 1378 6: 1377 7: 1378 8: 1377 9: 1620
10: 4050 11: 1620 12: 4050 13: 1378 14: 1378 15: 1378 16: 1378
bogomips: 102402
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: Intel DG2 [Arc A770] driver: i915 v: kernel arch: Gen-12.7 pcie:
speed: 2.5 GT/s lanes: 1 ports: active: DP-3,DP-4 empty: DP-1, DP-2,
HDMI-A-1, HDMI-A-2, HDMI-A-3 bus-ID: 28:00.0 chip-ID: 8086:56a0
Device-2: Logitech HD Webcam C615 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-2.4:4 chip-ID: 046d:082c
Device-3: Realtek RTL2838 DVB-T type: USB driver: usbfs bus-ID: 3-1:2
chip-ID: 0bda:2838
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
compositor: gnome-shell driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 d-rect: 5760x2160
display-ID: 0
Monitor-1: DP-3 pos: primary,left res: 3840x2160 size: N/A
Monitor-2: DP-4 pos: right res: 1920x1080 size: N/A
API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel Arc A770 Graphics
(DG2) direct-render: Yes
Describe the issue
I am attempting to view this page in Firefox 112.0.1:
https://cohost.org/mcc/post/1372446-empty
It works fine without TeamViewer running, but when I have a TeamViewer session viewing my Gnome Wayland desktop, the moment I move my cursor over the image in that post and the cursor changes to the rather large image of a motorbike in a window, both Gnome Shell and TeamViewer crash.
I thought this was caused by a regression in my Mesa Git build, which also has !20418 (merged) applied, but then I tried logging in again with stable Mesa 23.0.2 from the Arch repos, and it crashed too.
The crash does not occur if I run Firefox with Zink as its OpenGL driver.
Regression
I cannot tell if this is a Firefox bug, as this version of Firefox has also been crashing other experimental versions of Mesa I've been testing out, unless I run it with Zink.
Log files as attachment
-
Output of
dmesg
dmesg.txt -
Backtrace
gnome-shell:
#0 0x00007f25335750b2 in _int_free
(av=0x0, p=0x7f247803b450, have_lock=have_lock@entry=0) at malloc.c:4492
#1 0x00007f2533577e63 in __GI___libc_free (mem=<optimized out>)
at malloc.c:3367
#2 0x00007f2533577f52 in tcache_thread_shutdown () at malloc.c:3203
#3 __malloc_arena_thread_freeres ()
at /usr/src/debug/glibc/glibc/malloc/arena.c:1000
#4 0x00007f2533579f85 in __libc_thread_freeres () at thread-freeres.c:44
#5 0x00007f2533567a43 in start_thread (arg=<optimized out>)
at pthread_create.c:458
#6 0x00007f25335e9d90 in clone3 ()
at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
- Gpu hang details GPU doesn't hang, desktop session crashes.
Any extra information would be greatly appreciated
I was previously testing VM_BIND and Xe KMD configurations, but this is a plain i915 setup, and I initially thought it was related to the Xe interface code I had merged in.