EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Bug# 1279147 - Gateway sigsegv's when cleaning up channels using ca_clear_channel
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Wed, 12 Feb 2014 10:59:31 -0500
On 02/11/2014 09:08 PM, Shankar, Murali wrote:
...However, the place where this crashes is in a fundamental place (tsDLList.h:238) in EPICS base. What seems to be happening here is that we have an element in the linked list that has a previousNode of 0 but is itself not the pFirst element. I can provide more details/core(s) if needed.

Based on a quick check I think that locking is being done correctly.  So my guess is a list node handling problem (eg. double removal or removal from the wrong list).

I would suggesting adding some debugging code to tsDLNode to enable it to track which list it is current part of.  If list handling is the problem, then this should trap the error quickly.

This does not seem to be a gateway bug; it seems to be some issue in ca_clear_channel. However, I don’t want to change EPICS base; perhaps I can catch the exception in gatePv.cc:240 and then move on. Should I consider patching this like so in the gateway code? I know this has memory leaks but this does not happen often.


I don't it is possible to continue after SIGSEGV.


References:
Bug# 1279147 - Gateway sigsegv's when cleaning up channels using ca_clear_channel Shankar, Murali

Navigate by Date:
Prev: Bug# 1279147 - Gateway sigsegv's when cleaning up channels using ca_clear_channel Shankar, Murali
Next: Re: Bug# 1279147 - Gateway sigsegv's when cleaning up channels using ca_clear_channel Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Bug# 1279147 - Gateway sigsegv's when cleaning up channels using ca_clear_channel Shankar, Murali
Next: Re: Bug# 1279147 - Gateway sigsegv's when cleaning up channels using ca_clear_channel Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 May 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·