Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 16:35:19 -0400
From:      "Andresen,Jason R." <jandrese@mitre.org>
To:        "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   More info on routed crashing
Message-ID:  <396CD687.94FE283B@mitre.org>

next in thread | raw e-mail | index | archive | help
This is an addon to my previous message about routed core dumping on a
4.0-RELEASE machine.

I've compiled a debug version of routed.

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...
Core was generated by `routed'.
Program terminated with signal 11, Segmentation fault.
#0  0x8050847 in rn_walktree (h=0x808d080, f=0x8053f54 <walk_age>,
w=0x0)
    at radix.c:827
827                     rn = rn->rn_l;
(gdb) bt
#0  0x8050847 in rn_walktree (h=0x808d080, f=0x8053f54 <walk_age>,
w=0x0)
    at radix.c:827
#1  0x80541bf in age (bad_gate=0) at table.c:2123
#2  0x804c209 in main (argc=0, argv=0xbfbffa60) at main.c:485
#3  0x80480f9 in _start ()
(gdb) list
822              * while applying the function f to it, so we need to
calculate
823              * the successor node in advance.
824              */
825             /* First time through node, go left */
826             while (rn->rn_b >= 0)
827                     rn = rn->rn_l;
828             for (;;) {
829                     base = rn;
830                     /* If at right child go back up, otherwise, go
right */
831                     while (rn->rn_p->rn_r == rn && (rn->rn_flags &
RNF_ROOT) == 0)
(gdb) print rn
$1 = (struct radix_node *) 0x0

Well, I think I've found why it's crashing, but does anybody know what
might cause this to happen?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396CD687.94FE283B>