Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2007 07:48:19 -0700
From:      Mark Atkinson <atkin901@yahoo.com>
To:        freebsd-current@freebsd.org
Subject:   Re: panic: mtx_lock() of destroyed mutex @ /usr/src/sys/net/route.c:1306
Message-ID:  <fahibq$60f$1@sea.gmane.org>
References:  <7F42CA7D-24C4-4A47-AC67-8F5E6A248380@siliconlandmark.com> <20070809172302.GA13685@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote:

> In the last episode (Mar 27), Andre Guibert de Bruet said:
>> I got this earlier today. I managed to get what appears to be a sane
>> dump:
>> 
>> Unread portion of the kernel message buffer:
>> panic: mtx_lock() of destroyed mutex @ /usr/src/sys/net/route.c:1306
>> cpuid = 0
>> KDB: enter: panic
>> Physical memory: 3575 MB
>> Dumping 324 MB: 309 293 277 261 245 229 213 197 181 165 149 133 117 101
>> 85 69 53 37 21 5
> 
> I just booted today's -current and got the same panic with a similar
> stack trace.  I've actually been getting it once a week or so since I
> switched to -current in June, but it's bugging me today.
> 
> panic: mtx_lock() of destroyed mutex @ ../../../net/route.c:1303

me too on this one on -current built on the 10th, but it looks like it's
been there for a while.
 
FreeBSD 7.0-CURRENT #11: Fri Aug 10 09:06:48 PDT 2007

panic: mtx_lock() of destroyed mutex @ /usr/src/sys/net/route.c:1303
cpuid = 0
KDB: enter: panic
[thread pid 60672 tid 100113 ]
Stopped at      kdb_enter+0x32: leave
db>

db> bt
Tracing pid 60672 tid 100113 td 0xc6a8b440
kdb_enter(c0aa8eb9,0,c0aa7df5,e67e49b8,0,...) at kdb_enter+0x32
panic(c0aa7df5,c0ab6a61,517,507,c40b257c,...) at panic+0x126
_mtx_lock_flags(c6a90d08,0,c0ab6a61,517,e67e4a24,...) at
_mtx_lock_flags+0x65
rt_check(e67e4a1c,e67e4a38,c54800f0,c0b5b3e4,c0ab6a61,...) at rt_check+0x111
arpresolve(c4040400,c43667f8,c43be000,c54800f0,e67e4a52,...) at
arpresolve+0xaf
ether_output(c4040400,c43be000,c54800f0,c43667f8,e67e4aa0,...) at
ether_output+0x7e
ip_output(c43be000,0,e67e4ac8,0,0,...) at ip_output+0xa09
udp_send(c879dad4,0,c43be000,0,0,...) at udp_send+0x586
sosend_dgram(c879dad4,0,e67e4be8,c43be000,0,...) at sosend_dgram+0x35f
sosend(c879dad4,0,e67e4be8,0,0,...) at sosend+0x54
kern_sendit(c6a8b440,6,e67e4c64,0,0,...) at kern_sendit+0x104
sendit(0,bfbee85f,0,0,0,...) at sendit+0xb1
sendto(c6a8b440,e67e4cfc,18,c0aaf36c,c0b55d18,...) at sendto+0x48
syscall(e67e4d38) at syscall+0x2f3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (133, FreeBSD ELF32, sendto), eip = 0x28388797, esp =
0xbfbedf8c, ebp = 0xbfbedfb8 ---


db> show alllocks
Process 60673 (sendmail) thread 0xc6a8b000 (100115)
exclusive sleep mutex radix node head r = 1 (0xc40b257c) locked
@ /usr/src/sys/net/route.c:684
exclusive sleep mutex inp (udpinp) r = 0 (0xc43627c8) locked
@ /usr/src/sys/netinet/udp_usrreq.c:841
Process 60672 (sendmail) thread 0xc6a8b440 (100113)
exclusive sleep mutex rtentry r = 0 (0xc4366858) locked
@ /usr/src/sys/net/route.c:1287
exclusive sleep mutex inp (udpinp) r = 0 (0xc4363090) locked
@ /usr/src/sys/netinet/udp_usrreq.c:841
db>  


---
Mark Atkinson
atkin901@yahoo.com
(!wired)?(coffee++):(wired);




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fahibq$60f$1>