From owner-freebsd-current@FreeBSD.ORG Wed Aug 22 14:48:43 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E9BF16A41A for ; Wed, 22 Aug 2007 14:48:43 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id A6BD013C45E for ; Wed, 22 Aug 2007 14:48:42 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1INrVd-0005iE-Tg for freebsd-current@freebsd.org; Wed, 22 Aug 2007 16:48:37 +0200 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Aug 2007 16:48:37 +0200 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Aug 2007 16:48:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Mark Atkinson Date: Wed, 22 Aug 2007 07:48:19 -0700 Lines: 74 Message-ID: References: <7F42CA7D-24C4-4A47-AC67-8F5E6A248380@siliconlandmark.com> <20070809172302.GA13685@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.10.5 Sender: news Subject: Re: panic: mtx_lock() of destroyed mutex @ /usr/src/sys/net/route.c:1306 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 14:48:43 -0000 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);