panic: sx lock still held cpuid = 1 time = 1559950395 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0020f08760 vpanic() at vpanic+0x1e0/frame 0xfffffe0020f087c0 panic() at panic+0x43/frame 0xfffffe0020f08820 sx_destroy() at sx_destroy+0x5e/frame 0xfffffe0020f08840 solisten_proto() at solisten_proto+0xd2/frame 0xfffffe0020f088a0 tcp_usr_listen() at tcp_usr_listen+0x188/frame 0xfffffe0020f08900 solisten() at solisten+0x7a/frame 0xfffffe0020f08940 kern_listen() at kern_listen+0x132/frame 0xfffffe0020f08980 amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe0020f08ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0020f08ab0 --- syscall (198, FreeBSD ELF64, nosys), rip = 0x4131ba, rsp = 0x7fffdfffdf38, rbp = 0x2 --- KDB: enter: panic [ thread pid 902 tid 100236 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why