From owner-freebsd-current@FreeBSD.ORG Tue Sep 19 11:45:43 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25AB716A4F3 for ; Tue, 19 Sep 2006 11:45:42 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8DE143E0D for ; Tue, 19 Sep 2006 11:44:25 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so132162nfc for ; Tue, 19 Sep 2006 04:44:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=pTAI0wmd8ktRfkT17lvf1Ye7msTIqhs7i1fpGe1xRuWBzbToz5rSbD697maIfo9pwaZFbi//mtte6coVtjBfjN5jqv9A/x0N983TAPNug5BdxoGFDj393qRJJW2771CKBLnCTka2yq2HOzHTQaKQM1TjBUgMEDEPFHzOHg6oq1U= Received: by 10.48.14.4 with SMTP id 4mr18214139nfn; Tue, 19 Sep 2006 04:44:20 -0700 (PDT) Received: by 10.49.18.11 with HTTP; Tue, 19 Sep 2006 04:44:20 -0700 (PDT) Message-ID: <4c40c4e70609190444g4495f184x906536f4b13cb9e6@mail.gmail.com> Date: Tue, 19 Sep 2006 11:44:20 +0000 From: "Angka H. K." To: "Daniel Eischen" In-Reply-To: MIME-Version: 1.0 References: <4c40c4e70609180410m59af8a2br5ea12c7e3b497d12@mail.gmail.com> <4c40c4e70609180524j29543dedi39cf4214cfb76424@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: libpthread prevent glxgears to run X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 11:45:43 -0000 I didn't install X from ports. I used Xorg 7.1.92 I'll try rebuild everything from screcth on different partition. On 9/18/06, Daniel Eischen wrote: > > On Mon, 18 Sep 2006, Angka H. K. wrote: > > > Here is the ldd output of my glxgears: > > > > # ldd ./glxgears > > ./glxgears: > > libglut.so.3 => /usr/X11R6/lib/libglut.so.3 (0x2807f000) > > libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x280be000) > > libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x2814e000) > > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x281b9000) > > libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x281c6000) > > libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x281da000) > > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x281e2000) > > libm.so.4 => /lib/libm.so.4 (0x282c1000) > > libc.so.7 => /lib/libc.so.7 (0x282d6000) > > libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x283ca000) > > libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x28415000) > > libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x284e0000) > > libpthread.so.2 => /lib/libpthread.so.2 (0x284e5000) > > libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x2850a000) > > libXau.so.6 => /usr/X11R6/lib/libXau.so.6 (0x28511000) > > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28514000) > > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28525000) > > libXCB.so.0 => /usr/X11R6/lib/libXCB.so.0 (0x2853b000) > > librpcsvc.so.3 => /usr/lib/librpcsvc.so.3 (0x2854b000) > > libXdmcp.so.6 => /usr/X11R6/lib/libXdmcp.so.6 (0x28553000) > > > > I did rebuilding world then recompile libX11 module and recompile Mesa > with > > glxgears. > > > > And the result is the same: > > > > > > # ./glxgears > > Fatal error 'Recurse on a private mutex.' at line 1003 in file > > /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 35) > > Abort (core dumped) > > > > What did I missed to compile ? > > portupgrade -af > > > On 9/18/06, Daniel Eischen wrote: > >> > >> On Mon, 18 Sep 2006, Angka H. K. wrote: > >> > >> > This code : > >> > > >> > if (m->m_flags & MUTEX_FLAGS_PRIVATE) > >> > PANIC("Recurse on a private mutex."); > >> > > >> > at file "/usr/src/lib/libpthread/thread/thr_mutex.c" line 1002 > prevent > >> > glxgears to run with the following error : > >> > > >> > Fatal error 'Recurse on a private mutex.' at line 1003 in file > >> > /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 35) > >> > > >> > If the line is removed the glxgears is running well. > >> > > >> > Which could be wrong; The glgears code or the libptrhead code ? And > what > >> the > >> > use of that line ? > >> > >> You are either linked to multiple thread libraries, or you > >> have an older executable or application libraries that need > >> to be rebuilt (because libc version was bumped without > >> bumping libpthread, libthr, & libc_r). > >> > >> -- > >> DE > >> > > > > -- > DE >