Date: Thu, 18 May 2000 23:21:33 -0400 (EDT) From: Sean Reilly <sreilly@seanreilly.com> To: freebsd-java@freebsd.org Subject: problem in 1.1.8 Message-ID: <Pine.BSF.4.10.10005181934260.61564-100000@seanreilly.com>
next in thread | raw e-mail | index | archive | help
I'm running into a problem on 4.0-RELEASE with the 1.1.8 JDK port. My
program freezes shortly after startup while trying to load an image as a
splash window. Hitting Ctrl-\ results in the thread dump below. Is the
X11Graphics.finalize supposed to be called from within String.<init> or am
I reading this wrong?
Any insight as to how I can avoid this is appreciated.
Thanks,
Sean
^\SIGQUIT 3* quit
Full thread dump:
"AWT-Finalizer" (TID:0x2869afc8, sys_thread_t:0x29528f00, state:CW)
prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:40)
"Image Animator 0" (TID:0x2869aab0, sys_thread_t:0x29507f00, state:MW)
prio=3
sun.awt.image.ImageDecoder.close(ImageDecoder.java:163)
sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:290)
sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:257)
sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:143)
sun.awt.image.ImageFetcher.run(ImageFetcher.java:119)
"AWT-Motif" (TID:0x2868fff0, sys_thread_t:0x294e4f00, state:CW) prio=5
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0x28690010, sys_thread_t:0x294c3f00, state:CW) prio=5
"AWT-EventQueue-0" (TID:0x28690028, sys_thread_t:0x294a2f00, state:CW)
prio=5
java.awt.LightweightDispatcher.dispatchEvent(Container.java:1555)
java.awt.Container.dispatchEventImpl(Container.java:933)
java.awt.Window.dispatchEventImpl(Window.java:509)
java.awt.Component.dispatchEvent(Component.java:1744)
java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
"Finalizer thread" (TID:0x2866f210, sys_thread_t:0x29473f00, state:CW)
prio=1
"Async Garbage Collector" (TID:0x2866f258, sys_thread_t:0x29452f00,
state:CW) prio=1
"Idle thread" (TID:0x2866f2a0, sys_thread_t:0x29431f00, state:R)
prio=0 *current thread*
"Clock" (TID:0x2866f088, sys_thread_t:0x29410f00, state:CW) prio=12
"main" (TID:0x2866f0b0, sys_thread_t:0x8124a00, state:MW) prio=5
sun.awt.motif.X11Graphics.finalize(X11Graphics.java:109)
java.lang.String.<init>(String.java)
java.io.DataInputStream.readUTF(DataInputStream.java)
java.io.DataInputStream.readUTF(DataInputStream.java)
com.seanreilly.apps.moneydance.model.io.MDV5DataReader.readBankTransaction(MDV5DataReader.java)
com.seanreilly.apps.moneydance.model.io.MDV5DataReader.readTransaction(MDV5DataReader.java)
com.seanreilly.apps.moneydance.model.io.MDV5DataReader.readTransactions(MDV5DataReader.java)
com.seanreilly.apps.moneydance.model.io.MDV5DataReader.readAccountsFromFile(MDV5DataReader.java)
com.seanreilly.apps.moneydance.model.io.FileUtils.readAccountsFromFile(FileUtils.java)
com.seanreilly.apps.moneydance.controller.Main.startApplication(Main.java)
com.seanreilly.apps.moneydance.controller.Main.main(Main.java)
Moneydance.main(Moneydance.java)
Monitor Cache Dump:
sun.awt.image.GifImageDecoder@2869AE78/286FB0E8: owner "Image Animator
0" (0x29507f00, 1 entry)
sun.awt.motif.MToolkit@286900B0/286DDD28: <unowned>
Waiting to be notified:
"AWT-Motif" (0x294e4f00)
java.lang.Class@28699CD0/286F5140: owner "AWT-EventQueue-0"
(0x294a2f00, 1 entry)
java.lang.Class@2869AE80/286FB070: owner "Image Animator 0"
(0x29507f00, 1 entry)
java.lang.Class@28699EB8/286F58C8: owner "main" (0x8124a00, 1 entry)
sun.awt.AWTFinalizer@2869AFC8/286DE6B0: <unowned>
Waiting to be notified:
"AWT-Finalizer" (0x29528f00)
<unknown key> (0x29452f00): <unowned>
Waiting to be notified:
"Async Garbage Collector" (0x29452f00)
Registered Monitor Dump:
Thread queue lock: <unowned>
Name and type hash table lock: <unowned>
String intern lock: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class loading lock: owner "AWT-EventQueue-0" (0x294a2f00, 1 entry)
Waiting to enter:
"main" (0x8124a00)
"Image Animator 0" (0x29507f00)
Java stack lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Has finalization queue lock: <unowned>
Finalize me queue lock: <unowned>
Waiting to be notified:
"AWT-EventQueue-0" (0x294a2f00)
"Finalizer thread" (0x29473f00)
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Waiting to be notified:
"AWT-Input" (0x294c3f00)
Alarm monitor: <unowned>
Waiting to be notified:
"Clock" (0x29410f00)
Memory allocation lock: <unowned>
Monitor registry: owner "Idle thread" (0x29431f00, 1 entry)
Thread Alarm Q:
sys_thread_t 0x294c3f00 [Timeout in 152 ms]
sys_thread_t 0x29452f00 [Timeout in 652 ms]
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?Pine.BSF.4.10.10005181934260.61564-100000>
