EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: generic CSS version
From: <[email protected]>
To: <[email protected]>, <[email protected]>, <[email protected]>
Date: Thu, 3 Mar 2016 13:50:44 +0000
Hi all,

As far as I know, there hasn't been a generic CSS build until now, although some people use the one provided by SNS.

It might be a good time to start producing one.

Cheers,
Will

________________________________
From: [email protected] [[email protected]] on behalf of Florian Feldbauer [[email protected]]
Sent: 03 March 2016 13:16
To: Michael Davidsaver; [email protected]
Subject: Re: generic CSS version

Hey,

thank you both for your answers. I tried different OS versions.
On my Laptop I'm using Fedora 20. Here CSS has to be started three times...
On a different PC with Fedora 20 (recently updated to Fedora 23) CSS works fine.
In the Lab we are using Debian 8. On this machine CSS hangs when opening an OPI file.

As I said before, I would like to update to a recent CSS version. Unfortunately I currently
do not have the time to build a new site-specific version.
For PANDA a simple CSS product coming with BOY and the databrowser would be sufficient for now.
Is there a ready to run version available for CSS 4?

Regards,
Florian


On 03/02/2016 05:55 PM, Michael Davidsaver wrote:
On 03/02/2016 10:31 AM, <mailto:[email protected]> [email protected]<mailto:[email protected]> wrote:
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>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



--
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-213                 |
| Phone:  (+49)6131 / 39-29605         |
----------------------------------------

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom



References:
generic CSS version Florian Feldbauer
Re: generic CSS version marcus . michalsky
Re: generic CSS version Michael Davidsaver
Re: generic CSS version Florian Feldbauer

Navigate by Date:
Prev: Re: generic CSS version Kasemir, Kay
Next: Re: generic CSS version Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: generic CSS version Florian Feldbauer
Next: Re: generic CSS version Konrad, Martin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·