Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jun 2026 15:16:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293085] evdev crash upon usb mouse disconnect with evdev_moused runing
Message-ID:  <bug-293085-227-D9y0EuIYST@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-293085-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293085-227-D9y0EuIYST>