From owner-freebsd-stable@FreeBSD.ORG Wed Nov 10 09:46:37 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B45D16A4CE for ; Wed, 10 Nov 2004 09:46:37 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 003FE43D2D for ; Wed, 10 Nov 2004 09:46:37 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id iAA9jRd1073171; Wed, 10 Nov 2004 04:45:27 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)iAA9jRb8073168; Wed, 10 Nov 2004 09:45:27 GMT (envelope-from robert@fledge.watson.org) Date: Wed, 10 Nov 2004 09:45:27 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Arjan Van Leeuwen In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: Panic in 5.3, related to network traffic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 09:46:37 -0000 On Wed, 10 Nov 2004, Arjan Van Leeuwen wrote: > winston# addr2line -f -e kernel.debug.20041109 0xC06B1AE9 > ip_forward > /usr/src/sys/netinet/ip_input.c:1879 Hmm. Odd. The stack trace in your screen shot shows the same mbuf being passed to icmp_error() was was passed to ip_forward(). This suggests, given the other arguments, that it's actually the call to icmp_error() on line 1650, not 1879. I wonder if addr2line is getting confused. If you use kgdb on the kernel.debug and do: l *icmp_error+0x191 l *ip_forward+0x3d1 Do you get different answers? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > winston# addr2line -f -e kernel.debug.20041109 0xC06B06F3 > ip_input > /usr/src/sys/netinet/ip_input.c:642 > winston# addr2line -f -e kernel.debug.20041109 0xC06912AF > netisr_processqueue > /usr/src/sys/net/netisr.c:229 > winston# addr2line -f -e kernel.debug.20041109 0xC06914AA > swi_net > /usr/src/sys/net/netisr.c:346 > winston# addr2line -f -e kernel.debug.20041109 0xC060BED9 > ithread_loop > /usr/src/sys/kern/kern_intr.c:548 > > > On Wed, 10 Nov 2004 01:41:21 +0100, Arjan Van Leeuwen > wrote: > > On Tue, 9 Nov 2004 23:33:15 +0000 (GMT), Robert Watson > > wrote: > > > > > > > > > > > > On Tue, 9 Nov 2004, Arjan Van Leeuwen wrote: > > > > > (...) > > > > > > Could you send a copy of your dmesg? Could you also use gdb on a kernel > > > with debug symbols or addr2line to convert the function+offsets in the > > > trace to file and line number in the source? This is a NULL pointer > > > dereference, so presumably somewhere there is a poor assumption about > > > memory allocation or the like. > > > > dmesg is attached. > > > > # addr2line -e kernel.debug.20041109 0xc06544a0 > > /usr/src/sys/sys/libkern.h:56 > > > > How do I get the function+offsets? > > > > Thanks, > > > > Arjan > > > > > > > > > > > > Thanks, > > > > > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > > > robert@fledge.watson.org Principal Research Scientist, McAfee Research > > > > > > > > > > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >