From owner-freebsd-java@FreeBSD.ORG Fri Jul 30 13:56:07 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7D5F16A4CE for ; Fri, 30 Jul 2004 13:56:07 +0000 (GMT) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2D7E43D49 for ; Fri, 30 Jul 2004 13:56:07 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 886A8A937; Fri, 30 Jul 2004 06:56:07 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 849DDA933; Fri, 30 Jul 2004 06:56:07 -0700 (PDT) Date: Fri, 30 Jul 2004 06:56:07 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: Panagiotis Astithas In-Reply-To: <410A1DED.8020900@ebs.gr> Message-ID: <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> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula Precedence: special-delivery MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: java@freebsd.org Subject: Re: native jdk release schedule question X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 13:56:08 -0000 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. Nick On Fri, 30 Jul 2004, Panagiotis Astithas wrote: > Nick Johnson wrote: > > On Mon, 26 Jul 2004, Panagiotis Astithas wrote: > > > > > >>The jdk works fine with KSE as long as you don't use debugging. Have you > >>tried using jdb yet? > > > > > > Just curious: how does the problem with jdb manifest itself? > > You get messages like this: > > % jdb BuggyWindow2 > Initializing jdb ... > > run > run BuggyWindow2 > VM start exception: VM initialization failed for: > /usr/local/jdk1.4.2/jre/bin/java -Xdebug -Xnoagent -Djava.compiler=NONE > -Xrunjdwp:transport=dt_socket,address=edgar.ebs.gr:60765,suspend=y > BuggyWindow2 > > FATAL ERROR in native method: JDWP "util.c" (Mar 15 2004), line 1194: > Unexpected error, error code = 51 (JVMDI_ERROR_NOT_MONITOR_OWNER) > > > Fatal error: > Target VM failed to initialize. > > > > 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 > -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://web.morons.org/