Date: 12 Mar 2003 13:06:17 +0100 From: Tobias Reifenberger <treif@mayn.de> To: current@freebsd.org Cc: KT Sin <ktsin@acm.org> Subject: kernel panic in tcp_input.c:2252 Message-ID: <1047470776.976.15.camel@dmon> In-Reply-To: <20030311164343.GA788@melati.no-ip.org> References: <20030311112523.GA631@leafy.idv.tw> <20030311164343.GA788@melati.no-ip.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Di, 2003-03-11 um 17.43 schrieb KT Sin:
> Another panic in tcp_input while exiting gtk-gnutella.
I just can say 'me too'. This kind of panic in tcp_input.c bites me
since some weeks. It seems to be triggered by massive opening/closing of
tcp connections (like gtk-gnutella does).
Any ideas how to track this down?
<schnipp>
This GDB was configured as "i386-undermydesk-freebsd"...
panic: headlocked should be 1
panic messages:
---
panic: headlocked should be 1
Uptime: 50m36s
Dumping 247 MB
ata0: resetting devices ..
done
16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
#0 doadump () at ../../../kern/kern_shutdown.c:239
239 dumping++;
(kgdb) bt full
#0 doadump () at ../../../kern/kern_shutdown.c:239
No locals.
#1 0xc01acb0b in boot (howto=260) at ../../../kern/kern_shutdown.c:371
No locals.
#2 0xc01acd38 in panic () at ../../../kern/kern_shutdown.c:542
td = (struct thread *) 0xc0e91a50
bootopt = 260
newpanic = 1
ap = 0x0
buf = "headlocked should be 1", '\0' <repeats 233 times>
#3 0xc021dc6f in tcp_input (m=0xc0e9e100, off0=20) at
../../../netinet/tcp_input.c:2252
th = (struct tcphdr *) 0xc1316834
ip = (struct ip *) 0xc1316820
ipov = (struct ipovly *) 0x3f14
inp = (struct inpcb *) 0xc2c7e0e4
optp = (u_char *) 0xc1316848 "\001\001\b\n"
optlen = 12
len = -1027090700
tlen = 23
off = -1027090700
drop_hdrlen = 52
tp = (struct tcpcb *) 0xc2c7d6f4
thflags = 1
so = (struct socket *) 0xc2c11000
todrop = -1027090700
acked = -1027090700
ourfinisacked = -1027090700
needoutput = 0
tiwin = 16148
to = {to_flags = 1, to_tsval = 2289001, to_tsecr = 303502, to_cc = 0,
to_ccecho = 0, to_mss = 0,
to_requested_s_scale = 0 '\0', to_pad = 0 '\0'}
taop = (struct rmxp_tao *) 0xc2c7d6f4
tao_noncached = {tao_cc = 3801157, tao_ccsent = 8003, tao_mssopt =
5760}
headlocked = 0
next_hop = (struct sockaddr_in *) 0x0
rstreason = -1027090700
ip6 = (struct ip6_hdr *) 0x0
isipv6 = 0
#4 0xc02170f5 in ip_input (m=0xc0e9e100) at
../../../netinet/ip_input.c:944
ip = (struct ip *) 0xc1316820
fp = (struct ipq *) 0xc2bcf600
ia = (struct in_ifaddr *) 0xc2bcf600
ifa = (struct ifaddr *) 0x0
i = 0
hlen = 20
checkif = 0
sum = 0
pkt_dst = {s_addr = 3110381760}
divert_info = 0
args = {m = 0x561, oif = 0x0, next_hop = 0x0, rule = 0x0, eh = 0x0, ro
= 0xe9, dst = 0xc02f5be7,
flags = -857973540, f_id = {dst_ip = 3222949867, src_ip = 3224892020,
dst_port = 1, src_port = 0,
proto = 172 '¬', flags = 212 'Ô'}, divert_rule = 0, retval =
3224534064}
#5 0xc0205c66 in swi_net (dummy=0x0) at ../../../net/netisr.c:236
ni = (struct netisr *) 0xc0327c30
m = (struct mbuf *) 0xc0e9e100
bits = 0
i = 0
#6 0xc019dd06 in ithread_loop (arg=0xc0e8f200) at
../../../kern/kern_intr.c:536
ithd = (struct ithd *) 0xc0e8f200
ih = (struct intrhand *) 0xc0e86840
td = (struct thread *) 0xc0e91a50
p = (struct proc *) 0xc0e909ec
#7 0xc019d10f in fork_exit (callout=0xc019dbe0 <ithread_loop>,
arg=0xc0e8f200, frame=0xccdc5d48)
at ../../../kern/kern_fork.c:871
td = (struct thread *) 0x0
p = (struct proc *) 0xc0e909ec
<schnapp>
bye
--
Tobias Reifenberger -- treif@mayn.de -- DG1NGT
GEE e* dpu s:- a-- C+++ UB+++ L- W+ N+ w--- Y+ tv+ b++ D++ h++ r---
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1047470776.976.15.camel>
