Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Mar 2026 09:41:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293382] Dead lock and kernel crash around closefp_impl
Message-ID:  <bug-293382-227-LGLXjTYS3n@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-293382-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=293382

--- Comment #7 from Paul <devgs@ukr.net> ---
And it crashed again, just now. Still no core dump. But this time it looks
pretty interesting. It may be the hint of the problem: a missing lock, hence
the 'racy' nature of the issue.


<118>Starting syslogd.
<118>savecore 1735 - - reboot after panic: general protection fault
<118>Mar  3 12:14:25 frv21 savecore[1735]: reboot after panic: general
protection fault
<118>savecore 1735 - - writing core to /var/crash/textdump.tar.1
<118>Writing crash summary to /var/crash/core.txt.1.
<118>Starting chronyd.
<118>Starting local daemons:add net 10.0.0.0: gateway 10.10.255.254
<118>.
<118>Mounting late filesystems:.
<118>Starting powerd.
<118>Starting snmpd.
<118>Starting collectd.
<118>Starting nrpe.
<118>Starting cron.
<118>Performing sanity check on sshd configuration.
<118>Starting sshd.
<118>Starting background file system checks in 60 seconds.
<118>
<118>Tue Mar  3 12:14:25 EET 2026
panic: mutex kqueue not owned at /usr/src/sys/kern/kern_event.c:290
cpuid = 24
time = 1772701913
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe07171f5810
vpanic() at vpanic+0x161/frame 0xfffffe07171f5940
panic() at panic+0x43/frame 0xfffffe07171f59a0
__mtx_assert() at __mtx_assert+0x9f/frame 0xfffffe07171f59b0
kqueue_register() at kqueue_register+0x758/frame 0xfffffe07171f5a30
kqueue_kevent() at kqueue_kevent+0xc9/frame 0xfffffe07171f5c90
kern_kevent_fp() at kern_kevent_fp+0x9b/frame 0xfffffe07171f5ce0
kern_kevent() at kern_kevent+0x82/frame 0xfffffe07171f5d40
kern_kevent_generic() at kern_kevent_generic+0x70/frame 0xfffffe07171f5da0
sys_kevent() at sys_kevent+0x61/frame 0xfffffe07171f5e00
amd64_syscall() at amd64_syscall+0x15a/frame 0xfffffe07171f5f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe07171f5f30
--- syscall (560, FreeBSD ELF64, kevent), rip = 0x82d3df3ea, rsp = 0x85ca5eb58,
rbp = 0x85ca5ec40 ---
KDB: enter: panic

-- 
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-293382-227-LGLXjTYS3n>