Re: panic: mtx_lock() of destroyed mutex _at_ /usr/src/sys/net/route.c:1306

From: Mark Atkinson <atkin901_at_yahoo.com>
Date: Wed, 22 Aug 2007 07:48:19 -0700
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 _at_ /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 _at_ ../../../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 _at_ /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
_at_ /usr/src/sys/net/route.c:684
exclusive sleep mutex inp (udpinp) r = 0 (0xc43627c8) locked
_at_ /usr/src/sys/netinet/udp_usrreq.c:841
Process 60672 (sendmail) thread 0xc6a8b440 (100113)
exclusive sleep mutex rtentry r = 0 (0xc4366858) locked
_at_ /usr/src/sys/net/route.c:1287
exclusive sleep mutex inp (udpinp) r = 0 (0xc4363090) locked
_at_ /usr/src/sys/netinet/udp_usrreq.c:841
db>  


---
Mark Atkinson
atkin901_at_yahoo.com
(!wired)?(coffee++):(wired);
Received on Wed Aug 22 2007 - 12:48:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC