Datastax DevCenter 1.2使用JDK 1.7_71在Debian 7.7(Wheezy)上启动时出现致命的JRE错误

时间:2014-11-20 20:16:32

标签: cassandra debian datastax

尝试使用JDK 1.7在Debian 7.7上启动Datastax DevCenter时出现以下错误。

user@ahimsa:~/datastax/DevCenter$ ./DevCenter 

(java:17985): GLib-GObject-WARNING **: cannot register existing type `GdkDisplayManager'

(java:17985): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(java:17985): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(java:17985): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(java:17985): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(java:17985): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(java:17985): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(java:17985): GLib-GObject-WARNING **: cannot register existing type `GdkDisplay'

(java:17985): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(java:17985): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(java:17985): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(java:17985): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f44ffb9973f, pid=17985, tid=139934893688576
#
# JRE version: Java(TM) SE Runtime Environment (7.0_71-b14) (build 1.7.0_71-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.71-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgdk-x11-2.0.so.0+0x5173f]  gdk_display_open+0x3f
#
# 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/bkarels/datastax/DevCenter/hs_err_pid17985.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug. 
#

虽然我怀疑一个图书馆太新,或者另一个图书馆太旧而无法工作,但我还不够精明,甚至不知道从哪里开始。

这看起来与我在寻找这个问题时发现的eclipse Luna的许多问题类似。所以,我在黑暗中拍摄了一下并将以下行添加到DevCenter.ini中。 (它没有工作,但想到了什么......)

--launcher.GTK_version
2

有谁知道我还可以尝试解决此类错误。谢谢。

0 个答案:

没有答案