problem after gcc import

Kenneth Culver culverk at
Thu Jul 17 13:12:38 PDT 2003

	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= bcast= nmask=
added interface ip= bcast= nmask=
Packet send failed to ERRNO=Can't assign requested
Connection to iscprt failed

This didn't happen before the new gcc.


I use gvim as my editor-of-choice for programming in C, and now this

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
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
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/
(gdb) bt
#0  0x28684fc6 in _IceConnectionOpened () from /usr/X11R6/lib/
#1  0x286797f6 in IceOpenConnection () from /usr/X11R6/lib/
#2  0x2866f199 in SmcOpenConnection () from /usr/X11R6/lib/
#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

Any ideas?


More information about the freebsd-current mailing list