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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: cac_select_io Segmentation fault
From: "Al Honey" <[email protected]>
To: <[email protected]>
Date: Tue, 6 Apr 2010 13:57:08 -1000

Aloha

 

I am trying to get a multi-threaded application working on SunOs 5.10 with connection to two UNIX IOC’s.

I get a seg fault for ellDelete, two statements from the end of cac_select_io() (epics/r3.13.10/base/src/ca/bsd_depen.c).

 

The seg fault does not occur immediately but within a couple of minutes (connections are to two IOC’s running on UNIX, with events from two long records on each IOC, where one record on each system is updated at 1 hz and the other at 10 hz).

 

Does the seg fault occur because r3.13.10 is NOT thread safe?

 

Does anyone have an example of a multi-threaded app using r3.13.10 on UNIX?

 

Thanks,

Allan

 

 

 

 


Replies:
Re: cac_select_io Segmentation fault Ralph Lange
RE: cac_select_io Segmentation fault Jeff Hill

Navigate by Date:
Prev: RE: Help Request: Setting up NIXI-1042/NI-MXI-4/DXP-XMAPwithdxpStandalone_2-10 David Ehle
Next: EDM text entry: segmentation fault Dmitry Teytelman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Help Request: Setting up NIXI-1042/NI-MXI-4/DXP-XMAPwithdxpStandalone_2-10 David Ehle
Next: Re: cac_select_io Segmentation fault Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·