NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/57842: ddb kill command is broken when ddb traps via interrupt handler
>Number: 57842
>Category: kern
>Synopsis: ddb kill command is broken when ddb traps via interrupt handler
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 13 04:50:01 +0000 2024
>Originator: Taylor R Campbell
>Release: 10.0_BETA
>Organization:
The NetDDB Foundation
>Environment:
>Description:
db{0}> kill 0t5399
panic: kernel diagnostic assertion "!cpu_intr_p()" failed: file "/home/riastradh/netbsd/10/src/sys/kern/kern_sig.c", line 1315
[ 112646.9118663] cpu0: Begin traceback...
[ 112646.9118663] vpanic() at netbsd:vpanic+0x183
[ 112646.9118663] kern_assert() at netbsd:kern_assert+0x4b
[ 112646.9118663] kpsignal2() at netbsd:kpsignal2+0x51a
[ 112646.9118663] db_kill_proc() at netbsd:db_kill_proc+0xa9
[ 112646.9118663] db_command() at netbsd:db_command+0x123
[ 112646.9118663] db_command_loop() at netbsd:db_command_loop+0xa4
[ 112646.9118663] db_trap() at netbsd:db_trap+0xe9
[ 112646.9118663] kdb_trap() at netbsd:kdb_trap+0x106
[ 112646.9118663] trap() at netbsd:trap+0x2f4
[ 112646.9118663] --- trap (number 1) ---
[ 112646.9118663] breakpoint() at netbsd:breakpoint+0x5
[ 112646.9118663] comintr() at netbsd:comintr+0x7e0
[ 112646.9118663] intr_kdtrace_wrapper() at netbsd:intr_kdtrace_wrapper+0x26
[ 112646.9118663] cpu0: End traceback...
>How-To-Repeat:
enter ddb via cnmagic (i.e., keyboard interrupt handler)
try to kill a process
>Fix:
Yes, please!
Home |
Main Index |
Thread Index |
Old Index