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

next in thread | previous in thread | raw e-mail | index | archive | help

--=-P2sU8NXIQgLYihRO2+uc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2004-12-24 at 10:14 -0800, Brian Behlendorf wrote:
> 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 =3D> /usr/X11R6/lib/libXThrStub.so.6 (0x28c7=
3000)
> >
> > 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 depend=
s
> > on gtk20 (including gtk20) will fix this.  Unfortunately, if I'm wrong,
> > you've just wasted a lot of time.
>=20
> Gah.  On the problematic box, gtk20 now won't even finish compiling.  But=
=20
> on another RELENG_4 box, it finishes compiling just fine - and I can't=20
> tell what the difference is between these two.  The box where gtk20=20
> compiles fine is a headless server so I can't tell if a startx there woul=
d=20
> also result in a gnome-session crash.  I've also tried a fresh reinstall=20
> of the 6.8.1 packages (built by the headless server), as well as freshly=20
> reinstalling (from source) gdk-pixbuf.
>=20
> Making all in x11
> gmake[4]: Entering directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.4=
.14/gdk/x11'
> source=3D'gdkasync.c' object=3D'gdkasync.lo' libtool=3Dyes \
> depfile=3D'.deps/gdkasync.Plo' tmpdepfile=3D'.deps/gdkasync.TPlo' \
> depmode=3Dgcc /bin/sh ../../depcomp \
> /bin/sh /usr/local/bin/libtool15 --mode=3Dcompile cc -DHAVE_CONFIG_H -I. =
-I.=20
> -I../.. -DG_LOG_DOMAIN=3D\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk=20
> -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED=20
> -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_THREAD_SAFE=20
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include=20
> -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include=20
> -I/usr/local/include/freetype2 -I/usr/local/include    -DXTHREADS=20
> -D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I/usr/X11R6/include=
=20
> -I/usr/local/include/freetype2  -I/usr/local/include -I/usr/X11R6/include=
=20
> -O -pipe  -Wall -c -o gdkasync.lo `test -f 'gdkasync.c' || echo=20
> './'`gdkasync.c
>   cc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=3D\"Gdk\"=20
> -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED=20
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED=20
> -DG_DISABLE_CAST_CHECKS -D_THREAD_SAFE -I/usr/local/include/glib-2.0=20
> -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/pango-1.0=20
> -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include=20
> -DXTHREADS -D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI=20
> -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include=20
> -I/usr/X11R6/include -O -pipe -Wall -c gdkasync.c=20
> -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 alway=
s 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 F=
T_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
>=20
> Stop in /usr/ports/x11-toolkits/gtk20.

This is an FAQ, and a solution is readily found in the mailing list
archives.  You need to do a portupgrade -rfu freetype2 on this machine
(which will also rebuild all gtk20 dependent ports).

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-P2sU8NXIQgLYihRO2+uc
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBzF9Kb2iPiv4Uz4cRAortAJ0VAi4biIXLnxRdgnoS5wjvfR3XmwCgiCzs
cgNzCxRjkF2G6jiggwtUdKg=
=aMkF
-----END PGP SIGNATURE-----

--=-P2sU8NXIQgLYihRO2+uc--



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