Date: Tue, 2 Jan 2001 22:09:36 -0600 From: "Thomas T. Veldhouse" <veldy@veldy.net> To: <freebsd-java@freebsd.org> Subject: Core Dump using JDK-1.2.2p10 Message-ID: <000d01c0753a$fc642b70$1d750140@cascade>
next 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.
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.
shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki
About to load: amgn
Database: localhost stockdata veldy
shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki
About to load: ge
Database: localhost stockdata veldy
shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki
About to load: hd
Database: localhost stockdata veldy
shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki
About to load: imph
Database: localhost stockdata veldy
shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki
About to load: luv
Database: localhost stockdata veldy
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):
"Finalizer" (TID:0x28e6d320, sys_thread_t:0x8094c80, state:CW) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0x28e6d3b0, sys_thread_t:0x8094480, state:CW)
prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0x28e6d3e0, sys_thread_t:0x8051c80, state:CW)
prio=5
"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)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java, Compiled Code)
at java.net.URL.openStream(URL.java, Compiled Code)
at net.veldy.stocks.stockload.StockFetch.getInputStream(StockFetch.java,
Compiled Code)
at net.veldy.stocks.stockload.StockFetch.fetchData(StockFetch.java, Compiled
Code)
at net.veldy.stocks.stockload.LoadStock.loadStock(LoadStock.java, Compiled
Code)
at net.veldy.stocks.stockload.LoadStock.main(LoadStock.java, Compiled Code)
Monitor Cache Dump:
sun.net.www.protocol.http.HttpURLConnection@28E7DC28/28F32AF0: owner
"main" (0x8051080) 1 entry
java.lang.ref.ReferenceQueue$Lock@28E6D338/28EA3028: <unowned>
Waiting to be notified:
"Finalizer" (0x8094c80)
java.lang.ref.Reference$Lock@28E6D3C0/28EA2B20: <unowned>
Waiting to be notified:
"Reference Handler" (0x8094480)
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "main" (0x8051080) 1 entry
Dynamic loading lock: <unowned>
Monitor IO lock: <unowned>
User signal monitor: <unowned>
Waiting to be notified:
"Signal dispatcher" (0x8051c80)
Child death monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
<unknown thread> (0x8051280)
Thread queue lock: owner "main" (0x8051080) 1 entry
Monitor registry: owner "main" (0x8051080) 1 entry
SIGABRT 6 abort()
Full thread dump Classic VM (jdk1.2.2-FreeBSD:veldy:2000/09/05-09:33, green
threads):
"Finalizer" (TID:0x28e6d320, sys_thread_t:0x8094c80, state:CW) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0x28e6d3b0, sys_thread_t:0x8094480, state:CW)
prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0x28e6d3e0, sys_thread_t:0x8051c80, state:CW)
prio=5
"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)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java, Compiled Code)
at java.net.URL.openStream(URL.java, Compiled Code)
at net.veldy.stocks.stockload.StockFetch.getInputStream(StockFetch.java,
Compiled Code)
at net.veldy.stocks.stockload.StockFetch.fetchData(StockFetch.java, Compiled
Code)
at net.veldy.stocks.stockload.LoadStock.loadStock(LoadStock.java, Compiled
Code)
at net.veldy.stocks.stockload.LoadStock.main(LoadStock.java, Compiled Code)
Monitor Cache Dump:
sun.net.www.protocol.http.HttpURLConnection@28E7DC28/28F32AF0: owner
"main" (0x8051080) 1 entry
java.lang.ref.ReferenceQueue$Lock@28E6D338/28EA3028: <unowned>
Waiting to be notified:
"Finalizer" (0x8094c80)
java.lang.ref.Reference$Lock@28E6D3C0/28EA2B20: <unowned>
Waiting to be notified:
"Reference Handler" (0x8094480)
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "main" (0x8051080) 1 entry
Dynamic loading lock: <unowned>
Monitor IO lock: <unowned>
User signal monitor: <unowned>
Waiting to be notified:
"Signal dispatcher" (0x8051c80)
Child death monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
<unknown thread> (0x8051280)
Thread queue lock: owner "main" (0x8051080) 1 entry
Monitor registry: owner "main" (0x8051080) 1 entry
Abort trap - core dumped
shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki
About to load: nvr
Database: localhost stockdata veldy
shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki
About to load: pdco
Database: localhost stockdata veldy
shuJIT for Sun JVM/IA-32 Copyright 1998,1999,2000 by SHUDO Kazuyuki
About to load: spf
Database: localhost stockdata veldy
Finished updating stocks.
Thanks in advance,
Tom Veldhouse
veldy@veldy.net
P.S. These stocks really took a beating today :(
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?000d01c0753a$fc642b70$1d750140>
