Current-Users archive

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

LOCKDEBUG: Mutex error: mi_switch,528: spin lock held



Hi,

I got a panic with recent updated source.

----------
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All
rights reserved.

[   1.0000000] NetBSD 9.99.20 (GENERIC) #3: Sat Dec  7 19:03:12 JST 2019
...
[   1.4973159] cpu0 has 1x core siblings:  cpu0
[   1.4973159] cpu0 has 4x package siblings:  cpu1 cpu2 cpu3 cpu0
[   1.4973159] cpu0 has 1x peer siblings:  cpu0
[   1.4973159] cpu1 has 1x core siblings:  cpu1
[   1.4973159] cpu1 has 4x package siblings:  cpu2 cpu3 cpu0 cpu1
[   1.4973159] cpu1 has 1x peer siblings:  cpu1
[   1.4973159] cpu2 has 1x core siblings:  cpu2
[   1.4973159] cpu2 has 4x package siblings:  cpu3 cpu0 cpu1 cpu2
[   1.4973159] cpu2 has 1x peer siblings:  cpu2
[   1.4973159] cpu3 has 1x core siblings:  cpu3
[   1.4973159] cpu3 has 4x package siblings:  cpu0 cpu1 cpu2 cpu3
[   1.4973159] cpu3 has 1x peer siblings:  cpu3
[   2.2846485] Mutex error: mi_switch,528: spin lock held

[   2.2846485] lock address : 0xffff9466c63e44c0 type     :               spin
[   2.2846485] initialized  : 0xffffffff809fb614
[   2.2846485] shared holds :                  0 exclusive:                  1
[   2.2846485] shares wanted:                  0 exclusive:                  0
[   2.2846485] current cpu  :                  1 last held:                  1
[   2.2846485] current lwp  : 0xffff94663ea08100 last held: 0xffff94663ea08100
[   2.2846485] last locked* : 0xffffffff809dbf35 unlocked : 0xffffffff809fbd4a
[   2.2846485] owner field  : 0x0000000000010700 wait/spin:                0/1

[   2.3346217] panic: LOCKDEBUG: Mutex error: mi_switch,528: spin lock held
[   2.3346788] cpu1: Begin traceback...
[   2.[3 3 46 728.83]3 a4c6p7i88b]a tv0p:a nfiac()i laet d tnoe
tebsvda:lvpuaantiec +0_xB1I78F
[   2.334[ 6 7 828.3] 3:46 7A8E8_]E RsRnOprRi
[   2.3346788] ntf() at netbsds:ds0n prati nstcfs
[   2.349254[3 ]   i2b.u3s409 2t5a4r3g]e tl o1c klduenb u0g:_
m<oMrsef(t),  aVti rtualn eDtibsskd,: l1o.c0k>d edbiusgk_ mfoirxee
5   2.35464[7 2 ]  2d.3
[46472] mis_sdw0i:t cfha(b) riacta ting na egtebosmde:tmriy_
[ [    2 .23.3554466447722]]  ssdw0i:t c8h1+902x06 5M
[   2.3546[4 7 2 ]2 .B3,5 4861497220 ]c yild,l e6_4l ohoepa(d),  a3t 2
sence,t b51s2d :biydtlees_/lsoeocpt+ 0xx 11a6d7
    2.[3 6 4 626.6326]4 767626126]0  csepcut_ohrast
[   2.36466[6 2 ] 2 .c3h6(4)6 6a6t2 ] snde0t: bfsadb:rcipcua_thiantgc
ha+ 0gxe1o7mfe
]   2[. 3 6 4626.6326]4 6t6r6y2
  cpu1: End traceback...
[   2.3746869] fat[   [2 . 3 7246.836794]6 8a6l9 ]b rdekak0 paoti nstd
0t: r"aEpF Ii"n,  s2u6p2e1r4v4i sbolro cmkosd ea
[ [    2 .23.734764866896]9 ]t  t6r4a,p  ttyyppee:  1n tcfodse
   [  2 . 327.34764866896]9 ]  0d kr1i pa t0 xsfdf0f:f
f"fNfeft8B0S2D1"d,d 81d5 9c1s2 303x889  rbflloacgsk s0 xa2t 0226
2c2r722,  0t iylpee:v eflf[s0
[  [  2 . 32.834864763723]2 ]x 8d krs2 pa t0 xsfdf0f:f 9"4s8w0a6p7"3,8 68e32806
[ [    2 .23.84368743627]3 24]6 3c ubrllwpo c0kxsf faftf
9145696338e5a06861400,  tpyipde :0 .s2w0a pl
[   [2 . 3 924.638944658]4 5ow]e scdt 0 kastt asccks 0ixbfufsf0f
94t8a0r6g7e3t8 321c 0l
  Stopped in pid 0.20 (system) at netbsd:breakpoint+0x5:  leave
db{1}> bt
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x178
snprintf() at netbsd:snprintf
lockdebug_more() at netbsd:lockdebug_more
mi_switch() at netbsd:mi_switch+0x65
idle_loop() at netbsd:idle_loop+0x1ad
cpu_hatch() at netbsd:cpu_hatch+0x17f
db{1}>
----------

-- 
Kimihiro Nonaka


Home | Main Index | Thread Index | Old Index