Xorg Segfaults
Hello! When running Xorg with libinput-config, any mouse movement or keypress causes Xorg to segfault. I'm running Arch Linux with the AUR git package.
Coredump Trace:
Core was generated by `/usr/lib/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tc'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000000000 in ?? ()
[Current thread is 1 (Thread 0x7fbb31bff6c0 (LWP 15279))]
(gdb) bt
#0 0x0000000000000000 in ()
#1 0x00007fbb703d033b in libinput_get_event (libinput=0x564408acb520) at ../libinput-config/src/hooks/init.c:52
#2 0x00007fbb64bf8066 in xf86libinput_read_input (pInfo=<optimized out>)
at /usr/src/debug/xf86-input-libinput/xf86-input-libinput-1.3.0/src/xf86libinput.c:2664
#3 0x00005644079070f6 in InputReady (fd=27, xevents=1, data=0x564408b0bb90) at ../xorg-server-21.1.8/os/inputthread.c:180
#4 0x00005644079088c2 in ospoll_wait (ospoll=0x5644088dd520, timeout=timeout@entry=-1) at ../xorg-server-21.1.8/os/ospoll.c:657
#5 0x000056440790bdd9 in InputThreadDoWork (arg=<optimized out>) at ../xorg-server-21.1.8/os/inputthread.c:369
#6 0x00007fbb6fe1e44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#7 0x00007fbb6fea1e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
I tried debugging it, but it seems to segfault calling libinput_event_get_type
on that line.
Any help getting it to work would be appreciated. Thanks!
Edited by Max Qian