EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Wed, 4 Jan 2012 17:05:17 -0600
Hi 王林,

On 2012-01-04 王林 wrote:
> 
> -> </home/wanglin/mrfioc2-2.0.0/iocBoot/iocevrmrm/st.cmd
> ## mrfioc2 vxWorks startup file
> cd "/home/wanglin/mrfioc2-2.0.0"
> value = 0 = 0x0
> ld < bin/vxWorks-ppc604_long/evgMrm.munch
> value = 52510128 = 0x3213db0
> ld < bin/vxWorks-ppc604_long/evrtest.munch
> value = 41164064 = 0x2741d20 = ' '
> ld < bin/vxWorks-ppc604_long/mrf.munch
> value = 41141760 = 0x273c600

You are loading 3 separate .munch files there, and I suspect you're actually 
loading 3 separate copies of libCom and hence of the epicsThreadPrivate 
routines, thus causing the assertion you reported.  Please try modifying your 
build so that you link all your code into a single file and try loading that 
instead — in EPICS 3.13 we supported loading things separately, but in 3.14 
that is actually quite hard to do correctly, so we discourage doing it.

- Andrew
-- 
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham


Replies:
Re: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 王林
References:
assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 王林

Navigate by Date:
Prev: Re: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 王林
Next: RE: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 Jeff Hill
Next: Re: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 王林
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·