From owner-freebsd-java Wed Jan 3 19:49: 6 2001 From owner-freebsd-java@FreeBSD.ORG Wed Jan 3 19:49:04 2001 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from fusion.muraoka.info.waseda.ac.jp (pc175167.tokorozawa.ppp.waseda.ac.jp [133.9.175.167]) by hub.freebsd.org (Postfix) with ESMTP id 8D5C437B400 for ; Wed, 3 Jan 2001 19:48:59 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by fusion.muraoka.info.waseda.ac.jp (8.11.0/3.7W) with ESMTP id f043nWZ04021 for ; Thu, 4 Jan 2001 12:49:32 +0900 To: freebsd-java@freebsd.org Subject: Re: Core Dump using JDK-1.2.2p10 In-Reply-To: <000d01c0753a$fc642b70$1d750140@cascade> References: <000d01c0753a$fc642b70$1d750140@cascade> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Channel Islands) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010104124932X.shudoh@muraoka.info.waseda.ac.jp> Date: Thu, 04 Jan 2001 12:49:32 +0900 From: Kazuyuki Shudo X-Dispatcher: imput version 20000228(IM140) Lines: 50 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I am using the FreeBSD native JDK 1.2.2 pl 10 (compiled against OpenMotif). > I have a java program that downloads stock data from the Internet and it is > run nightly as a cron job. Anyway, from time to time, it aborts with a core > dump. This appears to be a JDK problem and not a code problem. As others suspect, shuJIT may be the cause of your problem. > > Does the core dump happen when you don't use shuJIT? > > I don't know, I will have to research this. It is a sporadic dump, it may > take me a few days. At least, you should try to run your program without any JIT. Then you can distinguish what is the source of the problem, which can be the JDK itself or a JIT compiler. More specific information will be appreciated when reporting a bug candidate. For example, the version number of FreeBSD, JDK and the JIT is very useful to track the bug. > Unfortunately, I have lost the original source code (because of a Windows > 2000 drive reformat) when I forgot to back it up. I do have the jar though. > I get the following error. If you can write up the process to reproduce your problem, the developers will be able to debug even though they don't have the source code. > shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki > About to load: newp > Database: localhost stockdata veldy > SIGBUS 10 bus error > > Full thread dump Classic VM (jdk1.2.2-FreeBSD:veldy:2000/09/05-09:33, green > threads): (sutff deleted) > "main" (TID:0x28e6d1e0, sys_thread_t:0x8051080, state:R) prio=5 > at java.io.PushbackInputStream.unread(PushbackInputStream.java, Compiled > Code) > at java.io.PushbackInputStream.unread(PushbackInputStream.java, Compiled > Code) > at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java, Compiled Code) Kazuyuki SHUDO Happy Hacking! Muraoka Laboratory, Waseda University To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message