From owner-freebsd-java Thu May 18 20:17:15 2000 Delivered-To: freebsd-java@freebsd.org Received: from seanreilly.com (209-9-223-139.sdsl.cais.net [209.9.223.139]) by hub.freebsd.org (Postfix) with ESMTP id 634D837BA2F for ; Thu, 18 May 2000 20:17:11 -0700 (PDT) (envelope-from sreilly@seanreilly.com) Received: from localhost (localhost [127.0.0.1]) by seanreilly.com (8.9.3/8.9.3) with ESMTP id XAA62023 for ; Thu, 18 May 2000 23:21:33 -0400 (EDT) (envelope-from sreilly@seanreilly.com) Date: Thu, 18 May 2000 23:21:33 -0400 (EDT) From: Sean Reilly To: freebsd-java@freebsd.org Subject: problem in 1.1.8 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. 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.(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: 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: Waiting to be notified: "AWT-Finalizer" (0x29528f00) (0x29452f00): Waiting to be notified: "Async Garbage Collector" (0x29452f00) Registered Monitor Dump: Thread queue lock: Name and type hash table lock: String intern lock: JNI pinning lock: JNI global reference lock: BinClass lock: Class loading lock: owner "AWT-EventQueue-0" (0x294a2f00, 1 entry) Waiting to enter: "main" (0x8124a00) "Image Animator 0" (0x29507f00) Java stack lock: Code rewrite lock: Heap lock: Has finalization queue lock: Finalize me queue lock: Waiting to be notified: "AWT-EventQueue-0" (0x294a2f00) "Finalizer thread" (0x29473f00) Monitor IO lock: Child death monitor: Event monitor: I/O monitor: Waiting to be notified: "AWT-Input" (0x294c3f00) Alarm monitor: Waiting to be notified: "Clock" (0x29410f00) Memory allocation lock: 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