From owner-freebsd-java Sat Nov 24 6:41: 0 2001 Delivered-To: freebsd-java@freebsd.org Received: from mobycarp.org (h-66-134-60-67.DLLATX37.covad.net [66.134.60.67]) by hub.freebsd.org (Postfix) with ESMTP id D765837B405 for ; Sat, 24 Nov 2001 06:40:55 -0800 (PST) Received: (from wardd@localhost) by mobycarp.org (8.11.6/8.11.1) id fAOEetD39588 for freebsd-java@freebsd.org; Sat, 24 Nov 2001 08:40:55 -0600 (CST) (envelope-from wardd) Date: Sat, 24 Nov 2001 08:40:55 -0600 From: William Ward To: freebsd-java@freebsd.org Subject: java debugger question Message-ID: <20011124084055.C39381@mobycarp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is jdb in 1.3.1 broaken? It's hanging when I try to use it. Maybe I'm doing something wrong. Here is my system information: mobycarp% uname -a FreeBSD mobycarp.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Thu Nov 8 12:22:24 CST 2001 wardd@mobycarp.org:/usr/src/sys/compile/MOBYCARP i386 Here is my java version info. mobycarp% java -version java version "1.3.1-internal" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-internal-wardd-011004-01:18) Classic VM (build 1.3.1-internal-wardd-011004-01:18, green threads, nojit) Is there a way that I can confirm that this was compiled with patch set 4? I'm almost certain that it is as I downloaded the port in October. Here is what I get when I start debugging. It hangs immediately after I type run. The JVM is taking up %0 CPU usage. mobycarp% jdb JMush Initializing jdb... > run run JMush ^\SIGQUIT Full thread dump Classic VM (1.3.1-internal-wardd-011004-01:18, green threads): "launched target monitor" (TID:0x28eb58d8, sys_thread_t:0x81f5e80, state:R) prio=5 "connection acceptor" (TID:0x28eb58a8, sys_thread_t:0x81f5c80, state:R) prio=5 "process reaper" (TID:0x28eb5880, sys_thread_t:0x81f5880, state:R) prio=5 at java.lang.UNIXProcess.waitForProcessExit(Native Method) at java.lang.UNIXProcess.access$800(UNIXProcess.java:22) at java.lang.UNIXProcess$3.run(UNIXProcess.java:84) "Finalizer" (TID:0x28ea3528, sys_thread_t:0x80d4080, state:CW) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162) "Reference Handler" (TID:0x28ea3300, sys_thread_t:0x8096480, state:CW) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110) "Signal dispatcher" (TID:0x28ea3330, sys_thread_t:0x8096280, state:R) prio=5 "main" (TID:0x28ea31b0, sys_thread_t:0x8055080, state:CW) prio=5 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:164) at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:109) at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:142) at com.sun.tools.example.debug.tty.VMConnection.launchTarget(VMConnection.java:266) at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:134) at com.sun.tools.example.debug.tty.Commands.commandRun(Commands.java:398) at com.sun.tools.example.debug.tty.TTY.executeCommand(TTY.java:393) at com.sun.tools.example.debug.tty.TTY.(TTY.java:625) at com.sun.tools.example.debug.tty.TTY.main(TTY.java:924) Monitor Cache Dump: java.lang.ref.ReferenceQueue$Lock@28EA3540/28ED9838: Waiting to be notified: "Finalizer" (0x80d4080) java.lang.ref.Reference$Lock@28EA3310/28ED9340: Waiting to be notified: "Reference Handler" (0x8096480) com.sun.tools.jdi.AbstractLauncher$Helper@28EB5980/28EFCEA0: Waiting to be notified: "main" (0x8055080) com.sun.tools.example.debug.tty.VMConnection@28EAAEF0/28F32238: owner "main" (0x8055080) 1 entry Registered Monitor Dump: utf8 hash table: JNI pinning lock: JNI global reference lock: BinClass lock: Class linking lock: System class loader lock: Code rewrite lock: Heap lock: Monitor cache lock: owner "Signal dispatcher" (0x8096280) 1 entry Dynamic loading lock: Monitor IO lock: User signal monitor: Child death monitor: I/O monitor: Alarm monitor: Waiting to be notified: (0x8055280) Thread queue lock: owner "Signal dispatcher" (0x8096280) 1 entry Monitor registry: owner "Signal dispatcher" (0x8096280) 1 entry ^C mobycarp% Script done on Sat Nov 24 08:25:20 2001 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message