Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffffff8102b53b stack pointer = 0x0:0xfffffe0016bba900 frame pointer = 0x0:0xfffffe0016bba990 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 15 (sctp_iterator) trap number = 9 panic: general protection fault cpuid = 0 time = 1567390774 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0016bba5d0 vpanic() at vpanic+0x1e0/frame 0xfffffe0016bba630 panic() at panic+0x43/frame 0xfffffe0016bba690 trap_fatal() at trap_fatal+0x4de/frame 0xfffffe0016bba710 trap() at trap+0xb8/frame 0xfffffe0016bba830 calltrap() at calltrap+0x8/frame 0xfffffe0016bba830 --- trap 0x9, rip = 0xffffffff8102b53b, rsp = 0xfffffe0016bba900, rbp = 0xfffffe0016bba990 --- __mtx_lock_sleep() at __mtx_lock_sleep+0x17b/frame 0xfffffe0016bba990 __mtx_lock_flags() at __mtx_lock_flags+0x157/frame 0xfffffe0016bba9f0 sctp_iterator_worker() at sctp_iterator_worker+0x422/frame 0xfffffe0016bbaa40 sctp_iterator_thread() at sctp_iterator_thread+0x5e/frame 0xfffffe0016bbaa60 fork_exit() at fork_exit+0xb0/frame 0xfffffe0016bbaab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0016bbaab0 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- KDB: enter: panic [ thread pid 15 tid 100054 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why