Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2001 16:39:02 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Randall Hopper <aa8vb@nc.rr.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: -pthread: Cannot allocate priority ready queue
Message-ID:  <Pine.SUN.3.91.1010519163550.16626A-100000@pcnet1.pcnet.com>
In-Reply-To: <20010519151417.A86097@nc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 May 2001, Randall Hopper wrote:
> Daniel Eischen:
>  |On Sat, 19 May 2001, Randall Hopper wrote:
>  |> I'm compiling an OpenGL app, which on FreeBSD requires -pthread, and I'm
>  |> getting this error.  We're core dumping before we even get to main() in the
>  |> pthread code.
>  |> 
>  |> Anyone else seen this?  Any tips or work-arounds? 
>  |> 
>  |>    > src/exec/dxexec/dxexec                                      
>  |>    Fatal error 'Cannot allocate priority ready queue.' at line ? in file 
>  |>    /usr/src/lib/libc_r/uthread/uthread_init.c (errno = ?)
>  |>    Abort (core dumped)
>  |
>  |This is pretty simple code; it just mallocs a few hundred bytes for the
>  |ready queue and works for every other application.  This is the first
>  |time I've ever seen that error.  I'd look elsewhere for the problem.
> 
> Thanks.  In case it might help, here's more info.  
> 
> I just recompiled the app sans -pthread and linked with the
> libGL.so/libGLU.so from stand-alone Mesa (not the -pthread versions built
> by the XFree86 4.0.3 port), and the app works fine.  Also, this is on
> FreeBSD 4.2-R.

What does `ldd src/exec/dxexec/dxexec` show?

There were a couple of bugs in the threads library for 4.2R, but they
shouldn't cause that error.  Make sure everything that dxexec depends
on has been recompiled.

-- 
Dan Eischen


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.1010519163550.16626A-100000>