uqbar-project / wollok

Wollok Programming Language
GNU General Public License v3.0
60 stars 16 forks source link

Wollok fails to start under huayra linux distro #658

Closed javierfernandes closed 8 years ago

javierfernandes commented 8 years ago

Running from console

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=64M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets-backgrounds.css:140:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets-backgrounds.css:162:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:117:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:142:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:276:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:338:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:342:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:378:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:383:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:388:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:400:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:544:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:686:14: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:690:15: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:694:14: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:698:15: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:748:38: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:772:54: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:811:38: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:812:38: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:818:45: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:844:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:852:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:860:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:868:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:876:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:884:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:892:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1267:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1278:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1280:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1305:38: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1357:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1363:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1372:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1381:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1387:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1391:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1476:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1480:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1484:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1488:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1942:54: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2111:17: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2476:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2480:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2484:18: Horizontal and vertical offsets are required

(java:4131): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2488:18: Horizontal and vertical offsets are required

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

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

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

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

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

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

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

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

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

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

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

(java:4131): 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=0x00007f44f279173f, pid=4131, tid=139934797457152
#
# JRE version: Java(TM) SE Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.91-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgdk-x11-2.0.so.0+0x5173f]  gdk_display_open+0x3f
#
# Core dump written. Default location: /home/alumno/wollok-linux.gtk.x86_64/core or core.4131
#
# An error report file with more information is saved as:
# /home/alumno/wollok-linux.gtk.x86_64/hs_err_pid4131.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
javierfernandes commented 8 years ago

@faloi Same for you ?

javierfernandes commented 8 years ago

Attached eclipse error log with dump

hs_err_pid3436.txt

javierfernandes commented 8 years ago

As stated here

https://bugs.eclipse.org/bugs/show_bug.cgi?id=430736

It could be that both GTK2 and GTK3 libraries are being loaded which causes errors.

/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.10
...
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0.400.2

Two workarounds:

1) start it first with the env var

export SWT_GTK3=0

2) upgrade the glibc version to 2.14 (from 2.13)

faloi commented 8 years ago

I'll try the workarounds and let you know.

faloi commented 8 years ago

The env var approach worked fine. Perhaps you can include that in the documentation, or even better, set it by default in the launcher.

You can close the issue.