Hi
I'm running CA in side my IOC.
Everything works fine but at shutdown I get some funny errors at times.
One thing that happens is I get:
epicsThreadOnceOsd epicsMutexLock failed
And other times I get:
epicsThread: Unknown C++ exception in thread "CAC-UDP" at Fri Sep 28
2007 08:39:57.528629432
terminate called after throwing an instance of ''
FATAL: exception not rethrown
Aborted (core dumped)
But this doesn't happen everytime.
Seem to be something todo with timing during exit?
I have a hooked epicsatExit function.
This makes sure ca_clear_channel is called for every CHID I have.
I don't call ca_destroy_context as that seem to be done by shutdown
itself?
Can somebody just give me a tip on what those error messages mean? Then
maybe I can guess what the bug is.
Also sometimes (1 out of 30+ times) I get a segfault while starting the
IOC? Is it dangerous todo some CA stuff during some stages of the IOC
startup?
Thankyou
- Replies:
- Re: CA inside IOC - shutdown problem Andrew Johnson
- Navigate by Date:
- Prev:
RE: same PV on multiple IOC's - side effect Emmanuel Mayssat
- Next:
EPICS - Future Plans: your Input Matthias Clausen
- 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: Question about CA and optimization Jeff Hill
- Next:
Re: CA inside IOC - shutdown problem Andrew Johnson
- 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
|