Date: Fri, 30 Jul 2004 17:29:13 +0300 From: Panagiotis Astithas <past@ebs.gr> To: Nick Johnson <freebsd@spatula.net> Cc: java@freebsd.org Subject: Re: native jdk release schedule question Message-ID: <410A5B39.1050409@ebs.gr> In-Reply-To: <20040730064539.O86418@turing.morons.org> References: <200407241051.i6OApKuq024726@smtp.hispeed.ch> <41024D54.2070304@s-ar.de> <4104ADA9.9060206@ebs.gr> <20040727070121.A86418@turing.morons.org> <410A1DED.8020900@ebs.gr> <20040730064539.O86418@turing.morons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Nick Johnson wrote: > FWIW, it looks like the trouble comes from > hotspot/src/share/vm/prims/jvmdi.cpp because monitor->monitor().raw_notify > (or raw_wait or raw_notifyAll or raw_exit) is returning > ObjectMonitor::OM_ILLEGAL_MONITOR_STATE. > > That seems to be triggered from > hotspot/src/os/bsd/vm/objectMonitor_bsd.cpp like this: > > int ObjectMonitor::raw_notify(TRAPS) { > if (THREAD != _owner) { > return OM_ILLEGAL_MONITOR_STATE; > } > > So at first glance it looks like a thread ownership problem. Don't have > time to dig any deeper ATM. The funny thing is that the behavior is not consistent: edgar% cat dummy.java class dummy { public static void main(String[] args) {} } edgar% javac dummy.java edgar% java dummy edgar% jdb dummy Initializing jdb ... > run run dummy java.io.IOException: Target failed to handshake. at com.sun.tools.jdi.VirtualMachineManagerImpl.handshake(VirtualMachineManagerImpl.java:190) at com.sun.tools.jdi.VirtualMachineManagerImpl.createVirtualMachine(VirtualMachineManagerImpl.java:201) at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:107) at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:144) at com.sun.tools.example.debug.tty.VMConnection.launchTarget(VMConnection.java:333) at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:166) at com.sun.tools.example.debug.tty.Commands.commandRun(Commands.java:547) at com.sun.tools.example.debug.tty.TTY.executeCommand(TTY.java:299) at com.sun.tools.example.debug.tty.TTY.<init>(TTY.java:539) at com.sun.tools.example.debug.tty.TTY.main(TTY.java:850) Fatal error: Unable to launch target VM. I was usually getting the previous error that I mentioned, but the last 6-7 runs consistently give me this output. It could be some sort of heap corruption or something like that. The machine is a July 10 -CURRENT. Rebuilding the jdk with WITH_DEBUG is going to take the rest of the day on my system, but since I am leaving on vacation in a few hours, it will have to wait :-) Cheers, -- Panagiotis Astithas, PhD R&D Manager EBS, Electronic Business Systems Ltd. 18 Evgenidou Street, 115 25, Athens GREECE Phone: +30 210 674 7631 Fax: +30 210 674 7601 http://www.ebs.gr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?410A5B39.1050409>