From owner-freebsd-java@FreeBSD.ORG Tue Aug 31 21:07:36 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 0507216A4CE for ; Tue, 31 Aug 2004 21:07:36 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE8C643D2F for ; Tue, 31 Aug 2004 21:07:33 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) i7VL7Og5078705; Tue, 31 Aug 2004 15:07:27 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.11/8.12.11/Submit) id i7VL7JJN078704; Tue, 31 Aug 2004 15:07:19 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 31 Aug 2004 15:07:18 -0600 From: Greg Lewis To: Andreas Kohn Message-ID: <20040831210718.GA78658@misty.eyesbeyond.com> References: <20040830184548.GA51796@misty.eyesbeyond.com> <20040830192658.GA52365@misty.eyesbeyond.com> <20040830205214.GA53027@misty.eyesbeyond.com> <1093985545.58059.14.camel@klamath.ankon.de.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1093985545.58059.14.camel@klamath.ankon.de.eu.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: Native Java3D [Samples hang] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 21:07:36 -0000 On Tue, Aug 31, 2004 at 10:52:25PM +0200, Andreas Kohn wrote: > On Mon, 2004-08-30 at 22:52, Greg Lewis wrote: > > On Mon, Aug 30, 2004 at 01:26:58PM -0600, Greg Lewis wrote: > > > On Mon, Aug 30, 2004 at 12:45:48PM -0600, Greg Lewis wrote: > > > > If anyone is interested, please grab the source code and apply the attached > > > > patch to the j3d-core sub-project. Then just follow the build and use > > > > instructions as normal. > > > > > > D'oh. You also need the attached tarball unpacked in j3d-core. These are > > > new files required for the build. Sorry 'bout that... > > > > Looks like the attachment was stripped. You can get the diff and the > > tarball at > > > > http://www.eyesbeyond.com/freebsddom/java/j3d-core.diff > > http://www.eyesbeyond.com/freebsddom/java/j3d-core.tar.gz > > I can compile it without problems. But running sample applications gives > only a gray window. > > I compiled vecmath, copied the jar to /usr/local/share/java/classes, > compiled j3d-core, copied both jar's to /usr/local/share/java/classes, > and the libj3dcore-ogl.so & libj3dutils.so from > build/freebsd-i586/opt/lib/i386 to /usr/local/lib. > > I can see no errors when running the samples: > > $java -cp > /usr/local/share/java/classes/j3dcore.jar:/usr/local/share/java/classes/j3dutils.jar:. HelloUniverse > > Java 3D pre-release version: 1.3.2-build5-experimental 8/30/04 11:41:53 > PM CEST > [program seem to hang, does not react on clicks or keypresses.] > > > The hung process is in state "RUN" according to top, it uses only > minimal amount of CPU. I need to kill -KILL the process to get rid of > it. > > -- > Machine information: > AMD Athlon 1200, 256M RAM, nVidia Geforce 2 MX (32M) with binary nvidia > 6113 drivers. X.Org 6.7.9.902 (compiled from sources). Two monitors > attached (TV-Out and CRT). > Direct Rendering is working, glxgears gives rotating accelerated gears. > A tomcat is running on the machine, no other java processes. Libmap.conf > maps -lpthread to -lc_r. > > FreeBSD klamath.ankon.de.eu.org 6.0-CURRENT FreeBSD 6.0-CURRENT #14: Mon > Aug 23 01:20:04 CEST 2004 > root@klamath.ankon.de.eu.org:/usr/obj/usr/src/sys/KLAMATH i386 > > How can I help? If you send it a SIGQUIT (I think) do you get a stack trace? IIRC you can do this with Ctrl-\. Alternatively, can you try running things with java_g under gdb and get a trace from there? Does using libkse change the behaviour at all? My set up is very different 4.10, XFree86-4.4. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org