Re: libpthread prevent glxgears to run

From: Daniel Eischen <deischen_at_freebsd.org>
Date: Mon, 18 Sep 2006 11:21:55 -0400 (EDT)
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 <deischen_at_freebsd.org> 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
Received on Mon Sep 18 2006 - 13:22:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC