Date: Fri, 10 Dec 2004 13:00:51 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-current@freebsd.org Cc: sam@errno.com Subject: Recent ifconfig changes choke on fwip Message-ID: <200412101301.06484.doconnor@gsoft.com.au>
next in thread | raw e-mail | index | archive | help
--nextPart1147218.RbaanzER34
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
[inchoate 12:55] /usr/src/sbin/ifconfig >gdb /usr/obj/usr/src/sbin/ifconfig=
/ifconfig
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 condition=
s.
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-marcel-freebsd"...
(gdb) run
Starting program: /usr/obj/usr/src/sbin/ifconfig/ifconfig
bfe0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3D8<VLAN_MTU>
inet 203.31.81.38 netmask 0xffffffc0 broadcast 203.31.81.63
ether 00:0d:56:b3:99:6e
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
fwip0: flags=3D108802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 43.4f.c0.0.8.17.a4.38.a.2.ff.fe.0.0.0.0
Program received signal SIGSEGV, Segmentation fault.
0x0804b2f9 in in_status (s=3D7, info=3D0x8058134) at /usr/src/sbin/ifconfig=
/af_inet.c:69
69 printf("\tinet %s ", inet_ntoa(sin->sin_addr));
(gdb) print sin->sin_addr
Error accessing memory address 0x102: Bad address.
(gdb) bt
#0 0x0804b2f9 in in_status (s=3D7, info=3D0x8058134) at /usr/src/sbin/ifco=
nfig/af_inet.c:69
fwip is the IP over Firewire interface.
I tried to do some tracing in GDB the line numbers don't seem to match up=20
properly :-/
=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
--nextPart1147218.RbaanzER34
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)
iD8DBQBBuQpq5ZPcIHs/zowRAj0MAJ94zZn269sukPITQrCZkln87MTP2wCfTRx5
JXto9uAtw2QhYz2Ep+1lQNI=
=LyKn
-----END PGP SIGNATURE-----
--nextPart1147218.RbaanzER34--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412101301.06484.doconnor>
