From owner-freebsd-stable Sat May 19 12:51: 8 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail7.nc.rr.com (fe7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id 06F9737B422 for ; Sat, 19 May 2001 12:51:05 -0700 (PDT) (envelope-from aa8vb@nc.rr.com) Received: from stealth.dummynet ([24.25.3.190]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sat, 19 May 2001 15:12:19 -0400 Received: (from rhh@localhost) by stealth.dummynet (8.11.1/8.11.1) id f4JJEHU49350; Sat, 19 May 2001 15:14:17 -0400 (EDT) (envelope-from aa8vb@nc.rr.com) X-Authentication-Warning: stealth.dummynet: rhh set sender to aa8vb@nc.rr.com using -f Date: Sat, 19 May 2001 15:14:17 -0400 From: Randall Hopper To: Daniel Eischen Cc: stable@FreeBSD.ORG Subject: Re: -pthread: Cannot allocate priority ready queue Message-ID: <20010519151417.A86097@nc.rr.com> References: <20010519115409.A13745@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from eischen@vigrid.com on Sat, May 19, 2001 at 01:29:53PM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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