Bug 280667 - kernel panicked while using vscode
Summary: kernel panicked while using vscode
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2024-08-07 04:34 UTC by s_mitu@os.rim.or.jp
Modified: 2024-08-19 09:57 UTC (History)
1 user (show)

See Also:


Attachments
crashinfo (core.txt) (131.72 KB, application/gzip)
2024-08-07 04:34 UTC, s_mitu@os.rim.or.jp
no flags Details
coreinfo about another pattern of panic (142.08 KB, application/gzip)
2024-08-07 06:59 UTC, s_mitu@os.rim.or.jp
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.