java3d port?

Marc van Kempen marc at bowtie.nl
Thu Nov 13 14:49:14 PST 2003


Hi,

I saw a post from Gavin Kenny last year, reporting that he had linux 
java3d running on FreeBSD 4.4.

I just tried doing it on FreeBSD 5.1, drm support is in the kernel since 
5.0 so I apparently don´t need the drm-kmod port, I installed the 
linux_mesa3d port and the linux_dri-4.3.0_1.tbz.

My XFree86 version is 4.3.0_1, java version is linux-sun-jdk1.4.2.

When I try running a demo I get the following error:

************************************************************************

*** ERROR: Canvas3D constructed with a null GraphicsConfiguration

*** This will cause a NullPointerException in a subsequent release

************************************************************************

An unexpected exception has been detected in native code outside the VM.

Unexpected Signal : 4 occurred at PC=0x3551D4E1

Function=(null)+0x3551D4E1

Library=/usr/X11R6/lib/libGL.so.1

NOTE: We are unable to locate the function name symbol for the error

      just occurred. Please refer to release documentation for possible

      reason and solutions.

Current Java thread:

        at javax.media.j3d.Canvas3D.callDisplayList(Native Method)

        at 
javax.media.j3d.DisplayListRenderMethod.render(DisplayListRenderMethod.java:43)

        at javax.media.j3d.RenderMolecule.render(RenderMolecule.java:1852)

        at javax.media.j3d.TextureBin.renderList(TextureBin.java:1296)

        at javax.media.j3d.TextureBin.renderList(TextureBin.java:1268)

        at javax.media.j3d.TextureBin.render(TextureBin.java:1258)

        at javax.media.j3d.TextureBin.render(TextureBin.java:1211)

        at javax.media.j3d.AttributeBin.render(AttributeBin.java:389)

        at javax.media.j3d.EnvironmentSet.render(EnvironmentSet.java:426)

        at javax.media.j3d.LightBin.render(LightBin.java:361)

        at javax.media.j3d.RenderBin.renderOpaque(RenderBin.java:5013)

        at javax.media.j3d.Renderer.doWork(Renderer.java:1226)

        at javax.media.j3d.J3dThread.run(J3dThread.java:250)

Dynamic libraries:

Can not get information for pid = 91299

Heap at VM Abort:

Heap

def new generation   total 576K, used 394K [0x2c770000, 0x2c810000, 
0x2cc50000)

  eden space 512K,  73% used [0x2c770000, 0x2c7cdb18, 0x2c7f0000)

  from space 64K,  31% used [0x2c7f0000, 0x2c7f50a0, 0x2c800000)

  to   space 64K,   0% used [0x2c800000, 0x2c800000, 0x2c810000)

tenured generation   total 1408K, used 911K [0x2cc50000, 0x2cdb0000, 
0x30770000)

   the space 1408K,  64% used [0x2cc50000, 0x2cd33de0, 0x2cd33e00, 
0x2cdb0000)

compacting perm gen  total 7424K, used 7350K [0x30770000, 0x30eb0000, 
0x34770000)

   the space 7424K,  99% used [0x30770000, 0x30e9d920, 0x30e9da00, 
0x30eb0000)

Local Time = Thu Nov 13 22:48:16 2003

Elapsed Time = 4

#

# The exception above was detected in native code outside the VM

#

# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)

#

# An error report file has been saved as hs_err_pid91285.log.

# Please refer to the file for further information.

#


Has anyone been able to get this running on FreeBSD? (accelerated or not)

Regards,
Marc.





More information about the freebsd-java mailing list