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  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Old-ish CAS issue
From: Timo Korhonen via Tech-talk <tech-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 27 Jul 2020 20:00:00 +0000
Looking a bit closer, our case is different. We do not get the assertions but the IOC crashes after a while with the message:

04d5808-icslab--12881 > pthread_join error Invalid argument
*** Error in `/epics-thomas/base-7.0.3.1/bin/linux-x86_64/softIocPVA': malloc(): memory corruption: 0x00007f93280045c0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x82e86)[0x7f93bf1ace86]
/lib64/libc.so.6(__libc_calloc+0xb4)[0x7f93bf1b0564]
/epics-thomas/base-7.0.3.1/lib/linux-x86_64/libCom.so.3.17.6(+0x40ee7)[0x7f93bfd57ee7]
/epics-thomas/base-7.0.3.1/lib/linux-x86_64/libCom.so.3.17.6(epicsThreadCreateOpt+0xca)[0x7f93bfd58e5a]
/epics-thomas/base-7.0.3.1/lib/linux-x86_64/libCom.so.3.17.6(epicsThreadCreate+0x24)[0x7f93bfd52264]
/epics-thomas/base-7.0.3.1/lib/linux-x86_64/libdbCore.so.3.17.0(+0x61e38)[0x7f93c0255e38]
/epics-thomas/base-7.0.3.1/lib/linux-x86_64/libCom.so.3.17.6(+0x413cc)[0x7f93bfd583cc]
/lib64/libpthread.so.0(+0x7e65)[0x7f93bef15e65]
/lib64/libc.so.6(clone+0x6d)[0x7f93bf22888d]

We have some initial clues to what is going on here. I will get back to this tomorrow, with more details and running with debug symbols enabled.

I will open a ticket when I can provide a better description.

Timo

On 27/07/20 17:55, "Michael Davidsaver" <mdavidsaver at gmail.com> wrote:

    On 7/27/20 5:04 AM, Timo Korhonen via Tech-talk wrote:
    > Hello everybody,
    > 
    >  
    > 
    > We are seeing CAS/IOC crashes that look very similar to what Oleg and Dirk reported a couple of years ago, in this thread: https://epics.anl.gov/tech-talk/2018/msg01101.php
    > 
    >  
    > 
    > However, the thread seems to end there. Were there any more results or insights into this issue?
    
    Can you provide file+line numbers for the failed assertions circa Base 7.0?
    It would probably be good to open a ticket as well.
    


References:
Old-ish CAS issue Timo Korhonen via Tech-talk
Re: Old-ish CAS issue Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: RE: asyn TracMask + asynMotor : function= Pearson, Matthew R. via Tech-talk
Next: Re: How to check IOC connection Jong Woo Kim via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Old-ish CAS issue Michael Davidsaver via Tech-talk
Next: pvData Introspection: Change Structure at run time Madden, Timothy J. via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 27 Jul 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·