Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 2004 10:14:48 -0800 (PST)
From:      Brian Behlendorf <brian@hyperreal.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: gnome-session seg faults
Message-ID:  <20041224100724.Y21066@fez.hyperreal.org>
In-Reply-To: <1103882220.31926.65.camel@shumai.marcuscom.com>
References:  <20041224010540.X21066@fez.hyperreal.org>  <20041224013245.L21066@fez.hyperreal.org> <1103882220.31926.65.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ft2build.h>"
/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041224100724.Y21066>