Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 1996 14:40:12 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        fenner@parc.xerox.com, karl@mcs.net
Cc:        current@freebsd.org, hackers@freebsd.org
Subject:   Re: Crash in -current (from the current SNAP)
Message-ID:  <96Oct10.144023pdt.177476@crevenia.parc.xerox.com>

next in thread | raw e-mail | index | archive | help
>(kgdb) 
>(kgdb) select-frame 14
>(kgdb) print ip_protox[ip->ip_p]
>$1 = 2 '\002'
>
>That's "INET", if I'm reading the headers correctly.

No, it's "TCP" (ip_protox[] is an offset into the inetsw[], and inetsw[2]
is TCP).

>(kgdb) print inetsw[ip_protox[ip->ip_p]].pr_input 
>$2 = (void (*)()) 0xf01477ec <tcp_input>

Looks fine.  Perhaps the trap didn't actually happen in ip_input?
Try "select-frame 12" and then "frame frame->tf_ebp frame->tf_eip",
which should tell you where the crash really happened.

  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96Oct10.144023pdt.177476>