Re: pkg with an ssh repo crashes CURRENT

From: Mark Felder <feld_at_FreeBSD.org>
Date: Wed, 19 Aug 2015 16:52:56 -0500
Here we go:

root_at_gw:/usr/home/feld # pkg upgrade
Updating me repository catalogue...
Password for feld_at_skeletor.feld.me:
me repository is up-to-date.
All repositories are up-to-date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        pkg: 1.5.5 -> 1.5.6

The operation will free 10 KiB.
2 MiB to be downloaded.

Proceed with this action? [y/N]: y
lock order reversal:
 1st 0xfffffe00f52a8e00 bufwait (bufwait) _at_
 /usr/src/sys/kern/vfs_bio.c:3191
 2nd 0xfffff8001747e000 dirhash (dirhash) _at_
 /usr/src/sys/ufs/ufs/ufs_dirhash.c:281
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
0xfffffe01228ea400
witness_checkorder() at witness_checkorder+0xe7a/frame
0xfffffe01228ea480
_sx_xlock() at _sx_xlock+0x75/frame 0xfffffe01228ea4c0
ufsdirhash_add() at ufsdirhash_add+0x3d/frame 0xfffffe01228ea510
ufs_direnter() at ufs_direnter+0x5da/frame 0xfffffe01228ea5e0
ufs_makeinode() at ufs_makeinode+0x5d3/frame 0xfffffe01228ea7a0
ufs_create() at ufs_create+0x2d/frame 0xfffffe01228ea7c0
VOP_CREATE_APV() at VOP_CREATE_APV+0xf1/frame 0xfffffe01228ea7f0
vn_open_cred() at vn_open_cred+0x30e/frame 0xfffffe01228ea960
kern_openat() at kern_openat+0x235/frame 0xfffffe01228eaae0
amd64_syscall() at amd64_syscall+0x282/frame 0xfffffe01228eabf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe01228eabf0
--- syscall (499, FreeBSD ELF64, sys_openat), rip = 0x8024a8f7a, rsp =
0x7fffffffd458, rbp = 0x7fffffffd550 ---
lock order reversal:
 1st 0xfffff800785047c8 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2219
 2nd 0xfffffe00f52a8e00 bufwait (bufwait) _at_
 /usr/src/sys/ufs/ffs/ffs_vnops.c:263
 3rd 0xfffff800784ea5f0 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2219
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
0xfffffe01228e9df0
witness_checkorder() at witness_checkorder+0xe7a/frame
0xfffffe01228e9e70
__lockmgr_args() at __lockmgr_args+0xa5c/frame 0xfffffe01228e9fa0
ffs_lock() at ffs_lock+0x84/frame 0xfffffe01228e9ff0
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xfc/frame 0xfffffe01228ea020
_vn_lock() at _vn_lock+0x9a/frame 0xfffffe01228ea090
vget() at vget+0x7e/frame 0xfffffe01228ea0e0
vfs_hash_get() at vfs_hash_get+0xcc/frame 0xfffffe01228ea130
ffs_vgetf() at ffs_vgetf+0x40/frame 0xfffffe01228ea1c0
softdep_sync_buf() at softdep_sync_buf+0xa8f/frame 0xfffffe01228ea2a0
ffs_syncvnode() at ffs_syncvnode+0x259/frame 0xfffffe01228ea320
ffs_truncate() at ffs_truncate+0x6f4/frame 0xfffffe01228ea510
ufs_direnter() at ufs_direnter+0x767/frame 0xfffffe01228ea5e0
ufs_makeinode() at ufs_makeinode+0x5d3/frame 0xfffffe01228ea7a0
ufs_create() at ufs_create+0x2d/frame 0xfffffe01228ea7c0
VOP_CREATE_APV() at VOP_CREATE_APV+0xf1/frame 0xfffffe01228ea7f0
vn_open_cred() at vn_open_cred+0x30e/frame 0xfffffe01228ea960
kern_openat() at kern_openat+0x235/frame 0xfffffe01228eaae0
amd64_syscall() at amd64_syscall+0x282/frame 0xfffffe01228eabf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe01228eabf0
--- syscall (499, FreeBSD ELF64, sys_openat), rip = 0x8024a8f7a, rsp =
0x7fffffffd458, rbp = 0x7fffffffd550 ---
Fetching pkg-1.5.6.txz: 100%    2 MiB   2.5MB/s    00:01    
Checking integrity... done (0 conflicting)
[1/1] Upgrading pkg from 1.5.5 to 1.5.6...
panic: children list
cpuid = 0
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
0xfffffe01228ea840
vpanic() at vpanic+0x189/frame 0xfffffe01228ea8c0
kassert_panic() at kassert_panic+0x132/frame 0xfffffe01228ea930
kern_procctl_single() at kern_procctl_single+0x81c/frame
0xfffffe01228eaa00
kern_procctl() at kern_procctl+0x223/frame 0xfffffe01228eaa50
sys_procctl() at sys_procctl+0xa5/frame 0xfffffe01228eaae0
amd64_syscall() at amd64_syscall+0x282/frame 0xfffffe01228eabf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe01228eabf0
--- syscall (544, FreeBSD ELF64, sys_procctl), rip = 0x80244bc7a, rsp =
0x7fffffffd2c8, rbp = 0x7fffffffd410 ---
KDB: enter: panic
[ thread pid 1586 tid 100146 ]
Stopped at      kdb_enter+0x3e: movq    $0,kdb_why
db> 
db> bt
Tracing pid 1586 tid 100146 td 0xfffff800784214d0
kdb_enter() at kdb_enter+0x3e/frame 0xfffffe01228ea840
vpanic() at vpanic+0x1a9/frame 0xfffffe01228ea8c0
kassert_panic() at kassert_panic+0x132/frame 0xfffffe01228ea930
kern_procctl_single() at kern_procctl_single+0x81c/frame
0xfffffe01228eaa00
kern_procctl() at kern_procctl+0x223/frame 0xfffffe01228eaa50
sys_procctl() at sys_procctl+0xa5/frame 0xfffffe01228eaae0
amd64_syscall() at amd64_syscall+0x282/frame 0xfffffe01228eabf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe01228eabf0
--- syscall (544, FreeBSD ELF64, sys_procctl), rip = 0x80244bc7a, rsp =
0x7fffffffd2c8, rbp = 0x7fffffffd410 ---
Received on Wed Aug 19 2015 - 19:52:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC