Experimental Physics and Industrial Control System
|
Ø If I exited the EPICS ioc-shell using the command, "exit", the problem appeared. possibly it’s this bug https://bugs.launchpad.net/epics-base/+bug/693534 Jeff ______________________________________________________ Jeffrey O. Hill Email [email protected] LANL MS H820 Voice 505 665 1831 Los Alamos NM 87545 USA FAX 505 665 5107 Message content: TSPA With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925 Hi Mark, I too observed this condition only yesterday, and have not had a chance to investigate. I was using New Focus Pico motors, not MDrive hardware. If I exited the EPICS ioc-shell using the command, "exit", the problem appeared. This would lead me to start my search for code that has hooked into the iocsh exit routines (atexit ). Note: things appeared to shutdown cleanly if I exited with a ctrl-c. Perhaps someone more familiar with those different code paths can comment further and narrow down the search...? -- dc On Wed, Jan 19, 2011 at 2:58 PM, Vigder, Mark <[email protected]> wrote: I'm yet another EPICS newbie. I've got a simple softIOC up and running driving a couple of motors. Impressive software! However I have a small problem. The IOC starts up fine and works perfectly. But whenever I exit the IOC I get the following errors:
epicsEvent pthread_mutex_destroy failed: error Device or resource busy epicsEvent pthread_cond_destroy failed: error Device or resource busy
My configuration is: Ubuntu 10.04 EPICS base 3.14.12 ASYN 4-15 Motor 6-5-2
My st.cmd file is:
#!../../bin/linux-x86_64/motorTest < envPaths dbLoadDatabase "${TOP}/dbd/motorTest.dbd" motorTest_registerRecordDeviceDriver pdbbase dbLoadTemplate("motor.substitutions") # Loads two records dbLoadRecords("$(MOTOR)/db/motorUtil.db", "P=IOC:") drvAsynIPPortConfigure("L0", "xxx.xxx.xxx.xxx:xxx",0,0,0) MDriveSetup(1, 10) MDriveConfig(0, "L0") cd ${TOP}/iocBoot/${IOC} iocInit
Any ideas on how I got into this problem? And what I do to get out of it (and make sure it doesn't happen again)?
Thanks Mark
=========== Mark Vigder Control System Architect Canadian Neutron Beam Centre |
- Replies:
- RE: Problem exiting IOC Vigder, Mark
- References:
- Problem exiting IOC Vigder, Mark
- Re: Problem exiting IOC Daron Chabot
- Navigate by Date:
- Prev:
Re: Problem exiting IOC Daron Chabot
- Next:
Changing DOL field from a subroutine record Luchini, Kristi L.
- 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: Problem exiting IOC Daron Chabot
- Next:
RE: Problem exiting IOC Vigder, Mark
- 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
|
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|