Bug 291269 - kqueue(2): Panic on cleanup
Summary: kqueue(2): Panic on cleanup
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 15.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2025-11-28 16:45 UTC by Jake Freeland
Modified: 2025-11-28 16:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jake Freeland 2025-11-28 16:45:31 UTC
I am running into an issue when using syncthing (a p2p file sync program) where the system panics when sync starts up. I have run into the bug consistently on 15-RC2 and 16 CURRENT as of a week ago.

The bug seems to be caused by the underlying kqueue memory being freed before the knotes are cleaned up.

Panic dumps are here: https://people.freebsd.org/~jfree/kqueue_panic/