From owner-freebsd-threads@FreeBSD.ORG Thu Oct 28 00:55:52 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 4F9CA16A4CE; Thu, 28 Oct 2004 00:55:52 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A941743D3F; Thu, 28 Oct 2004 00:55:51 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 707577A423; Wed, 27 Oct 2004 17:55:49 -0700 (PDT) Message-ID: <41804394.7020306@elischer.org> Date: Wed, 27 Oct 2004 17:55:48 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: David Xu References: <41802EE5.6070200@freebsd.org> In-Reply-To: <41802EE5.6070200@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Daniel Eischen cc: threads@freebsd.org cc: re@freebsd.org cc: John Baldwin Subject: Re: Infinite loop bug in libc_r on 4.x with condition variables and signals 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, 28 Oct 2004 00:55:52 -0000 David, do you have revision numbers of what needs to be MFC'd? David Xu wrote: > Daniel Eischen wrote: > >>> FWIW, we are having (I think) the same problem on 5.3 with >>> libpthread. The >>> >>> panic there is in the mutex code about an assertion failing because >>> a thread >>> is on a syncq when it is not supposed to be. >>> >> >> >> David and I recently fixed some races in pthread_join() and >> pthread_exit() in -current libpthread. Don't know if those >> were responsible... >> >> >> > That fix should be MFCed ASAP. > >> Here's a test program that shows correct behavior with both >> libc_r and libpthread in -current. >> >> >> > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to > "freebsd-threads-unsubscribe@freebsd.org"