2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 2025 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Matlab 2020b crashes with labCA 3.7.2 |
From: | Michael Davidsaver via Core-talk <core-talk at aps.anl.gov> |
To: | "Johnson, Andrew N." <anj at anl.gov>, EPICS core-talk <core-talk at aps.anl.gov> |
Cc: | Till Straumann <till.straumann at psi.ch> |
Date: | Fri, 5 Mar 2021 09:44:49 -0800 |
On 3/5/21 9:14 AM, Johnson, Andrew N. via Core-talk wrote: > ... > When posix priority scheduling is enabled this gets called from inside the once() routine that the Posix epicsThreadInit() implementation runs using pthread_once(). I don’t see an easy way to avoid doing that initialization here; it might be possible by adding more lazy-init logic to only look up the min and max scheduling priorities when they are actually needed, but I suspect that would still be before the end of the initialization code. > > Hence not something we should try to fix IMHO. Agreed. What Till describes seems a clear bug with some wrapper which matlab is injecting (maybe with LD_PRELOAD as well).