EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20212022  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Difference between caput/caget and PVwrite
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Pilar Gil <pilar.gil at sevensols.com>, tech-talk at aps.anl.gov
Date: Tue, 26 Jan 2021 11:28:34 -0800
On 1/26/21 9:02 AM, Pilar Gil via Tech-talk wrote:
> Dear EPCIS-community,
> 
> I´m experimenting with some issues while using a driver based on the AsynPortdriver (C++) and I would like to know more information about what are the main differences while executing caput and using CSS-BOY for setting a variable value.
> 
> My problem is that in my application, everything goes well if I set a value using CSS-BOY, but the system runs into a segmentation fault if I use two consecutive times the same variable using caput. It seems that at some point it is freeing some variable that has already been freed, but it is ok if CSS-BOY carried out the set.

Can you clarify which process is crashing (IOC, cs-studio, or caput)?
Also, a stack trace would be helpful if you are able to provide it.


> Which step is CSS-BOY carrying out that caput does not include?
> Any advice is appreciated.
> Best regards
> Pilar
> 
> 
> 
> 
> 
> 
>  This e-mail and any materials attached hereto, including, without limitation, all content hereof and thereof are confidential and proprietary to Seven Solutions,S.L and/or its affiliates, and are *confidential*. Without the prior written consent of Seven Solutions, this content may not (i) be disclosed to any third party, (ii) be reproduced, modified or otherwise used by anyone other than current employees of Seven Solutions or its affiliates. If you are not the intended recipient or if this message has been received in error, please notify us immediately via e-mail and delete it.


References:
Difference between caput/caget and PVwrite Pilar Gil via Tech-talk

Navigate by Date:
Prev: Re: EPICS Archiver routing issue Hu, Yong via Tech-talk
Next: Re: Channel connection performance Hu, Yong via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Difference between caput/caget and PVwrite Kasemir, Kay via Tech-talk
Next: phoebus DataBrowser - ArchiverAppliance data retrieval through SSL-only reverse-proxy Thomas Birke via Tech-talk
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  <20212022  2023  2024 
ANJ, 27 Jan 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·