在 11.10 以上版本的 Ubuntu 上使用 Java3d 时出现致命错误

在 11.10 以上版本的 Ubuntu 上使用 Java3d 时出现致命错误

我正在运行一个基于 Java 的网站,在其中我使用 Java3d 在 Oneiric 上渲染一些 3D 图像而没有任何问题。

我还需要说,由于该应用程序在没有显卡的服务器上运行,所以我使用 xvfb。

当我进行系统升级时(我尝试了每个版本,直到 14.10)我收到以下致命错误。

我尝试了很多不同的设置。oracle java、openjdk 所有版本,都没有成功。

最让我困惑的是,第一次渲染可以正常工作,有时第二次也可以。但之后它会终止整个 java 进程,并且我在日志中看到以下错误消息:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3f2e91a530, pid=9831, tid=139909307741952
#
# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32)
# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.5.3
# Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3-0ubuntu0.14.04.1
# Problematic frame:
# C  [libGL.so.1+0x3d530]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/litwan/8080yanel/local/apache-tomcat-7.0.25/bin/hs_err_pid9831.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#

任何帮助或提示都将非常感激。

答案1

我找到解决办法了!

更新至 java3d 1.6。如下所示: https://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/

顺便说一句,清理/卸载旧的 java3d 非常重要。

希望这可以帮助。

相关内容