On 11/18/2014 05:10 AM, Benjamin Franksen wrote:
> On Tuesday 18 November 2014 11:03:09 Benjamin Franksen wrote:
>> On Tuesday 18 November 2014 00:24:03 Benjamin Franksen wrote:
>> > Am Montag, 17. November 2014, 16:06:17 schrieb Michael Davidsaver:
>> > > It looks like you have a thread exit handler which is calling
>> > > epicsExit()?
>> >
>> > It calls exit(EXIT_SUCCESS) from the C standard library (but that
>> > may
>> > in turn call epicsExit() by some mechanism in base I am not familiar
>> > with).
>>
>> Wrong. I do call epicsExit directly from the thread-exit handler.
>
> Anyway, this is a red herring.
Nope, this is a Base bug. I can get the same error with softIoc.
> caput -c testx:exit 1
...
> $ ./bin/linux-x86_64/softIoc -x testx
> Starting iocInit
> ############################################################################
> ## EPICS R3.15.0.2-DEV $$Date$$
> ## EPICS Base built Nov 17 2014
> ############################################################################
> iocRun: All initialization complete
> epics> dbl
> testx:exit
> epics>
> epics>
>
>
> A call to 'assert(ellCount(&pnotifyGlobal->freeList)==0)'
> by thread 'exitLater' failed in ../../../src/ioc/db/dbNotify.c line 304.
> Dumping a stack trace of thread 'exitLater':
> [ 0x7f73c47dacc3]: /home/mdavidsaver/epics/git2/lib/linux-x86_64/libCom.so.3.15.0(epicsStackTrace+0x63)
> [ 0x7f73c47d4808]: /home/mdavidsaver/epics/git2/lib/linux-x86_64/libCom.so.3.15.0(epicsAssert+0x48)
> [ 0x7f73c4c9bc5c]: /home/mdavidsaver/epics/git2/lib/linux-x86_64/libdbCore.so.3.15.0(dbProcessNotifyExit+0x2c)
> [ 0x7f73c47cc403]: /home/mdavidsaver/epics/git2/lib/linux-x86_64/libCom.so.3.15.0(epicsExitCallAtExits+0x93)
> [ 0x7f73c47cc7e8]: /home/mdavidsaver/epics/git2/lib/linux-x86_64/libCom.so.3.15.0(epicsExit+0x8)
> [ 0x7f73c47d57f4]: /home/mdavidsaver/epics/git2/lib/linux-x86_64/libCom.so.3.15.0(start_routine+0xf4)
> [ 0x7f73c3a51b50]: /lib/x86_64-linux-gnu/libpthread.so.0(start_thread+0xd0)
> [ 0x7f73c3d437bd]: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
> EPICS Release EPICS R3.15.0.2-DEV $$Date$$.
> Local time is 2014-11-18 10:57:12.149656982 EST
> Please E-mail this message to the author or to [email protected]
> Calling epicsThreadSuspendSelf()
- Replies:
- Re: 3.15.0.2: Shutdown issues Michael Davidsaver
- Re: 3.15.0.2: Shutdown issues Benjamin Franksen
- References:
- 3.15.0.2: Shutdown issues Ralph Lange
- Re: 3.15.0.2: Shutdown issues Benjamin Franksen
- Re: 3.15.0.2: Shutdown issues Benjamin Franksen
- Re: 3.15.0.2: Shutdown issues Benjamin Franksen
- Navigate by Date:
- Prev:
Re: Jenkins build became unstable: epics-base-3.15 #143 Andrew Johnson
- Next:
Jenkins build is back to stable : epics-base-3.15 #144 APS Jenkins
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
- Navigate by Thread:
- Prev:
Re: 3.15.0.2: Shutdown issues Benjamin Franksen
- Next:
Re: 3.15.0.2: Shutdown issues Michael Davidsaver
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
|