It is my fault that I do not read the src/Makefile of mrfioc2 carefully, mrf.munch contains almost everything, and now I load mrf.munch only, that error information is not displayed. Thanks Jeff and Andrew.
----- Original Message -----
From: "Andrew Johnson" <[email protected]>
To: <[email protected]>
Cc: "王林" <[email protected]>; <[email protected]>
Sent: Thursday, January 05, 2012 7:05 AM
Subject: Re: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2
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
- References:
- assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 王林
- Re: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 Andrew Johnson
- Navigate by Date:
- Prev:
RE: The crash of Matlab using LabCA Mark Rivers
- Next:
Motor module "unknown bit order" compiler error with vxWorks-mpc8548 Fong, Nia W.
- 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: assert(!epicsThreadPrivateGet(caClientContextId)) failed when loading mrfioc2 Andrew Johnson
- Next:
EPICS on Linux MVME5500 james.rowland
- 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
|