From owner-freebsd-current Sat Mar 30 5:18:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id 4B12F37B416 for ; Sat, 30 Mar 2002 05:17:58 -0800 (PST) Received: by energyhq.homeip.net (Postfix, from userid 1001) id C01983FC56; Sat, 30 Mar 2002 14:17:45 +0100 (CET) Date: Sat, 30 Mar 2002 14:17:45 +0100 From: Miguel Mendez To: current@freebsd.org Subject: Bus error compiling thefish 0.2 on -current Message-ID: <20020330141745.A54712@energyhq.homeip.net> Mail-Followup-To: current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm finishing the new version of sysutils/thefish, and doing some development on a -current box. For the ncurses/dialog frontend, I'm using a couple of functions from the sysinstall code, and this program works perfectly well on a 4.5-STABLE system. If I take the binary and run it on -CURRENT, it works as well, but, if I compile that code on -CURRENT, the program dies with a Bus Error the moment I enter the Knobs menu. I've seen this problem both with the 11th of March snapshot and with a world I built yesterday, cvsupped at 1500 UTC. The current box specs are these: flynn@saioa# uname -a FreeBSD saioa.energyhq.tk 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Mar 30 00:37:49 GMT 2002 root@:/usr/obj/usr/src/sys/SAIOA i386 flynn@saioa# cc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] The gdb trace when the program fails: (gdb) bt #0 0x280da10a in dialog_menu () from /usr/lib/libdialog.so.4 #1 0x804e0a7 in dmenuOpen (menu=3D0x81d5000, choice=3D0xbfbff8bc, scroll=3D0xbfbff8c0, curr=3D0xbfbff8c4, max=3D0xbfbff8c8, buttons=3D0) at ncurses_ui.c:249 #2 0x804df6a in dmenuOpenSimple (menu=3D0x81d5000, buttons=3D0) at ncurses_ui.c:191 #3 0x804deff in dmenuSubmenu (tmp=3D0x80bb6f4) at ncurses_ui.c:175 #4 0x280db1ae in dialog_menu () from /usr/lib/libdialog.so.4 #5 0x804e0a7 in dmenuOpen (menu=3D0x80bb680,choice=3D0xbfbffa5c, scroll=3D0xbfbffa60, curr=3D0xbfbffa64, max=3D0xbfbffa68,buttons=3D1) at ncurses_ui.c:249 #6 0x804debf in create_ncurses_ui(rc_knobs=3D0x817b000, num_knobs=3D96, rc_strings=3D0x8197000, num_str=3D138) at ncurses_ui.c:163 #7 0x804b2ed in main (argc=3D0, argv=3D0xbfbffb18) at main.c:216 #8 0x804a5c5 in _start () (gdb)=20 The program tarball can be found at http://energyhq.homeip.net/files/thefish-0.2.tar.gz My question is, is it a bug in my program that only shows in -CURRENT or is the compiler in current broken? Cheers, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8pbr5nLctrNyFFPERAjHYAKCu5I5UhYp8BtWGM1z/kFP/20gV7QCcCwtP PC+JowCLtzbx6oq0wOMY0F4= =2jup -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message