tech-kern archive

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

LOCKDEBUG panic: lockdebug_alloc: already initialized



Hi,

While building packages I got the following panic message:

Mutex error: lockdebug_alloc: already initialized

lock address : 0xffffffff80f96d20 type     :     sleep/adaptive
initialized  : 0xffffffff80f8c8b1
shared holds :                  0 exclusive:                  0
shared wanted:                  0 exclusive:                  0
current cpu  :                  3 last held:                  0
current lwp  : 0xffff8000907968e0 last held: 000000000000000000
last locked  : 0xffffffff80f8c4e6 unlocked*: 0xffffffff80f8c43f
owner field  : 000000000000000000 wait/spin:                0/0

Turnstile chain at 0xffffffff80cf3700
=> No active turnstile for this lock.

panic: LOCKDEBUG
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff8024088d cs 8 rflags 246 cr2  fb84b0a0 cpl 0 rsp
ffff80008a915920
Stopped in pid 10105.10105 (npviewer.bin) at    netbsd:breakpoint+0x5:  leave

the trace for that process (on cpu3) is:
trace: pid 10105 lide 10105 at 0xffff80008a915920
breakpoint()
panic()
lockdebug_locked()
lockdebug_alloc()
mutex_init() at netbsd:
futex_init() at compat_linux:
linux_do_futex() at compat_linux:

for cpu0:
lockdebug_wantlock()
mutex_enter()
ffs_sync()
VFS_SYNC()
sync_fsync()
VOP_FSYNC()
sched_sync()

(cpu1 and cpu2 were doing acpicpu_cstate_idle)

PS. I have rebooted the machine so I can finally hookup a serial
console, so I can't get more info now.

kind regards
dieter


Home | Main Index | Thread Index | Old Index