From owner-freebsd-threads@FreeBSD.ORG Thu Jun 26 17:39:24 2003 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 A5E8137B401 for ; Thu, 26 Jun 2003 17:39:24 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6291C43FDF for ; Thu, 26 Jun 2003 17:39:23 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5R0dNDZ020391; Thu, 26 Jun 2003 17:39:23 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5R0dMhn038150; Thu, 26 Jun 2003 17:39:22 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h5R0dMgZ038149; Thu, 26 Jun 2003 17:39:22 -0700 (PDT) (envelope-from marcel) Date: Thu, 26 Jun 2003 17:39:22 -0700 From: Marcel Moolenaar To: Mike Makonnen Message-ID: <20030627003922.GA38103@dhcp01.pn.xcllnt.net> References: <3EFB2E12.3080504@intalio.com> <20030626203624.GA37317@dhcp01.pn.xcllnt.net> <20030627002155.UEBC11703.pop018.verizon.net@kokeb.ambesa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030627002155.UEBC11703.pop018.verizon.net@kokeb.ambesa.net> User-Agent: Mutt/1.5.4i cc: freebsd-threads@FreeBSD.org Subject: Re: libkse / libthr bugs? 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: Fri, 27 Jun 2003 00:39:24 -0000 On Thu, Jun 26, 2003 at 08:21:54PM -0400, Mike Makonnen wrote: > > > > % ./foo2 1000 > > [very long list of random "bar #" > > : > > bar 999 > > bar 226 > > bar 244 > > Thread (_thread_initial:0) already on mutexq > > Fatal error 'Illegal call from signal handler' at line 1347 in file > > /nfs/freebsd/5.x/src/lib/libthr/thread/thr_mutex.c (errno = 0) > > Great! I've been waiting for this message to appear for some time. Do you have a > backtrace by any chance? gdb(1) hasn't been ported yet, so no. BTW: The thread is not always _thread_initial... > > Note that I don't have any of David's signal code patches applied. > > Any unbreaking of signals in the kernel would definitely help libthr. If it's expected to make a difference, I can grab them and try again. Just say the word... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net