[Bug 293085] evdev crash upon usb mouse disconnect with evdev_moused runing
Date: Sun, 07 Jun 2026 15:16:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293085
Donn Seeley <donn@xmission.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |donn@xmission.com
--- Comment #4 from Donn Seeley <donn@xmission.com> ---
I have now had two very similar crashes with FreeBSD 15, most recently with
15.0-RELEASE-p9. The crash looks like a race between moused and the usbus0
thread -- the saved value of 'x' on entry to _sx_xlock_hard() is a pointer to
the usbus0 thread struct. The respective stacks seem to show a race between
evdev_dtor() in moused and evdev_unregister() in usbus0. The fix in comment #1
looks like it probably solves the problem. Can we get it backported to 15.0?
Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.