Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Welcome page make openETCS crashed on Ubuntu 14.04 64 #436

Closed
cecilebraun opened this issue Oct 9, 2014 · 13 comments
Closed

Welcome page make openETCS crashed on Ubuntu 14.04 64 #436

cecilebraun opened this issue Oct 9, 2014 · 13 comments

Comments

@cecilebraun
Copy link

The crash happens when opening the welcome page
(bug for @faustco and myself

# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007f2ddcbaebe9, pid=12815, tid=139835796596480
#
# JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libwebkitgtk-1.0.so.0+0x45ebe9]  webkit_web_view_get_type+0x2489
#

The libwebkitgk is known to have some problems with eclipse some fixes are:

  • set the environment variable to SWT_GTK3= 1
    -> this is not working for @faustco
  • add these two lines at the end of the openETCS.ini
-Dorg.eclipse.swt.browser.DefaultType=mozilla
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner

-> this makes the welcome page not directly open in the openETCS GUI but with firefox.

Anybody has a better solutions or same troubles ?

@faustco
Copy link

faustco commented Oct 9, 2014

This is a screen capture from Eclipse window, when SWT_GTK3= 1
Result may vary depending on previous actions

initial_architecture

the installed libraries in Ubuntu 14.04 (64 bit) are displayed below:

libraries

@MariellePetitDoche
Copy link
Contributor

I just install the las t version of openETCS on linux 64 bits this morning.
I have no troubles, and can access completely to the sysml diagrams.
Same configuration for JRE and libwebkitgtk:

java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

/usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0
/usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0.22.10
/usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0.22.10

@cecilebraun
Copy link
Author

I could reproduce the crash with
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

/usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0
/usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0.22.10
/usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0
/usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0.22.10

on an ubuntu 14.04

@MariellePetitDoche
Copy link
Contributor

I am on xubuntu 14.04

Maybe issue is on another direction...

@jastram
Copy link
Member

jastram commented Oct 12, 2014

I did not have this problem, but Eclipse on GTK has been notoriously problematic ever since Ubuntu started their universal menu integration.

@cecilebraun - considering that this only affects a few people, and as there is a workaround, is this really a showstopper? If not, then please remove the label.

Last, this may resolve itself once we migrate to Luna.

@cecilebraun
Copy link
Author

I remove the show stopper since we have some workaround.
This should be then tested when moving to Luna.

@MatthieuPERIN
Copy link

I have asked our Linux users, Papyrus Linux is tested with enforced GTK version 2.

So if the forced use of GTK 3 have failed please consider installing and forcing GTK 2 as a last chance opportunity.

@MatthieuPERIN
Copy link

@faustco any changes ?

@MatthieuPERIN
Copy link

As no response propose to close !
@cecilebraun what is your call on that ?

@cecilebraun
Copy link
Author

I tried with forcing GTK2 and it's still crash.
I propose to let this open to not forget to try this when moving to Luna.

@MatthieuPERIN
Copy link

I think this is not Papyrus related but more Eclipse related.
Cannot guarantee working condition for Eclipse Luna on that point (plus the fact that it seems to work on some linux configuration as @MariellePetitDoche said)

@cecilebraun
Copy link
Author

I am sure it is not Papyrus related. We need to find the good linux configuration. Marielle and I have the same config and I can make it crash.
Still need some investigation.

@jastram
Copy link
Member

jastram commented Sep 25, 2015

As there is a workaround and few users use Linux, I'll close this.

@jastram jastram closed this as completed Sep 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants