Etiketler

16 Kasım 2014 Pazar

Eclipse A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007fabcdbd073f, pid=3958, tid=140376234772224


Merhabalar Arkadaslar

Bugun sizlerle Kali Linux uzerinde Eclipse programi kurarken karsilastigim bir sorundan bahsetmek istiyorum.

Kali Linux isletim sistemim VMMare WorkStation uzerinde calisan 64 bit lik sanal bir makina.

https://www.eclipse.org/downloads/ adresinden Eclipse programini indiriyorsunuz, daha sonrasinda tar.gz dan cikariyorsunuz. Terminalden cikarmis oldugunuz eclipse klasorune giriyorsunuz ve daha sonrasinda calistirma komutunu yazdiginizda  eger asagidaki gibi bir hata aliyor iseniz..

./eclipse

Daha sonra aldigim hata asagidaki gibidir.

org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was
activated before the state location was initialized.  Will retry after the state location is initialized.
(java:3958): GLib-GObject-WARNING **: cannot register existing type `GdkDisplayManager'
(java:3958): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(java:3958): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
(java:3958): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(java:3958): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(java:3958): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(java:3958): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(java:3958): GLib-GObject-WARNING **: cannot register existing type `GdkDisplay'
(java:3958): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(java:3958): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed
(java:3958): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(java:3958): 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=0x00007fabcdbd073f, pid=3958, tid=140376234772224
#
# JRE version: 6.0_32-b32
# Java VM: OpenJDK 64-Bit Server VM (23.25-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:
# /root/eclipse/hs_err_pid3958.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Sorunun cozumu icin "eclipse.ini" dosyasina 

--launcher.GTK_version
2

satirlarini "--launcher.appendVmargs" komutundan önce gelecek sekilde ekliyoruz.  Ve eclipse.ini dosyasi kaydedip cikiyoruz.

 Vee
./eclipse

Herkese Kolay Gelsin..