Date: Sat, 22 Dec 2001 11:34:10 +0100 From: Bernd Walter <ticso@cicely9.cicely.de> To: Wilko Bulte <wkb@freebie.xs4all.nl> 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> In-Reply-To: <20011221175252.A25617@freebie.xs4all.nl> References: <20011221175252.A25617@freebie.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011222103410.GA3406>