Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 09:45:27 +0000 (GMT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Arjan Van Leeuwen <avleeuwen@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Panic in 5.3, related to network traffic
Message-ID:  <Pine.NEB.3.96L.1041110094326.60848U-100000@fledge.watson.org>
In-Reply-To: <d86b4873041109171077239269@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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
> <avleeuwen@gmail.com> wrote:
> > On Tue, 9 Nov 2004 23:33:15 +0000 (GMT), Robert Watson
> > <rwatson@freebsd.org> 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"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041110094326.60848U-100000>