EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Error in 7.0.3.1 when rebooting a VME crate
From: "Johnson, Andrew N. via Core-talk" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 2 Jan 2020 21:32:26 +0000
Hi Mark,

On 1/2/20 11:50 AM, Mark Rivers via Core-talk wrote:

I received the following error when rebooting a vxWorks IOC.  It is running 7.0.3.1

 

ioc13idd> reboot

epicsThreadMustJoin: 3a05b80 is not a known thread

epicsThreadMustJoinThread dbCaLink (0x2e617d0) can't proceed, suspending.

 

When I killed the shell and tried again it rebooted.


Interesting. I just looked at my VxWorks implementation of epicsThreadMustJoin(), which is a new addition to the epicsThread API. The OS apparently behaves differently than I thought when I wrote it, and our unit tests weren't comprehensive enough to try different task priorities between the joined and joining threads when checking this API.

Needless to say I am modifying the code in libCom for the next release and extending the epicsThreadTest code to check this case. I have already replicated your error in my tests on VxWorks, and I will use that to prove that my fix works properly before I commit it.

Thanks for the bug report.

- Andrew
-- 
Complexity comes for free, Simplicity you have to work for.

References:
Error in 7.0.3.1 when rebooting a VME crate Mark Rivers via Core-talk

Navigate by Date:
Prev: Error in 7.0.3.1 when rebooting a VME crate Mark Rivers via Core-talk
Next: Build failed: EPICS Base base-7.0-507 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Error in 7.0.3.1 when rebooting a VME crate Mark Rivers via Core-talk
Next: Build failed: EPICS Base base-7.0-507 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 03 Jan 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·