kernel panic at kern/arch/x86/trap.c:540, from core 2: Double fault! Check the kernel stack pointer; you likely ran off the end of the stack. HW TRAP frame at 0xfffffff000029f40 on core 2 rax 0x000000000000003d rbx 0xffffffffc8667ec0 rcx 0xffffffffc8667ec8 rdx 0x00000022c52446ce rbp 0xfffffff0000d0fd8 rsi 0x0000000000000003 rdi 0xffffffffc8667ec0 r8 0x0000000000000000 r9 0x0000000000000002 r10 0x0000000000000000 r11 0xfffffff0000d0e70 r12 0x0000000000000001 r13 0x0000000000000000 r14 0x00007f7fff9fecf8 r15 0x00000164c56a9707 trap 0x00000008 Double Fault gsbs 0xffffffffc8667ec0 fsbs 0x0000000000000000 err 0x--------00000000 rip 0xffffffffc209f6c1 cs 0x------------0008 flag 0x0000000000010246 rsp 0xfffffff0000d0fd8 ss 0x------------0010 Backtrace of kernel context on Core 2: #01 [<0xffffffffc209f6c1>] in cpu_halt at arch/x86/idle.c:20 #02 [<0xffffffffc2054706>] in __smp_idle at src/smp.c:84 kernel panic at kern/src/atomic.c:66, from core 3: Lock 0xffffffffc8665240 tried to spin when it shouldn't Stack Backtrace on Core 3: #01 [<0xffffffffc200a2bc>] in backtrace at src/kdebug.c:220 #02 [<0xffffffffc2009afd>] in _panic at src/init.c:268 #03 [<0xffffffffc2003998>] in spin_lock at src/atomic.c:66 #04 [<0xffffffffc2031934>] in chanfree at src/ns/chan.c:319 #05 [<0xffffffffc2031a3e>] in chan_release at src/ns/chan.c:179 #06 [<0xffffffffc203115b>] in kref_put at include/kref.h:70 #07 [<0xffffffffc2031848>] in cclose at src/ns/chan.c:333 #08 [<0xffffffffc2041878>] in close_fdt at src/ns/sysfile.c:1843 #09 [<0xffffffffc204cedf>] in proc_destroy at src/process.c:918 #10 [<0xffffffffc2056d36>] in sys_proc_destroy at src/syscall.c:909 #11 [<0xffffffffc2059439>] in syscall at src/syscall.c:2528 #12 [<0xffffffffc2059604>] in run_local_syscall at src/syscall.c:2563 #13 [<0xffffffffc2059b39>] in prep_syscalls at src/syscall.c:2583 #14 [<0xffffffffc20ab38a>] in sysenter_callwrapper at arch/x86/trap.c:854