Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2026 09:30:35 +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-7q6V84rfiU@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 #35 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Paul from comment #34)
No, the problem is the knote found on the kq_knlist[ident] belongs to different
kqueue.
In other words, kn->kn_kq != kq.  This is why the assert about owning the kq
lock
failed.

This is very strange thing to happen, but it is consistent with the previous
report.
Lets add asserts everywhere that kn->kn_kq is matching the code expectation. 
Also I am somewhat suspicious of kqueue_expand(), I added a check after
bzero().

What is the CPU that you use?  Show the CPU ident lines from the verbose dmesg.
Or/and, show the output from 'cpuid-etallen -1'.

-- 
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-7q6V84rfiU>