Hi,
When the EPICS foreground thread is not the main thread(started by main(...)),
it ends up with segmentation fault when I tried to shutdown my
application gracefully (trace showed it happened at the last line: "exit(0)".
Quick look at the "ca" code, maybe it is caused by atexit( ).
The fault disappeared after I changed code to let the main thread
create the context and let the EPICS foreground thread join it.
I am implementing a gateway to EPICS for a popular user interface
of synchrotron x-ray (DCSS/Blu-Ice: http://smb.slac.stanford.edu/blu-ice/)
It automatically configures the mapping from the DCSS server.
Update messages from EPICS can be merged at a configurable rate
to avoid saturate the DCSS server.
Jinhu
- Replies:
- RE: Segmentation fault for CA client(EPICS 3.14.6) Jeff Hill
- Navigate by Date:
- Prev:
Re: install base 3.14.6 in linux-x86 error Ralph Lange
- Next:
RE: Segmentation fault for CA client(EPICS 3.14.6) Jeff Hill
- 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: install base 3.14.6 in linux-x86 error Ralph Lange
- Next:
RE: Segmentation fault for CA client(EPICS 3.14.6) Jeff Hill
- 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
|