From owner-freebsd-gnome@FreeBSD.ORG Thu Mar 25 20:50:19 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 4968816A4CE; Thu, 25 Mar 2004 20:50:19 -0800 (PST) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E99F43D39; Thu, 25 Mar 2004 20:50:18 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i2Q4nZpU063406; Thu, 25 Mar 2004 23:49:35 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Alexander Nedotsukov In-Reply-To: <4063B4C0.9050001@FreeBSD.org> References: <4063B4C0.9050001@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-0dtusOKflQCpa3URxXca" Organization: MarcusCom, Inc. Message-Id: <1080276619.16291.11.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 25 Mar 2004 23:50:20 -0500 cc: freebsd-gnome@freebsd.org Subject: Re: Time to put ${PTHREAD_LIBS} in the x11/xscreensaver-gnome? 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, 26 Mar 2004 04:50:19 -0000 --=-0dtusOKflQCpa3URxXca Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-03-25 at 23:42, Alexander Nedotsukov wrote: > Jeremy Messenger wrote: >=20 > > On Thu, 25 Mar 2004 23:46:28 +0900, Alexander Nedotsukov=20 > > wrote: > > > > > > > >> Well to be constructive can people (not only once who currently > >> expirince a problem with xscreensaver) try the patch attached and repo= rt > >> two things is: it works and what is your GL library Nvidia/Mesa? > > > > > > I tried this patch and it doesn't fix the crash. Here using Nvidia=20 > > driver. >=20 > Jeremy, I looked into your ldd output and it same to mine. There is no=20 > any single object linked against libc_r, libthr, libkse or libpthread.=20 > Can this be world + kernel problem? > About the patch. Its purpose not link GL hacks against libpthread. They=20 > don't use any pthreads api so why we need this? The problem isn't with the -demo binary, but with the hacks that the binary loads. On my -CURRENT system, libGL is linked to libpthread, and so are my GL-based hacks: ldd /usr/X11R6/bin/xscreensaver-hacks/glplanet glplanet: libgdk_pixbuf_xlib-2.0.so.400 =3D> /usr/X11R6/lib/libgdk_pixbuf_xlib-2.0.so.400 (0x280ab000) libgdk_pixbuf-2.0.so.400 =3D> /usr/X11R6/lib/libgdk_pixbuf-2.0.so.400 (0x280ba000) libm.so.2 =3D> /lib/libm.so.2 (0x280cd000) libgobject-2.0.so.400 =3D> /usr/local/lib/libgobject-2.0.so.400 (0x280e5000) libgmodule-2.0.so.400 =3D> /usr/local/lib/libgmodule-2.0.so.400 (0x28118000) libglib-2.0.so.400 =3D> /usr/local/lib/libglib-2.0.so.400 (0x2811c000) libiconv.so.3 =3D> /usr/local/lib/libiconv.so.3 (0x28191000) libGL.so.1 =3D> /usr/X11R6/lib/libGL.so.1 (0x2827d000) libGLU.so.1 =3D> /usr/X11R6/lib/libGLU.so.1 (0x282db000) libpthread.so.1 =3D> /usr/lib/libpthread.so.1 (0x2834d000) libSM.so.6 =3D> /usr/X11R6/lib/libSM.so.6 (0x28370000) libICE.so.6 =3D> /usr/X11R6/lib/libICE.so.6 (0x28378000) libXt.so.6 =3D> /usr/X11R6/lib/libXt.so.6 (0x2838d000) libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x283d5000) libXmu.so.6 =3D> /usr/X11R6/lib/libXmu.so.6 (0x2848f000) libXext.so.6 =3D> /usr/X11R6/lib/libXext.so.6 (0x284a3000) libc.so.5 =3D> /lib/libc.so.5 (0x284b0000) libintl.so.6 =3D> /usr/local/lib/libintl.so.6 (0x2857b000) libstdc++.so.4 =3D> /usr/lib/libstdc++.so.4 (0x28584000) I bet if you rebuilt xscreensaver without GL support, it would work fine. I think adding PTHREAD_LIBS to the build may be the obly way to fix this for libpthread users. =20 Of course, as a test, you might try libmapping libthread to libc_r, and see if you can reproduce this, Alexander. I can try the same thing. I know I can. Joe >=20 > > > > Cheers, > > Mezz > > > >> Thanks, > >> Alexander. > > > > > > >=20 > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-0dtusOKflQCpa3URxXca Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAY7aLb2iPiv4Uz4cRAgULAJsFBjlfpGDNPwdCinTWEiK6q3AcpgCghJ8g 4tZ3pYwfwDjvPEBwWpSqLFA= =Bofn -----END PGP SIGNATURE----- --=-0dtusOKflQCpa3URxXca--