From owner-freebsd-threads@FreeBSD.ORG Thu Jan 20 21:20:27 2005 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C4EA16A4E8 for ; Thu, 20 Jan 2005 21:20:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B53D343D1D for ; Thu, 20 Jan 2005 21:20:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0KLKK3t070093 for ; Thu, 20 Jan 2005 21:20:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0KLKKjJ070092; Thu, 20 Jan 2005 21:20:20 GMT (envelope-from gnats) Date: Thu, 20 Jan 2005 21:20:20 GMT Message-Id: <200501202120.j0KLKKjJ070092@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: Daniel Eischen 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 List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 21:20:28 -0000 The following reply was made to PR threads/76513; it has been noted by GNATS. From: Daniel Eischen To: justin@arl.army.mil Cc: FreeBSD-gnats-submit@freebsd.org, Subject: Re: threads/76513: libpthread is not working Date: Thu, 20 Jan 2005 16:17:55 -0500 (EST) > > >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