EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Making CA calls from multi-threaded programs???
From: Leonard Reder <[email protected]>
To: [email protected]
Date: Sun, 22 Sep 2002 21:30:50 -0700 (PDT)
Hello,

I am developing sequencing code using a case tool called
Rhapsody.  This is part of the Keck Interferometer control
system and talks to EPICS PVs via a Keck Keyword API layer on
top of Channel Access.  I assume the Keyword API is built
on the portable CA libraries.  Currently running EPICS
3.13.0 Beta 12 at Keck and I assume the Keyword library
is linked to this.  Well up until now my Keywords (PVs) where used
in two threads and seemed to work just fine.  But I had
to add a keyword to a third thread and the following error
message is given:

CAC: unexpected select fail: 9=Bad file number
Segmentation fault

And my program segment faulted as shown.  Found this
message in $EPICS/base/src/ca/bsd_depen.c.  It is not
that the code does not run but rather this happens after
the code is running for a few minutes.  Any ideas about
exactly what is going on here?  Could an upgrade of EPICS
help this situation?

Thanks,

Len




Replies:
Re: Making CA calls from multi-threaded programs??? Christopher Larrieu

Navigate by Date:
Prev: Another SPARC alignment bug in 3.14_beta1 Till Straumann
Next: Re: Making CA calls from multi-threaded programs??? Christopher Larrieu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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: Another SPARC alignment bug in 3.14_beta1 Jeff Hill
Next: Re: Making CA calls from multi-threaded programs??? Christopher Larrieu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  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 ·