Panic in 5.3, related to network traffic
Robert Watson
rwatson at freebsd.org
Wed Nov 10 01:46:37 PST 2004
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 at 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 at gmail.com> wrote:
> > On Tue, 9 Nov 2004 23:33:15 +0000 (GMT), Robert Watson
> > <rwatson at 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 at fledge.watson.org Principal Research Scientist, McAfee Research
> > >
> > >
> >
> >
> >
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
More information about the freebsd-stable
mailing list