Bug #2507

panic running poudriere: assertion "ref >= &td->td_toks_base && ref->tr_tok == tok" failed

Added by ftigeot over 3 years ago. Updated over 3 years ago.

Status:ResolvedStart date:02/06/2013
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


Running 4 poudriere jobs on a 4 cores/8 threads machine

DragonFly 3.3 crashes with this panic:

panic: assertion "ref >= &td->td_toks_base && ref->tr_tok == tok" failed in lwkt_reltoken at /usr/src/sys/kern/lwkt_token.c:787

(kgdb) #0 _get_mycpu () at ./machine/thread.h:69
#1 md_dumpsys (di=<optimized out>)
at /usr/src/sys/platform/pc64/x86_64/dump_machdep.c:265
#2 0xffffffff804f5d12 in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:913
#3 0xffffffff804f6376 in boot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:373
#4 0xffffffff804f662d in panic (fmt=0xffffffff80906e0b "%s")
at /usr/src/sys/kern/kern_shutdown.c:819
#5 0xffffffff808b6428 in trap_fatal (frame=0xffffffe2357a5678,
eva=<optimized out>) at /usr/src/sys/platform/pc64/x86_64/trap.c:1029
#6 0xffffffff808b6646 in trap_pfault (frame=0xffffffe2357a5678, usermode=0)
at /usr/src/sys/platform/pc64/x86_64/trap.c:917
#7 0xffffffff808b6d25 in trap (frame=0xffffffe2357a5678)
at /usr/src/sys/platform/pc64/x86_64/trap.c:611
#8 0xffffffff808a0cff in calltrap ()
at /usr/src/sys/platform/pc64/x86_64/exception.S:188
#9 0xffffffff808b0ed9 in db_read_bytes (addr=495639883132, size=8,
data=0xffffffe2357a5758 "")
at /usr/src/sys/platform/pc64/x86_64/db_interface.c:240
#10 0xffffffff802a735d in db_get_value (addr=495639883132, size=8,
is_signed=0) at /usr/src/sys/ddb/db_access.c:58
#11 0xffffffff808b1b75 in db_nextframe (ip=<optimized out>,
fp=<optimized out>) at /usr/src/sys/platform/pc64/x86_64/db_trace.c:234
#12 db_stack_trace_cmd (addr=<optimized out>, have_addr=<optimized out>,
count=<optimized out>, modif=<optimized out>)
at /usr/src/sys/platform/pc64/x86_64/db_trace.c:440
#13 0xffffffff808b1d37 in print_backtrace (count=897210200)
at /usr/src/sys/platform/pc64/x86_64/db_trace.c:452
#14 0xffffffff804f65f8 in panic (
fmt=0xffffffff808fb248 "assertion \"%s\" failed in %s at %s:%u")
at /usr/src/sys/kern/kern_shutdown.c:812
#15 0xffffffff80508752 in lwkt_reltoken (tok=<optimized out>)
at /usr/src/sys/kern/lwkt_token.c:787
#16 0xffffffff80577c55 in sys_unmount (uap=0xffffffe2357a5a08)
at /usr/src/sys/kern/vfs_syscalls.c:624
#17 0xffffffff808b76a3 in syscall2 (frame=0xffffffe2357a5ab8)
at /usr/src/sys/platform/pc64/x86_64/trap.c:1238
#18 0xffffffff808a0f4b in Xfast_syscall ()
at /usr/src/sys/platform/pc64/x86_64/exception.S:323
#19 0x000000000000002b in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


#1 Updated by ftigeot over 3 years ago

Core dump files uploaded to leaf:~ftigeot/crash/crash.63

#2 Updated by ftigeot over 3 years ago

  • Status changed from New to Resolved

Should be fixed, along with many other issues recently discovered by poudriere.

Also available in: Atom PDF