I've been running Marty's mrkSoftTest accessApp code, and I've noticed
that when shutting down the accessRemote IOC in the IOC-IOC test, I get
the following message on exit if the accessLocal IOC was started after
the accessRemote IOC and is still running:
uranus% ../../bin/linux-x86/access accessRemote.main
asSetFilename("../../accessApp/acf/remote.acf")
dbLoadDatabase("../../dbd/access.dbd")
access_registerRecordDeviceDriver(pdbbase)
dbLoadRecords("../../accessApp/db/remote.db")
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.9-CVS $$Name: $$ $$Date: 2006/12/11 22:32:14 $$
## EPICS Base built Dec 11 2006
############################################################################
iocInit: All initialization complete
start accessLocal IOC at this point, which causes the following output
on this IOC:
epics> dbCaTask ca_get_callback Read access denied
mrkREMOTEprotectedRB has DB CA link to mrkLOCALprotected
dbCaTask ca_get_callback Read access denied
mrkREMOTEprotected has DB CA link to mrkLOCALprotected
Now shut down this IOC, either with exit or just Ctrl-D:
epics> exit
epicsThread: Unknown C++ exception in thread "CAC-UDP" at Wed Dec 13 2006 13:06:48.21231000
terminate called after throwing an instance of ''
FATAL: exception not rethrown
epicsThread: Unknown C++ exception in thread "CAC-UDP" at Wed Dec 13 2006 13:06:48.21843000
terminate called recursively
CA client library tcp receive thread terminating due to a C++ exception
FATAL: exception not rethrown
CA client library tcp receive thread terminating due to a C++ exception
FATAL: exception not rethrown
Abort
If I shut down the accessLocal IOC first, no exception messages appear.
This problem only happens when I get the "Read access denied"
messages. The two IOCs can be on the same or on different linux hosts
to see the problem, but it doesn't appear if I run either of them on
solaris, even when I get the "Read access denied" messages. There is
probably some connection with the host names in the access security
configuration files, because it doesn't occur if I run the accessRemote
IOC on a linux machine that isn't listed in the HAG on the accessLocal
IOC, but if I add that IOC to the HAG there it does occur.
Jeff -- any ideas? I realize this problem may be somewhat tricky to
trace, and since it's a shutdown issue I don't think it's a show-stopper
- the process does exit, just not cleanly in this circumstance. If you
want to try and replicate it, follow the instructions in the
mrkSoftTest/accessApp/README file.
- Andrew
--
There is considerable overlap between the intelligence of the smartest
bears and the dumbest tourists -- Yosemite National Park Ranger
- Replies:
- Re: C++ Exceptions from CAC-UDP on exit Andrew Johnson
- Navigate by Date:
- Prev:
Re: C++ compiler issues Christopher Larrieu
- Next:
Re: C++ Exceptions from CAC-UDP on exit Andrew Johnson
- Index:
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: C++ compiler issues Christopher Larrieu
- Next:
Re: C++ Exceptions from CAC-UDP on exit Andrew Johnson
- Index:
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|