login: panic: sx lock still held cpuid = 0 time = 1552762818 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe001fa45770 vpanic() at vpanic+0x1e0/frame 0xfffffe001fa457d0 panic() at panic+0x43/frame 0xfffffe001fa45830 sx_destroy() at sx_destroy+0x5e/frame 0xfffffe001fa45850 solisten_proto() at solisten_proto+0xde/frame 0xfffffe001fa458b0 uipc_listen() at uipc_listen+0x124/frame 0xfffffe001fa45900 solisten() at solisten+0x7a/frame 0xfffffe001fa45940 kern_listen() at kern_listen+0x132/frame 0xfffffe001fa45980 amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe001fa45ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe001fa45ab0 --- syscall (0, FreeBSD ELF64, nosys), rip = 0x45c3ca, rsp = 0x7fffdffdcf88, rbp = 0x6bb140 --- KDB: enter: panic [ thread pid 794 tid 100167 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why