From owner-freebsd-stable@FreeBSD.ORG Sun Mar 6 17:02:02 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 467FE16A4CE for ; Sun, 6 Mar 2005 17:02:02 +0000 (GMT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 552C243D48 for ; Sun, 6 Mar 2005 17:02:01 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.1/8.13.1) with ESMTP id j26H1xvS065332 for ; Sun, 6 Mar 2005 20:01:59 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 6 Mar 2005 20:01:59 +0300 (MSK) From: Dmitry Morozovsky To: freebsd-stable@FreeBSD.org Message-ID: <20050306195734.R60789@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: zebra 0.94 crash on amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 17:02:02 -0000 Dear colleagues, trying to set up new router I had stumbled with zebra (port built with standard options except CPUTYPE=athlon64) strange crashes: zebra.conf: ----- hostname gwhx-zebra password password enable password password log syslog service password-encryption ----- after statring zebra, telnetting to its port, enabling and trying to show currect config zebra crashes: (gdb) bt #0 0x0000000000000000 in ?? () #1 0x0000000000000021 in ?? () #2 0x00000000004191f3 in config_write_terminal (self=0x535bb0, vty=0x546c00, argc=-6848, argv=0x800b88c38) at command.c:2434 #3 0x00000000004186b6 in cmd_execute_command (vline=0x561ca0, vty=0x546c00, cmd=0x0) at command.c:1915 #4 0x00000000004122af in vty_command (vty=0x546c00, buf=0x535bb0 "\004") at vty.c:377 #5 0x0000000000413781 in vty_execute (vty=0x546c00) at vty.c:1216 #6 0x0000000000413bb1 in vty_read (thread=0x535bb0) at vty.c:1434 #7 0x000000000041cc6f in thread_call (thread=0x7fffffffe9d0) at thread.c:627 #8 0x00000000004055f4 in main (argc=1, argv=0x7fffffffeb18) at main.c:312 (gdb) up 2 #2 0x00000000004191f3 in config_write_terminal (self=0x535bb0, vty=0x546c00, argc=-6848, argv=0x800b88c38) at command.c:2434 2434 if ((*node->func) (vty)) (gdb) l 2429 vty_out (vty, "!%s", VTY_NEWLINE); 2430 2431 for (i = 0; i < vector_max (cmdvec); i++) 2432 if ((node = vector_slot (cmdvec, i)) && node->func) 2433 { 2434 if ((*node->func) (vty)) 2435 vty_out (vty, "!%s", VTY_NEWLINE); 2436 } 2437 vty_out (vty, "end%s",VTY_NEWLINE); 2438 } (gdb) p node $1 = (struct cmd_node *) 0x1 (gdb) p node->func Cannot access memory at address 0x19 (gdb) p i $2 = 5532672 (gdb) p cmdvec $3 = 0x543040 (gdb) p *cmdvec $4 = {max = 35, alloced = 64, index = 0x546200} I had tried to dig through the sources, but was a bit frightened ;-) Any hints? Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------