From owner-freebsd-threads@FreeBSD.ORG Fri May 30 12:14:49 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 5E0BE37B401 for ; Fri, 30 May 2003 12:14:49 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8CC443F3F for ; Fri, 30 May 2003 12:14:47 -0700 (PDT) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by mail.imp.ch (8.12.6p2/8.12.3) with ESMTP id h4UJEiEU078975; Fri, 30 May 2003 21:14:45 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Fri, 30 May 2003 21:14:44 +0200 (CEST) From: Martin Blapp To: Alexander Kabaev In-Reply-To: <20030530101451.135d8ad2.ak03@gte.com> Message-ID: <20030530211205.U94836@cvs.imp.ch> References: <20030530092035.K94836@cvs.imp.ch> <20030530101451.135d8ad2.ak03@gte.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Daniel Eischen 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:14:49 -0000 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 ! What about HTT ? Can we use that to emulate several cpu's ? Martin