From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 24 18:14:50 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34BAE16A4CE for ; Fri, 24 Dec 2004 18:14:50 +0000 (GMT) Received: from hyperreal.org (taz3.hyperreal.org [209.237.226.90]) by mx1.FreeBSD.org (Postfix) with SMTP id EB7CD43D41 for ; Fri, 24 Dec 2004 18:14:49 +0000 (GMT) (envelope-from brian@hyperreal.org) Received: (qmail 4150 invoked from network); 24 Dec 2004 18:14:51 -0000 Received: from localhost.hyperreal.org (HELO fez.hyperreal.org) (127.0.0.1) by localhost.hyperreal.org with SMTP; 24 Dec 2004 18:14:51 -0000 Received: (qmail 22171 invoked by uid 1000); 24 Dec 2004 18:14:48 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 24 Dec 2004 18:14:48 -0000 Date: Fri, 24 Dec 2004 10:14:48 -0800 (PST) From: Brian Behlendorf To: Joe Marcus Clarke In-Reply-To: <1103882220.31926.65.camel@shumai.marcuscom.com> Message-ID: <20041224100724.Y21066@fez.hyperreal.org> References: <20041224010540.X21066@fez.hyperreal.org> <20041224013245.L21066@fez.hyperreal.org> <1103882220.31926.65.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N cc: FreeBSD GNOME Users Subject: Re: gnome-session seg faults X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2004 18:14:50 -0000 On Fri, 24 Dec 2004, Joe Marcus Clarke wrote: >> Comparing this to an installation that has not yet been been upgraded to >> xorg-6.8.1, the one thing that's missing on the upgraded system is >> libXThrStub.so.6. The below appears in the ldd output from the >> non-upgraded system: >> >> libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28c73000) > > That may be the problem. libXThrStub.so contains a weak reference to > pthread_self() which is almost definitely the invalid argument to which > gthread refers. I have a theory that rebuilding every port that depends > on gtk20 (including gtk20) will fix this. Unfortunately, if I'm wrong, > you've just wasted a lot of time. Gah. On the problematic box, gtk20 now won't even finish compiling. But on another RELENG_4 box, it finishes compiling just fine - and I can't tell what the difference is between these two. The box where gtk20 compiles fine is a headless server so I can't tell if a startx there would also result in a gnome-session crash. I've also tried a fresh reinstall of the 6.8.1 packages (built by the headless server), as well as freshly reinstalling (from source) gdk-pixbuf. Making all in x11 gmake[4]: Entering directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.14/gdk/x11' source='gdkasync.c' object='gdkasync.lo' libtool=yes \ depfile='.deps/gdkasync.Plo' tmpdepfile='.deps/gdkasync.TPlo' \ depmode=gcc /bin/sh ../../depcomp \ /bin/sh /usr/local/bin/libtool15 --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -DXTHREADS -D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -O -pipe -Wall -c -o gdkasync.lo `test -f 'gdkasync.c' || echo './'`gdkasync.c cc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -DXTHREADS -D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -O -pipe -Wall -c gdkasync.c -Wp,-MD,.deps/gdkasync.TPlo -fPIC -DPIC -o .libs/gdkasync.o In file included from /usr/X11R6/include/X11/Xft/Xft.h:41, from ../../gdk/x11/gdkdrawable-x11.h:35, from ../../gdk/x11/gdkwindow-x11.h:30, from gdkprivate-x11.h:36, from gdkx.h:78, from gdkasync.c:49: /usr/local/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h' hasn't been included yet!" /usr/local/include/freetype2/freetype/freetype.h:21: #error "Please always use macros to include FreeType header files." /usr/local/include/freetype2/freetype/freetype.h:22: #error "Example:" /usr/local/include/freetype2/freetype/freetype.h:23: #error " #include " /usr/local/include/freetype2/freetype/freetype.h:24: #error " #include FT_FREETYPE_H" gmake[4]: *** [gdkasync.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.14/gdk/x11' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.14/gdk' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.14/gdk' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.14' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/x11-toolkits/gtk20. Brian