From owner-freebsd-java@FreeBSD.ORG Mon Apr 10 01:45:31 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 3ED0D16A402 for ; Mon, 10 Apr 2006 01:45:31 +0000 (UTC) (envelope-from Lachlan.O'Dea@ca.com) Received: from mail17.ca.com (mail17.ca.com [155.35.248.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A4D443D46 for ; Mon, 10 Apr 2006 01:45:30 +0000 (GMT) (envelope-from Lachlan.O'Dea@ca.com) Received: from AUSYMS13.ca.com ([155.35.201.4]) by mail17.ca.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 10 Apr 2006 11:45:29 +1000 Received: from 155.35.171.82 ([155.35.171.82]) by AUSYMS13.ca.com ([155.35.201.4]) via Exchange Front-End Server webmail.ca.com ([155.35.248.89]) with Microsoft Exchange Server HTTP-DAV ; Mon, 10 Apr 2006 01:45:16 +0000 User-Agent: Microsoft-Entourage/11.2.3.060209 Date: Mon, 10 Apr 2006 11:45:20 +1000 From: odela01 To: Message-ID: Thread-Topic: Diablo 1.5 SIGBUS - fixed Thread-Index: AcZcQGzRq1GnxMgzEdqQgwAWy41feQ== In-Reply-To: <200604071646.54787.kurt@intricatesoftware.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 10 Apr 2006 01:45:29.0470 (UTC) FILETIME=[7276F9E0:01C65C40] Subject: Re: Diablo 1.5 SIGBUS - fixed X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 01:45:31 -0000 > From: Kurt Miller > Date: Fri, 07 Apr 2006 16:46:54 -0400 > To: > Subject: Re: Diablo 1.5 SIGBUS > > On Friday 07 April 2006 11:28 am, Dan Nelson wrote: >> In the last episode (Apr 07), Kurt Miller said: >>> On Thursday 06 April 2006 11:41 pm, Daniel Eischen wrote: >>>> On Thu, 6 Apr 2006, Kurt Miller wrote: >>>>> On Thursday 06 April 2006 8:49 pm, odela01 wrote: >>>>>> I applied the patch and did "make all install" in >>>>>> /usr/src/lib/libpthread, but it didn't make any difference. >>>>>> I'll try to arrange access to the core dump. >>>>> >>>>> Thanks for making the core dump available to me. It was helpful. >>>>> I got a partial stack trace from it: >>>>> >>>>> #0 0x280aa41b in pthread_setcancelstate () from /usr/lib/libpthread.so.2 >>>>> #1 0x280a29a6 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 >>>>> #2 0x00000000 in ?? () >>>>> >>>>> This bt also supports Dan Nelson's observations that this could >>>>> be a threading issue. It would be great if you or Dan built a >>>>> debug pthreads by commenting the CFLAGS+= -g line in >>>>> /usr/src/lib/pthreads/Makefile and rebuilding/reinstall pthreads. >>>>> The back-trace from the core file would contain line numbers and >>>>> be more useful then. >>>> >>>> That stack trace doesn't help. pthread_mutexattr_init(), doesn't >>>> call pthread_setcancelstate(). >>>> >>>> Is there any fork()ing going on? >>> >>> One of the reports indicated RabbIT3 >>> (http://www.khelekore.org/rabbit/) was causing failures. It doesn't >>> do any fork()ing. >> >> To keep someone else from mentioning it: It can fork if you enable the >> image compressor, but I don't, so in my case it isn't. >> > > Hi, > > I was able to catch the SIGBUS in gdb once so far on a remote > multiprocessor system. There was some evidence that the use of > of the jvm argument -XX:+UseMembar will help correct the problem. > I wasn't readily able to reproduce the problem so I'm not sure > yet if this is the proper solution. Can those of you who are > getting the SIGBUS try this and see if it improves things? I think you nailed it! Previously it would always sigbus a few seconds after launching TestNG, but after adding that argument, it completed the whole test suite, which takes about 20 minutes. Google didn't have much to say about UseMembar, can you tell me what effect it has? -- Lachlan O'Dea CA Senior Software Engineer tel: +61 3 8416 5627 fax: +61 3 8416 5810 mobile: +61 412 390 650 odela01@ca.com Relax and enjoy your shoes! > > Thanks, > -Kurt > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >