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: Florian Feldbauer <[email protected]>
To: "Kasemir, Kay" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 18 Mar 2016 15:44:14 +0100
Hey Kay,

I just installed a local CUPS on the debian machine and started the service.
Now our old CSS version works....

Thanks for the help!
  Florian

On 03/17/2016 03:03 PM, Kasemir, Kay wrote:
You’re CSS instance is stuck trying to look for printers:

"main" prio=10 tid=0x00007f611000a000 nid=0x10e4 runnable [0x00007f6116eb1000]
    java.lang.Thread.State: RUNNABLE
	at org.eclipse.swt.internal.gtk.OS._gtk_enumerate_printers(Native Method)
	at org.eclipse.swt.internal.gtk.OS.gtk_enumerate_printers(OS.java:9324)
	at org.eclipse.swt.printing.Printer.getPrinterList(Printer.java:98)
	at org.csstudio.opibuilder.actions.PrintDisplayAction.<init>(PrintDisplayAction.java:48)


It’s a known issue, see https://github.com/ControlSystemStudio/cs-studio/issues/356

In that specific code (BOY/opibuilder PrintDisplayAction), the listing of printers has been removed from the code on 2013-07-17, so from then on you would only hang when you actually press the “Print” button. So updating your CSS to a more recent version would help .. until you actually try to print,whereupon you would hang until you configure the Linux printing.

-Kay


On Mar 17, 2016, at 9:23 AM, Florian Feldbauer <[email protected]> wrote:

Hey all,

last week I was on a conference, so I could not generate the stack trace of CSS.

On 03/03/2016 02:47 PM, Kasemir, Kay wrote:
Hi:

On Mar 3, 2016, at 8:16 AM, Florian Feldbauer <[email protected]> wrote:
On my Laptop I'm using Fedora 20. Here CSS has to be started three times…
Anything more specific available on the source of the error?
workspace/.metadata/.log,
console output,
or JRE hs_err_pid*.log?

As Michael mentioned, there have been several GTK related issues, so if the error includes *_gtk_* then that’s what you’re experiencing.
Good news is that there’s usually some workaround like disabling certain GTK features.

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.
If you send the ‘QUIT’ signal
   kill -QUIT {pid of your process}
the JRE creates a stack trace on the console. Look for the main thread to see where it’s hung.
One reason can be missing DNS support, which causes the Channel Access client lib. to hang. It’s trying to resolve the name of the IOC’s IP address so that it can later provide you with nice error messages when the channel disconnects. The fix is to enable DNS or list all IP addresses in /etc/hosts.
I produced the stack trace by using `kill -QUIT`.
But since I'm not familiar with Java or eclipse, I cannot make anything out of it. The stack trace is attached...

I actually don't think, that the problem is related to naming resolutions, since the BEAUTY archiver (using the same Eclipse/Java/CSS base) is running without any problems on the same machine...
Therefore I guess it is related to the GTK bugs mentioned by you and the others.
Also I got a CSS4 package from Carla Tschentscher which is running without any problems.

Best regards,
Florian
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?
SNS still builds the “basic epics” version of CSS in addition to our site-specific stuff.
See https://ics-web.sns.ornl.gov/css/products.html

Thanks,
Kay


--
----------------------------------------
| 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         |
----------------------------------------

<css-stacktrace.log>

--
----------------------------------------
| 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-29608         |
----------------------------------------


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

Navigate by Date:
Prev: Re: generic CSS version Kasemir, Kay
Next: MOTOR record / Struck SIS1100/SIS3100 / MaxV communication Tonia Batten
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 Kasemir, Kay
Next: RE: generic CSS version will.rogers
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 ·