Date: Tue, 31 Aug 2004 15:07:18 -0600 From: Greg Lewis <glewis@eyesbeyond.com> To: Andreas Kohn <andreas.kohn@gmx.net> Cc: freebsd-java@freebsd.org Subject: Re: Native Java3D [Samples hang] Message-ID: <20040831210718.GA78658@misty.eyesbeyond.com> In-Reply-To: <1093985545.58059.14.camel@klamath.ankon.de.eu.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040831210718.GA78658>