Subject: bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed"

From: Po Lu <[email-masked]>
Date: Fri, 19 Aug 2022 09:42:53 +0800

Joe Corneli <[email-masked]> writes:

> Thank you!

Thanks.  That's pretty odd, I guess gdk_device_get_seat is what's
failing here, followed by the reference to source_device->last_tool
causing a segfault.

When you next encounter this crash, please show the value of
"xev->sourceid" (p xev->sourceid in gdb) and the shell command "xinput
list-devices" immediately after it happens.