panic: sx lock still held cpuid = 0 time = 1570705061 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0022b43750 vpanic() at vpanic+0x1c7/frame 0xfffffe0022b437c0 panic() at panic+0x43/frame 0xfffffe0022b43820 sx_destroy() at sx_destroy+0x63/frame 0xfffffe0022b43840 solisten_proto() at solisten_proto+0xd2/frame 0xfffffe0022b438a0 tcp_usr_listen() at tcp_usr_listen+0x188/frame 0xfffffe0022b43900 solisten() at solisten+0x7a/frame 0xfffffe0022b43940 kern_listen() at kern_listen+0x125/frame 0xfffffe0022b43980 amd64_syscall() at amd64_syscall+0x473/frame 0xfffffe0022b43ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0022b43ab0 --- syscall (198, FreeBSD ELF64, nosys), rip = 0x4132aa, rsp = 0x7fffdffdcf38, rbp = 0x2 --- KDB: enter: panic [ thread pid 964 tid 100220 ] Stopped at kdb_enter+0x67: movq $0,0x1477516(%rip)