NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/56413: bad mutex owner in soreceive



>Number:         56413
>Category:       kern
>Synopsis:       bad mutex owner in soreceive
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 21 09:05:00 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.88
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD gethsemane.aprisoft.de 9.99.88 NetBSD 9.99.88 (GETHSEMANE) #129: Tue Sep 14 11:00:39 CEST 2021 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/macppc/compile/GETHSEMANE macppc
Architecture: powerpc
Machine: macppc
>Description:

While scp'ing some files over to this macppc I got an assertion failure:

[ 120.1950992] Mutex error: mutex_vector_exit,753: assertion failed: MUTEX_OWNER(mtx->mtx_owner) == curthread

[ 120.2151045] lock address : 0x000000005fbcb080
[ 120.2251102] current cpu  :                  1
[ 120.2351143] current lwp  : 0x0000000010c8e400
[ 120.2451197] owner field  : 000000000000000000 wait/spin:                0/0

[ 120.2551264] panic: lock error: Mutex: mutex_vector_exit,753: assertion failed: MUTEX_OWNER(mtx->mtx_owner) == curthread: lock 0x5fbcb080 cpu 1 lwp 0x10c8e400
[ 120.2851394] cpu1: Begin traceback...
[ 120.2951449] 0x10e56d20: at vpanic+0x12c
[ 120.3051490] 0x10e56d50: at panic+0x50
[ 120.3151540] 0x10e56d90: at lockdebug_abort+0xe4
[ 120.3251596] 0x10e56db0: at mutex_spin_exit+0x104
[ 120.3351645] 0x10e56dc0: at soreceive+0x7a0
[ 120.3451697] 0x10e56e60: at dofileread+0x88
[ 120.3551755] 0x10e56eb0: at syscall+0x350
[ 120.3651792] 0x10e56f20: user SC trap #3 by 0xfd0d09a8: srr1=0xd032
[ 120.3751842]             r1=0xffffa3e0 cr=0x48000442 xer=0x20000000 ctr=0xfd0d09a0
[ 120.3851899] cpu1: End traceback...
[ 120.3951946] Failed to pause: cpu0
Stopped in pid 1082.1082 (sshd) at      netbsd:vpanic+0x130:    or      r3, r26,
 r26
db{1}> show lock 0x000000005fbcb080
Sorry, kernel not built with the LOCKDEBUG option.


>How-To-Repeat:
s/a (not reliably reproducable)

>Fix:
n/a



Home | Main Index | Thread Index | Old Index