From owner-freebsd-threads@FreeBSD.ORG Thu Jan 20 21:17:58 2005 Return-Path: <owner-freebsd-threads@FreeBSD.ORG> Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6972816A4CE; Thu, 20 Jan 2005 21:17:58 +0000 (GMT) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11B9F43D1D; Thu, 20 Jan 2005 21:17:58 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) j0KLHtua000435; Thu, 20 Jan 2005 16:17:56 -0500 (EST) Date: Thu, 20 Jan 2005 16:17:55 -0500 (EST) From: Daniel Eischen <deischen@freebsd.org> X-X-Sender: eischen@sea.ntplx.net To: justin@arl.army.mil In-Reply-To: <200501201918.j0KJIxRi046972@pong.arl.army.mil> Message-ID: <Pine.GSO.4.43.0501201614220.25644-100000@sea.ntplx.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) cc: FreeBSD-gnats-submit@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: threads/76513: libpthread is not working X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Eischen <deischen@freebsd.org> List-Id: Threading on FreeBSD <freebsd-threads.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-threads>, <mailto:freebsd-threads-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-threads> List-Post: <mailto:freebsd-threads@freebsd.org> List-Help: <mailto:freebsd-threads-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-threads>, <mailto:freebsd-threads-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 20 Jan 2005 21:17:58 -0000 > > >Description: > libpthread is crashing when multiple threads are working inside of a loop > that is thread-safe inside of my ray-tracer. When I set libmap to use libc_r > instead of libpthread everything just works. Using libpthread with just 1 thread > also works just fine. > >How-To-Repeat: > Cannoy paste my example code, not open source, try making a simple > multithreaded program using libpthread. You're going to need to provide more information than that. We have many multithreaded programs using libpthread, so the How-To-Repeat isn't very helpful. There were also bugs in 5.3-release that have been fixed since, so you can also try updating to -stable or -current. Also, if you are using nvidia provided drivers, they are not thread-safe with libpthread. -- DE