Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Crash with HEAD on amd64 - in setrunnable()
On Sun, 24 Nov 2019, Paul Goyette wrote:
With a very current kernel, I just got this:
# crash -M /var/crash/netbsd.21.core -N /netbsd.gdb
Crash version 9.99.18, image version 9.99.18.
System panicked: kernel diagnostic assertion "lwp_locked(l,
l->l_cpu->ci_schedstate.spc_lwplock)" failed: file
"/build/netbsd-local/src_ro/sys/kern/kern_synch.c", line 910
Backtrace from time of crash is available.
crash> bt
_KERNEL_OPT_NVGA_RASTERCONSOLE() at 0
?() at ffffde890ce0af54
vpanic() at vpanic+0x181
kern_assert() at kern_assert+0x48
setrunnable() at setrunnable+0x179
lwp_start() at lwp_start+0xba
do_lwp_create() at do_lwp_create+0xa1
sys__lwp_create() at sys__lwp_create+0xc1
syscall() at syscall+0x28a
--- syscall (number 309) ---
45ae46:
crash>
(Obviously, I have a core dump, so I'll be happy to investigate further
if anyone has suggestions.)
Perhaps this is the "potential panic" that ad@ references in this commit
log message? :)
Module Name: src
Committed By: ad
Date: Sun Nov 24 13:23:57 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
lwp_start(): don't try to change the target CPU. Fixes potential panic
in setrunnable(). Oops, experimental change that escaped.
To generate a diff of this commit:
cvs rdiff -u -r1.213 -r1.214 src/sys/kern/kern_lwp.c
+--------------------+--------------------------+-----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
+--------------------+--------------------------+-----------------------+
Home |
Main Index |
Thread Index |
Old Index