From owner-freebsd-current@FreeBSD.ORG Thu Jul 17 13:12:37 2003 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 E940D37B401 for ; Thu, 17 Jul 2003 13:12:37 -0700 (PDT) Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96D8443F75 for ; Thu, 17 Jul 2003 13:12:36 -0700 (PDT) (envelope-from culverk@yumyumyum.org) Received: by mailhub.yumyumyum.org (Postfix, from userid 1001) id 39C91378; Thu, 17 Jul 2003 16:12:24 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mailhub.yumyumyum.org (Postfix) with ESMTP id 2D0AE24A for ; Thu, 17 Jul 2003 16:12:24 -0400 (EDT) Date: Thu, 17 Jul 2003 16:12:24 -0400 (EDT) From: Kenneth Culver To: freebsd-current@freebsd.org Message-ID: <20030717160215.G67028@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: problem after gcc import 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: Thu, 17 Jul 2003 20:12:38 -0000 Hi, I followed all suggestions from /usr/src/UPDATING after the gcc 3.3.1 import, and rebuilt kernel and world after removing /usr/obj and /usr/src/sys/i386/compile/KAORU (my kernel config file's name). However, I'm seeing some strange behavior after that. 1) smbclient no longer works without specifying the -I flag: kaoru:~:> smbclient -L iscprt added interface ip=192.168.0.27 bcast=192.168.0.255 nmask=255.255.255.0 added interface ip=127.0.0.2 bcast=127.255.255.255 nmask=255.0.0.0 Packet send failed to 127.255.255.255(137) ERRNO=Can't assign requested address Connection to iscprt failed This didn't happen before the new gcc. Second: I use gvim as my editor-of-choice for programming in C, and now this happens: kaoru:~:> gvim Vim: Caught deadly signal BUS Vim: Finished. And when I backtrace it in gdb: kaoru:/usr/ports/editors/vim/work/vim62/src:# gdb ./vim GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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 "i386-undermydesk-freebsd"... (gdb) run Starting program: /usr/ports/editors/vim/work/vim62/src/vim Program received signal SIGBUS, Bus error. 0x28684fc6 in _IceConnectionOpened () from /usr/X11R6/lib/libICE.so.6 (gdb) bt #0 0x28684fc6 in _IceConnectionOpened () from /usr/X11R6/lib/libICE.so.6 #1 0x286797f6 in IceOpenConnection () from /usr/X11R6/lib/libICE.so.6 #2 0x2866f199 in SmcOpenConnection () from /usr/X11R6/lib/libSM.so.6 #3 0x080fceed in xsmp_init () at os_unix.c:5961 #4 0x080b90de in main (argc=0, argv=0xbfbffa60) at main.c:1180 #5 0x080650d2 in _start () It looks like it's dying somewhere in X's libICE. I'm not sure what that's used for, but when I rebuilt libICE with debugging symbols enabled, and traced through the code, there's a pointer in _IceConnectonOpened() that has the value 0xd0d0d0d0 which is causing the crash. This is a wierd crash because on my other 2 FreeBSD machines, (1 an Athlon XP 2000+, the other a dual PII 333) this doesn't happen. The PII doesn't have X though so I'm assuming that's why there's no problem there. The machine this is happening on is a P4. Maybe that's the issue? Anyway, I also turned off all optimizations (no -O or -mcpu=pentiumpro) and recompiled vim, the X11 Libraries, and samba, but the same problem still occurs. Any ideas? Ken