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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | race condition of managed gdd |
From: | "Wang Xiaoqiang (PSI)" <[email protected]> |
To: | "'epics'" <[email protected]> |
Date: | Thu, 29 Sep 2016 07:22:36 +0000 |
Hi, This was originally reported as a crash of PCASpy 0.6.2. https://github.com/paulscherrerinstitute/pcaspy/issues/25 The managed gdds are in a linked list, in class gddApplicationTypeTable. The race condition happens between getDD and freed operations when accessing this list. Here is the proposed patch, https://github.com/xiaoqiangwang/epics-base/commit/a2132a1f79ce8f026743db4704fc0e9528828bf8 Best Xiaoqiang