From owner-freebsd-threads@FreeBSD.ORG Fri May 30 12:24:07 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 A261137B401 for ; Fri, 30 May 2003 12:24:07 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF36243F93 for ; Fri, 30 May 2003 12:24:06 -0700 (PDT) (envelope-from eischen@pcnet.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h4UJO6Nc002723; Fri, 30 May 2003 15:24:06 -0400 (EDT) Date: Fri, 30 May 2003 15:24:06 -0400 (EDT) From: Daniel Eischen To: Martin Blapp In-Reply-To: <20030530211205.U94836@cvs.imp.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: panic during openoffice build with libkse 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, 30 May 2003 19:24:07 -0000 On Fri, 30 May 2003, Martin Blapp wrote: > > Hi all, > > > Well, Martin compiles and _runs compiled tools during the office build. > > So libkse can reboot the machine :) > > This is definitly true. The build tools heavily use threads, and I > always had some of the tools breaking with either libc_r or now > libkse, libthr. We found one bug this way for libkse. > > > BTW, I can reliably crash libkse programs on a SMP box using a trivial > > code snippet. It looks like kernel is trying to lock an uninitialized or > > freed mutes and dies with trap 12 while holding a sched_lock spinlock. > > Not a pretty sight. The offending line is kern_mutex.c:598. Sorry, no > > backtrace yet thanks to schedlock. > > I just finished a build of OpenOffice and it seems to run fine ! Mine is built, but the damn thing won't install. This is a fresh installation of openoffice, so there was no prior installation of it. First it bombed on not finding OpenOffice.org1.0, so a did a 'mkdir /usr/local/OpenOffice.org1.0' and it got past that. Now it's stopping in other places. What magic am I missing? > What about HTT ? Can we use that to emulate several cpu's ? I think so. -- Dan Eischen