Subject: kern/22551: panic: kernel diagnostic assertion to_ticks>=0 failed: kern_timeout.c line 295
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dogcow@babymeat.com>
List: netbsd-bugs
Date: 08/20/2003 01:30:04
>Number: 22551
>Category: kern
>Synopsis: panic: kernel diagnostic assertion to_ticks>=0 failed: kern_timeout.c line 295
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 20 08:31:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Tom Spindler
>Release: NetBSD 1.6W
>Organization:
>Environment:
System: NetBSD beefcake.babymeat.com 1.6W NetBSD 1.6W (BEEFCAKE) #44: Fri Aug 15 01:41:43 PDT 2003 dogcow@beefcake.babymeat.com:/usr/src/sys/arch/i386/compile/BEEFCAKE i386
Architecture: i386
Machine: i386
>Description:
I was running xmule, and then kaboom.
to_ticks >= 0 failed: ../../../../kern/kern_timeout.c line 295
here's the traceback.
#3 0xc028f23b in __assert () at ../../../../../../lib/libkern/__assert.c:47
#4 0xc01c95f0 in callout_schedule (c=0xc0982368, to_ticks=-1159593834)
at ../../../../kern/kern_timeout.c:295
#5 0xc01111e8 in tcp_output (tp=0xc098235c)
at ../../../../netinet/tcp_output.c:1093
#6 0xc01139a3 in tcp_usrreq (so=0xc095941c, req=9, m=0xc0a36b00, nam=0x0,
control=0x0, p=0xd3becd30) at ../../../../netinet/tcp_usrreq.c:515
#7 0xc01e4174 in sosend (so=0xc095941c, addr=0x0, uio=0xd4011ec0,
top=0xc0a36b00, control=0x0, flags=0) at ../../../../kern/uipc_socket.c:787
#8 0xc01e7a4d in sendit (p=0xd3becd30, s=25, mp=0xd4011f24, flags=0,
retsize=0xd4011f78) at ../../../../kern/uipc_syscalls.c:537
#9 0xc01e7809 in sys_sendto (l=0xd3b6a804, v=0xd4011f80, retval=0xd4011f78)
at ../../../../kern/uipc_syscalls.c:419
#10 0xc0232737 in syscall_plain (frame={tf_gs = 31, tf_fs = 31, tf_es = 31,
tf_ds = 31, tf_edi = 143060064, tf_esi = 142216448,
tf_ebp = -1077940580, tf_ebx = -1121064672, tf_edx = 25,
tf_ecx = -1077940628, tf_eax = 133, tf_trapno = 3, tf_err = 2,
tf_eip = -1121232629, tf_cs = 23, tf_eflags = 643, tf_esp = -1077940640,
tf_ss = 31, tf_vm86_es = 0, tf_vm86_ds = 0, tf_vm86_fs = 0,
tf_vm86_gs = 0}) at ../../../../arch/i386/i386/syscall.c:156
(gdb) up
#4 0xc01c95f0 in callout_schedule (c=0xc0982368, to_ticks=-1159593834)
at ../../../../kern/kern_timeout.c:295
295 KASSERT(to_ticks >= 0);
(gdb)
#5 0xc01111e8 in tcp_output (tp=0xc098235c)
at ../../../../netinet/tcp_output.c:1093
1093 TCP_TIMER_ARM(tp, TCPT_REXMT, tp->t_rxtcur);
(gdb)
#6 0xc01139a3 in tcp_usrreq (so=0xc095941c, req=9, m=0xc0a36b00, nam=0x0,
control=0x0, p=0xd3becd30) at ../../../../netinet/tcp_usrreq.c:515
515 error = tcp_output(tp);
(gdb)
#7 0xc01e4174 in sosend (so=0xc095941c, addr=0x0, uio=0xd4011ec0,
top=0xc0a36b00, control=0x0, flags=0) at ../../../../kern/uipc_socket.c:787
787 error = (*so->so_proto->pr_usrreq)(so,
(gdb)
#8 0xc01e7a4d in sendit (p=0xd3becd30, s=25, mp=0xd4011f24, flags=0,
retsize=0xd4011f78) at ../../../../kern/uipc_syscalls.c:537
537 error = (*so->so_send)(so, to, &auio, NULL, control, flags);
(gdb)
#9 0xc01e7809 in sys_sendto (l=0xd3b6a804, v=0xd4011f80, retval=0xd4011f78)
at ../../../../kern/uipc_syscalls.c:419
419 return (sendit(p, SCARG(uap, s), &msg, SCARG(uap, flags), retval));
(gdb)
#10 0xc0232737 in syscall_plain (frame={tf_gs = 31, tf_fs = 31, tf_es = 31,
tf_ds = 31, tf_edi = 143060064, tf_esi = 142216448,
tf_ebp = -1077940580, tf_ebx = -1121064672, tf_edx = 25,
tf_ecx = -1077940628, tf_eax = 133, tf_trapno = 3, tf_err = 2,
tf_eip = -1121232629, tf_cs = 23, tf_eflags = 643, tf_esp = -1077940640,
tf_ss = 31, tf_vm86_es = 0, tf_vm86_ds = 0, tf_vm86_fs = 0,
tf_vm86_gs = 0}) at ../../../../arch/i386/i386/syscall.c:156
156 error = (*callp->sy_call)(l, args, rval);
>How-To-Repeat:
unknown.
>Fix:
unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: