Dear all,
Here's something else that might cause problems when deleting sequencers
(this refers to all versions).
This code is executed when a sequencer is deleted:
/* Close the log file */
if ( (pSP->logFd > 0) && (pSP->logFd != ioGlobalStdGet(1)) )
{
close(pSP->logFd);
pSP->logFd = ioGlobalStdGet(1);
}
Normally, logFd is ioGlobalStdGet(1), which is the fd associated with
stdout at the time the sequencer was started (presumably the console).
This can be overridden via a "logfile" macro.
Now, ioGlobalStdGet(1) changes when a telnet/rlogin connection is made.
Thus, if a sequencer is deleted which such a connection is active, the
console fd is likely summarily to be closed, which is not good!
The symptom that I have observed is that the IOC carries on running but
it is impossible to connect to its console or via telnet/rlogin (the
latter claim that a connection is already in place). I'm pretty sure
that this is because of the above.
If this is an issue for you, I suggest, as a workaround, simply
commenting out the 'close()' call. This will cause problems only if you
use the "logfile" macro (in which a more complicated workaround will be
required).
I'll fix this in a future version.
William
- Navigate by Date:
- Prev:
Anyone using/supporting e2sr? Brian Bevins
- Next:
EPICS DLLs for Windoze95 Benjamin Franksen
- 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: Anyone using/supporting e2sr? Rozelle Wright
- Next:
EPICS DLLs for Windoze95 Benjamin Franksen
- 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
|