From owner-freebsd-java@FreeBSD.ORG Fri Apr 11 03:50:05 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 99A8237B401; Fri, 11 Apr 2003 03:50:05 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61E9043F85; Fri, 11 Apr 2003 03:50:04 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.8/8.12.6) with ESMTP id h3BAo3Ht009017; Fri, 11 Apr 2003 12:50:08 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.8/8.12.6/Submit) id h3BAnu1b009013; Fri, 11 Apr 2003 12:49:56 +0200 (CEST) From: Ernst de Haan To: Alexey Zelkin , Greg Lewis Date: Fri, 11 Apr 2003 11:49:56 +0100 User-Agent: KMail/1.5 X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304111249.56506.znerd@FreeBSD.org> cc: java@FreeBSD.org cc: Chris Gilbride cc: Bill Proud Subject: 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 10:50:05 -0000 Alexey, Greg, 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?) * Upgrade to JDK 1.3.1p8 * 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) * Use a different J2SE VM (I don't really want to do this) * Examine the core file to see what exactly went wrong Any suggested approach? Would any of you be able to examine the contents of this core file? I have no experience with that sort of thing whatsoever :( This is the head of the error message in the log file: SIGBUS 10* bus error Full thread dump Classic VM (1.3.1-p7-goran-021210-11:39, green threads): "Keep-Alive-Timer:templates.gpf.wanadoo.nl" (TID:0x28e46e48, sys_thread_t:0x8b4d680, state:CW) prio=8 at java.lang.Thread.sleep(Native Method) at sun.net.www.http.ClientVector.run(KeepAliveCache.java:216) at java.lang.Thread.run(Thread.java:484) "Thread-25" (TID:0x28dd5bd8, sys_thread_t:0x8b4d280, state:MW) prio=5 at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289) Regards, Ernst