From owner-freebsd-questions Wed Jul 12 13:32:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtpproxy1.mitre.org (mbunix.mitre.org [129.83.20.100]) by hub.freebsd.org (Postfix) with ESMTP id 09F8537BC92 for ; Wed, 12 Jul 2000 13:32:16 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.9.3/8.9.3) with ESMTP id QAA27934 for ; Wed, 12 Jul 2000 16:32:13 -0400 (EDT) Received: from mailsrv2.mitre.org (mailsrv2.mitre.org [129.83.221.17]) by smtpsrv1.mitre.org (8.9.3/8.9.3) with ESMTP id QAA24776 for ; Wed, 12 Jul 2000 16:30:26 -0400 (EDT) Received: from mitre.org ([128.29.145.140]) by mailsrv2.mitre.org (Netscape Messaging Server 4.1) with ESMTP id FXLQDN00.JG6 for ; Wed, 12 Jul 2000 16:32:11 -0400 Message-ID: <396CD687.94FE283B@mitre.org> Date: Wed, 12 Jul 2000 16:35:19 -0400 From: "Andresen,Jason R." Organization: The MITRE Corporation X-Mailer: Mozilla 4.73 [en]C-20000509M (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "questions@FreeBSD.ORG" Subject: More info on routed crashing Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 , w=0x0) at radix.c:827 827 rn = rn->rn_l; (gdb) bt #0 0x8050847 in rn_walktree (h=0x808d080, f=0x8053f54 , 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