x11/libinput assertion error

From: Charlie Li <vishwin_at_freebsd.org>
Date: Thu, 30 Mar 2023 13:25:03 UTC
Somewhere between -CURRENT 0e71f4f77c016b4087106e7c58b958667df8e1b2 and 
a02d9cad77c1207eb809ba49fc1595c8ebb2da26, xorg-server crashes on launch. 
It happens right when loading xf86-input-libinput, for which the error 
only mentions a segfault at 0x0b. Switching to xf86-input-evdev (and 
removing xf86-input-libinput) allows X to start, but this is not optimal.

Further investigation revealed that even libinput-list-devices(1) 
crashes, although with a clear-cut assertion error:
> Assertion failed: (libinput->refcount > 0), function libinput_unref, file ../src/libinput.c, line 1957.

All of the ports involved have remained the same, albeit rebuilt after 
the intervening ABI bump.

-- 
Charlie Li
…nope, still don't have an exit line.