From owner-freebsd-java@FreeBSD.ORG Fri Apr 11 12:36:58 2003 Return-Path: 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 249DF37B404 for ; Fri, 11 Apr 2003 12:36:58 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0092C43FBF for ; Fri, 11 Apr 2003 12:36:57 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 1944KW-00062n-04 for java@freebsd.org; Fri, 11 Apr 2003 13:36:56 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 1944KN-0005xq-04; Fri, 11 Apr 2003 13:36:48 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h3BJagC20131; Sat, 12 Apr 2003 05:06:42 +0930 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 12 Apr 2003 05:06:42 +0930 From: Greg Lewis To: Ernst de Haan Message-ID: <20030412050641.A20096@misty.eyesbeyond.com> References: <200304111249.56506.znerd@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200304111249.56506.znerd@FreeBSD.org>; from znerd@FreeBSD.org on Fri, Apr 11, 2003 at 11:49:56AM +0100 X-Spam-Status: No, hits=-2.8 required=8.0 tests=IN_REP_TO,NO_EXPERIENCE,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: cc: Chris Gilbride cc: java@FreeBSD.org cc: Alexey Zelkin cc: Bill Proud Subject: Re: SIGBUS on FreeBSD 4.7-S / Native JDK 1.3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 19:36:58 -0000 Hi Ernst, On Fri, Apr 11, 2003 at 11:49:56AM +0100, Ernst de Haan wrote: > We're in the middle of deploying quite a large frontend application on > Tomcat 4. We'd prefer to deploy on J2SE 1.3/FreeBSD, but we're getting > SIGBUS errors. Currently we're using these versions: > > * Tomcat 4.1.24 > * JDK 1.3.1p7 > * FreeBSD 4.7-STABLE (Compiled @ 2002.11.18/14:56:20 CET) > * x86 SMP system (Dual P4, I think) > > I see a number of alternative solutions: > > * Upgrade to FreeBSD 4.8 (I remember there were some Java-related > improvements after Nov 2002, right?) Native threading only. > * Upgrade to JDK 1.3.1p8 This may solve your problem. > * Set MAXUSERS to 0 in the kernel config file and recompile and install the > kernel (I remember this solved some native JDK problem in the past) I've never heard of that :). > * Use a different J2SE VM (I don't really want to do this) > * Examine the core file to see what exactly went wrong This is particularly helpful if you can get a core generated with java_g. > Any suggested approach? Upgrade to 1.3.1p8 and see if you can reproduce the problem, particularly with java_g. There was at least one SIGBUS fixed by p8. > Would any of you be able to examine the contents of this core file? I have > no experience with that sort of thing whatsoever :( My time is pretty limited right now, but if the problem still occurs after upgrading to 1.3.1p8 I'll try and take a look. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org