Xorg crashes when using wine
I've had a problem for a while now where use of Wine will cause xorg to crash, in particular it seems to be when opening new windows. I only use wine for one program so I am not sure how universal the problem is, but it is reliably reproducible, and has been for most of the year now.
When running gdb remotely I captured the following stack trace.
"/usr/bin/Xorg": not in executable format: file format not recognized
Attaching to process 470
[New LWP 471]
[New LWP 472]
[New LWP 473]
[New LWP 474]
[New LWP 476]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fa10d08f612 in epoll_wait () from /lib64/libc.so.6
(gdb) cont
Continuing.
Thread 1 "Xorg" received signal SIGSEGV, Segmentation fault.
0x000055ba3ce55807 in ChangeWindowDeviceCursor (pWin=0x0, pDev=0x55ba3da1d490, pCursor=0x55ba3ded6d80)
at window.c:3467
3467 window.c: No such file or directory.
(gdb) bt f
#0 0x000055ba3ce55807 in ChangeWindowDeviceCursor (pWin=0x0, pDev=0x55ba3da1d490,
pCursor=0x55ba3ded6d80) at window.c:3467
pNode = <optimized out>
pPrev = <optimized out>
pOldCursor = 0x0
pScreen = <optimized out>
pChild = <optimized out>
#1 0x000055ba3cf0fe92 in ProcXIChangeCursor (client=0x55ba3dccff90) at xichangecursor.c:105
rc = <optimized out>
pWin = 0x0
pDev = 0x55ba3da1d490
pCursor = 0x55ba3ded6d80
stuff = <optimized out>
#2 0x000055ba3ce27364 in Dispatch () at dispatch.c:478
result = <optimized out>
client = 0x55ba3dccff90
start_tick = 600
#3 0x000055ba3ce2b354 in dix_main (argc=12, argv=0x7ffde0a57988, envp=<optimized out>) at main.c:276
i = <optimized out>
alwaysCheckForInput = {0, 1}
#4 0x00007fa10cfabe7b in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#5 0x000055ba3ce151aa in _start () at xichangecursor.c:65
No symbol table info available.
(gdb) detach
Detaching from program: /usr/libexec/Xorg, process 470
[Inferior 1 (process 470) detached]
Xorg version info:
# Xorg -version
InitConnectionLimits: MaxClients = 2048
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.3.9-gentoo x86_64 Gentoo
Current Operating System: Linux jukebox 5.3.9-gentoo #1 SMP PREEMPT Sat Nov 9 21:03:20 PST 2019 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.9-gentoo root=PARTUUID=7694810a-e1ac-4aaa-8be8-2ddf29d091d9 ro init=/usr/lib/systemd/systemd
Build Date: 18 November 2019 09:29:59PM
Current version of pixman: 0.38.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.