EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Segmentation fault for CA client(EPICS 3.14.6)
From: "Song, Jinhu" <[email protected]>
To: <[email protected]>
Date: Wed, 8 Sep 2004 10:48:01 -0700
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  <20042005  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  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·