NetBSD-Bugs archive

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

kern/54949: locking against myself in 9.99.46

>Number:         54949
>Category:       kern
>Synopsis:       locking against myself in 9.99.46
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 08 21:55:00 +0000 2020
>Originator:     Alexander Nasonov
>Release:        NetBSD 9.99.46
	NetBSD neva 9.99.46 NetBSD 9.99.46 (GENERIC) #0: Fri Feb  7 18:54:19 GMT 2020  alnsn@lonet:/scratch/alnsn/netbsd-current/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
	My system panicked when running pkgin full-upgrade. When it
	booted again and ran fsck, it was obvious that /usr/pkg and
	/var/db/pkg mounts were severely corrupted. I tried to clean
	them up by deleting all packages and it panicked again:

	Mutex error: mutex_vector_enter,542: locking againt myself

	lock address : 0xffffdc35188af0c0
	current cpu  :                  1
	current lwp  : 0xffffdc32fbf50680
	owner field  : 0xffffdc32fbf50680 wait/spin:         0/0

	Skipping crash dump on recursive panic
	panic: lock error: Mutex error: mutex_vector_enter,542: locking againt myself: lock 0xffffdc35188af0c0 cpu 1 lwp 0xffffdc32fbf50680
	cpu1: Begin traceback
	vpanic() at netbsd:vpanic+0x146
	snprintf() at netbsd:snprintf
	lockdebug_abort() at netbsd:lockdebug_abort+0xcd
	mutex_vector_enter() at netbsd:mutex_vector_enter+0x2e2
	suspendsched() at netbsd:suspendsched+0x19
	cpu_reboot() at netbsd:cpu_reboot+0x46
	sys_reboot() at netbsd:sys_reboot
	vpanic() at netbsd:vpanic+0x14f
	snprintf() at netbsd:snprintf
	startlwp() at netbsd:startlwp
	alltraps() at netbsd:alltraps+0xa5
	exit1() at netbsd:exit1+0x41f
	sys_exit() at netbsd:sys_exit+0x3d
	linux_syscall() at netbsd:linux_syscall+0x99
	cpu1: End traceback...

	I run a modified GENERIC without DIAGNOSTIC, SVS and
	spectre mitigation options.

	pkg_info -a | awk '{print $1}' | xargs -n1 pkg_delete -r

Home | Main Index | Thread Index | Old Index