Experimental Physics and Industrial Control System
|
Hello Florian,
you didn't mention the OS you are
running
CSS upon. But if you (try to) run Eclipse 3.x (or a CSS based on
it) on
a more or less up-to-date linux distribution
there are some known bugs related
to
GTK:
* KDE Bug 327441 - Using
oxygen-gtk2
causes eclipse/swt to crash (https://bugs.kde.org/show_bug.cgi?id=327441)
--> our workaround is to use another theme by setting GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-2.0/gtkrc
* Eclipse Bug 404776 causes a
crash
when opening Help (https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776)
--> our workaround is to open it in an external browser
instead, i.e.
setting the VM param -Dorg.eclipse.swt.browser.DefaultType=mozilla
* displaying issues when using
GTK3
--> our workaround is to use GTK2 instead by setting
SWT_GTK3=0
I can add one to this list:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=464554
I actually spent some time looking into the horrible mess that lives
at the bottom of eclipse/SWT. From what I can tell, in some
situations, GTK pointers are being mistakenly passed to libcairo
functions, which of course leads to a crash. The wonders of JNI...
cs-studio-nsls2 comes with some defaults which avoid this, by using
gtk2 w/o cairo. Of course gtk2 will eventually go away, so not a
permanent solution.
An excerpt from cs-studio.ini
--launcher.GTK_version
2
-vmargs
...
-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false
-Dorg.eclipse.swt.internal.gtk.useCairo=false
You might also get some improvement by recompiling the eclipse-gtk C
glue code against the headers provided by your linux distribution.
Though be warned that this is an errand only for those who can
tolerate significant amounts of frustration.
https://github.com/mdavidsaver/eclipse-tricks
|
- Replies:
- Re: generic CSS version Florian Feldbauer
- References:
- generic CSS version Florian Feldbauer
- Re: generic CSS version marcus . michalsky
- Navigate by Date:
- Prev:
Re: generic CSS version marcus . michalsky
- Next:
STAR EPICS VM environment update Jiro Fujita
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: generic CSS version marcus . michalsky
- Next:
Re: generic CSS version Florian Feldbauer
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|