From owner-freebsd-alpha Sat Dec 22 2:34: 3 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 97F0137B416 for ; Sat, 22 Dec 2001 02:33:59 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.6/8.11.6) with UUCP id fBMAXvi11575; Sat, 22 Dec 2001 11:33:57 +0100 (CET) (envelope-from ticso@cicely9.cicely.de) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id fBMAYJtx099324; Sat, 22 Dec 2001 11:34:20 +0100 (CET)?g (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (cicely9.cicely.de [10.1.7.11]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id fBMAYIW24194; Sat, 22 Dec 2001 11:34:18 +0100 (CET) Received: (from ticso@localhost) by cicely9.cicely.de (8.11.6/8.11.6) id fBMAYB503826; Sat, 22 Dec 2001 11:34:11 +0100 (CET) (envelope-from ticso) Date: Sat, 22 Dec 2001 11:34:10 +0100 From: Bernd Walter To: Wilko Bulte Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: FW: Re: bah: new bug, unaligned accesses in ifconfig on -stable Message-ID: <20011222103410.GA3406@cicely9.cicely.de> References: <20011221175252.A25617@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011221175252.A25617@freebie.xs4all.nl> User-Agent: Mutt/1.3.24i X-Operating-System: FreeBSD cicely9.cicely.de 5.0-CURRENT alpha Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Dec 21, 2001 at 05:52:52PM +0100, Wilko Bulte wrote: > Hi, > > I just verified it on my DS10 with 4.5-PRERELEASE and the > problem is exactly what Rich describes below: > > ds10#gdb ./ifconfig ifconfig.core > 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 "alpha-unknown-freebsd"... > Core was generated by `ifconfig'. > Program terminated with signal 10, Bus error. > Reading symbols from /usr/lib/libipx.so.2...done. > Reading symbols from /usr/lib/libc.so.4...done. > Reading symbols from /usr/libexec/ld-elf.so.1...done. > #0 0x1200039dc in status (afp=0x120009da8, addrcount=0, > sdl=0x74656e62772e30, > ifm=0x12002011c, ifam=0x0) at ifconfig.c:1152 > 1152 if (ifm->ifm_data.ifi_metric) > (gdb) > > I don't quite understand why it happens this way What does print buf, ifm, lim and needed in frame 1 show? -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message