Xorg Crashes - Possible libinput Bug(?)

Last 3-4 days I was having this weird bug of getting logged out of my session while scrolling in the browser(vivaldi). It was at most once daily so I didn’t care much and thought maybe hotfix from some library is on the way. After it happened thrice today already I did some digging in the journalctl and figured out it maybe a libinput bug. Some googling revealed someone posted a very recent such issue at xorg.

Relevant journalctl output:

systemd-coredump[23322]: Process 18052 (Xorg) of user 0 dumped core.

Stack trace of thread 18067:
#0  0x00007f2cbbfcd7e4 n/a (intel_drv.so)
#1  0x00007f2cbbf51068 n/a (intel_drv.so)
#2  0x00005599e9a60d79 n/a (Xorg)
#3  0x00007f2cbf7b0dd0 __restore_rt (libpthread.so.0)
#4  0x00007f2cbf41c860 raise (libc.so.6)
#5  0x00007f2cbf41dec9 abort (libc.so.6)
#6  0x00007f2cbf4150bc __assert_fail_base (libc.so.6)
#7  0x00007f2cbf415133 __assert_fail (libc.so.6)
#8  0x00007f2cb054362e n/a (libinput.so.10)
#9  0x00007f2cb0544298 n/a (libinput.so.10)
#10 0x00007f2cb0530188 n/a (libinput.so.10)
#11 0x00007f2cb052fa6f libinput_dispatch (libinput.so.10)
#12 0x00007f2cb0763c19 n/a (libinput_drv.so)
#13 0x00005599e9a5f163 n/a (Xorg)
#14 0x00005599e9a61861 n/a (Xorg)
#15 0x00005599e9a5efae n/a (Xorg)
#16 0x00007f2cbf7a608c start_thread (libpthread.so.0)
#17 0x00007f2cbf4dde7f __clone (libc.so.6)

Stack trace of thread 18052:
#0  0x00007f2cbf4ddfe6 epoll_pwait (libc.so.6)
#1  0x00005599e9a61817 n/a (Xorg)
#2  0x00005599e9a5a70b WaitForSomething (Xorg)
#3  0x00005599e98fafc3 n/a (Xorg)
#4  0x00005599e98ff260 n/a (Xorg)
#5  0x00007f2cbf408f4a __libc_start_main (libc.so.6)
#6  0x00005599e98e8f0a _start (Xorg)

Stack trace of thread 18053:
#0  0x00007f2cbf7ac3bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1  0x00007f2cbbfcd4a0 n/a (intel_drv.so)
#2  0x00007f2cbf7a608c start_thread (libpthread.so.0)
#3  0x00007f2cbf4dde7f __clone (libc.so.6)

Stack trace of thread 18063:
#0  0x00007f2cbf7ac3bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1  0x00007f2cb8880fec n/a (r600_dri.so)
#2  0x00007f2cb8880ef8 n/a (r600_dri.so)
#3  0x00007f2cbf7a608c start_thread (libpthread.so.0)
#4  0x00007f2cbf4dde7f __clone (libc.so.6)

Stack trace of thread 18064:
#0  0x00007f2cbf7ac3bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1  0x00007f2cb8880fec n/a (r600_dri.so)
#2  0x00007f2cb8880ef8 n/a (r600_dri.so)
#3  0x00007f2cbf7a608c start_thread (libpthread.so.0)
#4  0x00007f2cbf4dde7f __clone (libc.so.6)

I went back to check my pacman log and indeed there was a recent libinput update on 15th Feb [1.9.4-1 -> 1.10.0-1]. I reverted back half an hour ago. Will update here if I still face the issue.

1 Like

Is this still happening?

ah I went to sleep after the post. Let me use today fully and then I would update at night

UPDATE: no more crashes today :smile: Hope this is not just placebo :crossed_fingers: Will mark as solved after tomorrow!

1 Like

Glad to hear it, I’ll keep mine crossed for ya too :stuck_out_tongue:

1 Like

latest libinput update [1.10.0-1 -> 1.10.1-1] fixed the issue:ok_hand: