Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2001 12:49:32 +0900
From:      Kazuyuki Shudo <shudoh@muraoka.info.waseda.ac.jp>
To:        freebsd-java@freebsd.org
Subject:   Re: Core Dump using JDK-1.2.2p10
Message-ID:  <20010104124932X.shudoh@muraoka.info.waseda.ac.jp>
In-Reply-To: <000d01c0753a$fc642b70$1d750140@cascade>
References:  <000d01c0753a$fc642b70$1d750140@cascade>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010104124932X.shudoh>