Date: Tue, 25 Mar 1997 21:27:54 -0500 From: Josh Tiefenbach <josh@eddie.cis.uoguelph.ca> To: hackers@freebsd.org Cc: josh@eddie.cis.uoguelph.ca Subject: JDK 1.02 dumps core Message-ID: <19970325212754.49722@eddie.cis.uoguelph.ca>
next in thread | raw e-mail | index | archive | help
Not sure if this is the best place for this, but....
I've been getting the java interpreter to dump core on me when trying to run
an application I'm developing. The dumps can be reliably reproduced.
The dumps occur when I try to create more than 8 JDBC connections to a mySQL
database. 0-8 connections seem to work fine, but 9+ instantly cause a core
dump (trace included below).
The odd part is that the app works using the Linux 1.02 JDK.
Kernel: 2.2-GAMMA circa March 14th.
Remainders: 2.2R circa March 21st.
JDK: jdk1.02-11.26 from freefall.
Any suggestions? Jeffery? Nate?
josh
-----8<--------
eddie:/usr/home/josh/444/code$ make run
env CLASSPATH=.:/usr/local/jdk-1.02/classes.zip:`pwd`/jdbc.zip:`pwd`/mysql.zip java CServer props
DEBUG: Loading mySQL JDBC driver
DEBUG: URL to db: jdbc:mysql://bar.cis.uoguelph.ca:3333/foo
DEBUG: Created Connection: jdbc:mysql://bar.cis.uoguelph.ca:3333/foo
DEBUG: Created Connection: jdbc:mysql://bar.cis.uoguelph.ca:3333/foo
DEBUG: Created Connection: jdbc:mysql://bar.cis.uoguelph.ca:3333/foo
DEBUG: Created Connection: jdbc:mysql://bar.cis.uoguelph.ca:3333/foo
DEBUG: Created Connection: jdbc:mysql://bar.cis.uoguelph.ca:3333/foo
DEBUG: Created Connection: jdbc:mysql://bar.cis.uoguelph.ca:3333/foo
DEBUG: Created Connection: jdbc:mysql://bar.cis.uoguelph.ca:3333/foo
DEBUG: Created Connection: jdbc:mysql://bar.cis.uoguelph.ca:3333/foo
SIGSEGV 11* segmentation violation
sig 11, code 12 or 0xc, sc 0xefbfcfcc, addr 0x8
stackbase=0xefbfd6c4, stackpointer=0xefbfcf94
Full thread dump:
"Finalizer thread" (TID:0x85853b0, sys_thread_t:0x9389f28) prio=1
"Async Garbage Collector" (TID:0x8585368, sys_thread_t:0x9368f28) prio=1
"Idle thread" (TID:0x8585320, sys_thread_t:0x9347f28) prio=0
"clock handler" (TID:0x85851f8, sys_thread_t:0x9326f28) prio=11
"main" (TID:0x85850a0, sys_thread_t:0x13f300) prio=5 *current thread*
java.net.PlainSocketImpl.create(PlainSocketImpl.java:81)
java.net.Socket.<init>(Socket.java:94)
java.net.Socket.<init>(Socket.java:70)
gwe.sql.gweMysql.Connect(gweMysql.java)
gwe.sql.gweMysqlConnection.<init>(gweMysqlConnection.java)
gwe.sql.gweMysqlDriver.connect(gweMysqlDriver.java)
java.sql.DriverManager.getConnection(DriverManager.java:90)
java.sql.DriverManager.getConnection(DriverManager.java:132)
CServer.CreateDBPool(CServer.java:209)
CServer.main(CServer.java:161)
Monitor Cache Dump:
gwe.sql.gweMysql@8588170/8648BC0 (key=0x8588170): monitor owner: "main"
java.lang.Class@8585F30/14DC00 (key=0x8585f30): monitor owner: "main"
unknown key (key=0x9368f28): unowned
Waiting to be notified:
"Async Garbage Collector"
java.net.PlainSocketImpl@8588180/8648C18 (key=0x8588180): monitor owner: "main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Waiting to be notified:
"Finalizer thread"
Thread queue lock: unowned
Class lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Has finalization queue lock: unowned
Monitor IO lock: unowned
Child death monitor: unowned
Event monitor: unowned
I/O monitor: unowned
Alarm monitor: unowned
Waiting to be notified:
"clock handler"
Monitor cache lock: unowned
Monitor registry: monitor owner: "main"
Thread Alarm Q:
sys_thread_t 0x9368f28 [Timeout in 764 ms]
Abort trap - core dumped
*** Error code 134
Stop.
--
Josh Tiefenbach | "You could do that, and I could nail your
President, | head to that table, set it on fire, and feed
Society for Computing | your charred remains to the Phak'mari."
and Information Science. |
University of Guelph | -- Sinclair, "Epiphanies"
mailto:josh@eddie.cis.uoguelph.ca Web: http://eddie.cis.uoguelph.ca/~josh
PGP fingerprint = CCC5E3615A57F69B3BA426BE2D33F4A2 | Public key on web page
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970325212754.49722>
