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: | Crash when caput array of string to pcaspy or PCAS server tool |
From: | "Wang, Lin via Tech-talk" <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Thu, 14 Dec 2023 11:03:30 +0800 (GMT+08:00) |
Dear all,
When I was developing a server tool with Portable Channel Access Server library, caput to scalar string or array of number data types can execute successfully. However, caput to array of string like "caput -a MTEST:NAME 3 xxx yyy zzz" will cause the server tool crash even if an empty write() method as follows is provided. Sometimes the crash occurs when caput multiple times rather than the first time.
My platform is Windows 10, Visual Studio 2022 and the PCAS in EPICS-3.14.12.8
I also tried pcaspy with the following Python code and it had the same behaviour as shown in the following picture.
Am I doing something wrong or understanding something incorrectly?
Thanks,
Lin