From owner-freebsd-java@FreeBSD.ORG Thu Apr 6 21:46:29 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69E7016A402 for ; Thu, 6 Apr 2006 21:46:29 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from mta7.srv.hcvlny.cv.net (mta7.srv.hcvlny.cv.net [167.206.4.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BF7343D46 for ; Thu, 6 Apr 2006 21:46:29 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta7.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IXB000DTLSN2O10@mta7.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Thu, 06 Apr 2006 17:46:01 -0400 (EDT) Date: Thu, 06 Apr 2006 17:41:42 -0400 From: Kurt Miller In-reply-to: <20060406212231.GC5697@dan.emsphone.com> To: freebsd-java@freebsd.org Message-id: <200604061741.42559.lists@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-6 Content-transfer-encoding: 7BIT Content-disposition: inline References: <20060406212231.GC5697@dan.emsphone.com> User-Agent: KMail/1.9.1 Subject: Re: Diablo 1.5 SIGBUS X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2006 21:46:29 -0000 On Thursday 06 April 2006 5:22 pm, Dan Nelson wrote: > In the last episode (Apr 06), odela01 said: > > Just trying out the new JDK 1.5 binaries on my TestNG suite. Unfortunately I > > can't get it to complete, I get a SIGBUS every time. It said to send the bug > > report to this list. I have a 113Mb core dump too, if that^1s any use. > > > > The SIGBUS occurs at different places, but most often at > > [libjvm.so+0x589595]. The box has two CPUs. > > I was waiting for someone else to post first, just in case it was due > to a local mod on my machine, but I'm getting the same error. The > attached hs_err files are from RabbIT and Netbeans. I've saved a core > from each, and can generate as many as needed :) > Hi, Could you try applying this patch to libpthreads and see if it helps? It is a shot it the dark, but perhaps it will help. I got it from this pr: http://www.freebsd.org/cgi/query-pr.cgi?pr=95127 Thanks, -Kurt --- src/lib/libpthread/thread/thr_kern.c.orig Thu Apr 6 16:30:27 2006 +++ src/lib/libpthread/thread/thr_kern.c Thu Apr 6 16:31:10 2006 @@ -1334,6 +1334,7 @@ if (free_kseg_count <= MAX_CACHED_KSEGS) return; + TAILQ_INIT(&worklist); crit = _kse_critical_enter(); KSE_LOCK_ACQUIRE(curthread->kse, &kse_lock); while (free_kseg_count > MAX_CACHED_KSEGS) {