Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2001 15:14:17 -0400
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: -pthread: Cannot allocate priority ready queue
Message-ID:  <20010519151417.A86097@nc.rr.com>
In-Reply-To: <Pine.SUN.3.91.1010519132515.22783A-100000@pcnet1.pcnet.com>; from eischen@vigrid.com on Sat, May 19, 2001 at 01:29:53PM -0400
References:  <20010519115409.A13745@nc.rr.com> <Pine.SUN.3.91.1010519132515.22783A-100000@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Randall

-- 
Randall Hopper
aa8vb@nc.rr.com

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?20010519151417.A86097>