panic: assertion "ref < &td->td_toks_end" failed in lwkt_gettoken at /usr/src/sys/kern/lwkt_token.c:588
I don't know if this is important or not, so you can close the bug if the info isn't useful. Don't worry. I don't need a fix. I've opened the bug only for share the core.txt.
I was compiling a package in the console (the real console, no in a X terminal) and I closed my Xorg session with [Ctrl]+[C]. The system crashed.
Updated by vsrinivas over 7 years ago
Hi! By chance do you have the kernel image and a core dump?
The initial panic was not exceeding the bounds of the tokref array, that is only the final panic in a chain of page faults. The initial panic was :
Fatal trap 7: system forced exception while in user mode
cpuid = 2; lapic.id = 01000000
instruction pointer = 0x1f:0x80b6c18
stack pointer = 0x2f:0xbfbfce5c
frame pointer = 0x2f:0xbfbfce98
code segment = base 0xff814000, limit 0x9, type 0x13
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 9476 (sh)
current thread = pri 6
<- SMP: XXX
kernel: type 7 trap, code=4
CPU2 stopping CPUs: 0x0000000b