From owner-freebsd-current@FreeBSD.ORG Fri Dec 10 02:31:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9DE116A4CE for ; Fri, 10 Dec 2004 02:31:25 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C49CA43D46 for ; Fri, 10 Dec 2004 02:31:22 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id iBA2V76X030182; Fri, 10 Dec 2004 13:01:08 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Fri, 10 Dec 2004 13:00:51 +1030 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1147218.RbaanzER34"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412101301.06484.doconnor@gsoft.com.au> X-Spam-Score: -3 () MIME_LONG_LINE_QP,PGP_SIGNATURE_2,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: sam@errno.com Subject: Recent ifconfig changes choke on fwip X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 02:31:26 -0000 --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 mtu 1500 options=3D8 inet 203.31.81.38 netmask 0xffffffc0 broadcast 203.31.81.63 ether 00:0d:56:b3:99:6e media: Ethernet autoselect (100baseTX ) status: active fwip0: flags=3D108802 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--