Bug 280667

Summary: kernel panicked while using vscode
Product: Base System Reporter: s_mitu <s_mitu>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Some People CC: markj
Priority: --- Keywords: crash
Version: 15.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
crashinfo (core.txt)
none
coreinfo about another pattern of panic none

Description s_mitu@os.rim.or.jp 2024-08-07 04:34:24 UTC
Created attachment 252578 [details]
crashinfo (core.txt)

I'm using current main-n271542-4c5188bbeb88.
The kernel crashed while  using vscode-1.91.1_2.

Panic String
panic: lock (sleep mutex) umtxql not locked @ /usr/src/sys/sys/umtxvar.h:262

Attached is crashinfo(core.txt) when panic occurs.
Comment 1 s_mitu@os.rim.or.jp 2024-08-07 06:59:39 UTC
Created attachment 252584 [details]
coreinfo about another pattern of panic

Another pattern of panic

Panic String
panic: mutex umtxql not owned at /usr/src/sys/kern/kern_umtx.c:509

Attached is crashinfo (core.txt.2.gz)
Comment 2 Mark Johnston freebsd_committer freebsd_triage 2024-08-09 17:47:52 UTC
Does the patch in https://reviews.freebsd.org/D40481 fix your crash?
Comment 3 s_mitu@os.rim.or.jp 2024-08-19 09:57:05 UTC
(In reply to Mark Johnston from comment #2)
I applied this patch to the source of revision 4c5188bbeb88 : https://reviews.freebsd.org/file/data/46vn3u4fppozrmbpumm3/PHID-FILE-fpq3ig3mungpijncdlfe/D40481.diff
I've had no kernel panics using VSCode with this patched kernel.
This panic occurred frequently when the kernel was not patched, so this feels like an improvement.