From owner-freebsd-threads@FreeBSD.ORG Thu Apr 29 12:54:04 2004 Return-Path: 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 C150F16A4CF; Thu, 29 Apr 2004 12:54:04 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 353B043D39; Thu, 29 Apr 2004 12:54:04 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i3TJroQk027209; Thu, 29 Apr 2004 15:53:51 -0400 (EDT) Date: Thu, 29 Apr 2004 15:53:50 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Michael Bretterklieber In-Reply-To: <4091241D.7020501@a-quadrat.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@freebsd.org cc: current@freebsd.org cc: Julian Elischer Subject: Re: libthr, libpthread problems X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 19:54:04 -0000 On Thu, 29 Apr 2004, Michael Bretterklieber wrote: > Hi, > > currently I'm testing Mpd-4 on -current and It ran into deadlock, > therefore I changed the lib mapping via libmap.conf. When using libc_r > everything is ok, when using libpthread a deadlock occurs under some > circumstances, when using libthr, then: > > elvis:/home/mbretter/mpd/src# ./mpd > Multi-link PPP for FreeBSD, by Archie L. Cobbs. > Based on iij-ppp, by Toshiharu OHNO. > The mutex recurse count cannot be less than zero Sounds like a bug in the application (recurse count shouldn't be less than zero). -- Dan Eischen