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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Incompatibility of pyepics and pvaPy 4.0.0 on Windows |
From: | "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Matt Newville <newville at cars.uchicago.edu> |
Cc: | EPICS tech-talk <tech-talk at aps.anl.gov>, "Veseli, Sinisa" <sveseli at anl.gov>, "De Carlo, Francesco" <decarlo at anl.gov>, "Nikitin, Viktor" <vnikitin at anl.gov> |
Date: | Fri, 10 Sep 2021 17:35:45 +0000 |
Hi Matt,
On Sep 10, 2021, at 10:05 AM, Matt Newville <newville at cars.uchicago.edu> wrote:
I would definitely recommend using your subclass then, even if it doesn’t fix this problem by itself.
The situation that I am concerned about is there being 2 copies of libca and libCom linked into the same process — that could lead to all kinds of problems when symbols are looked up dynamically if the second copy overrides calls to the first once it gets
loaded. This problem is being reported on Windows, and the behavior of dynamic loading there will probably be different than on Linux.
Is there any way to get a stack-trace from the C/C++ world when this dies? Mark’s traceback only showed the Python side, and it would be helpful to see where this is coming from in the underlying C/C++ libraries too:
The access violation there looks very much like an offset from a NULL pointer, but knowing what C++ routine is running at the time would be a lot more helpful. I might be wrong about this being the CA context, but we’ll probably need more information
to find out what’s actually happening.
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|