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  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: "No conversion between src & dest" warning with pcaspy
From: "Wang Xiaoqiang (PSI)" <[email protected]>
To: Jameson Graef Rollins <[email protected]>, "Kasemir, Kay" <[email protected]>
Cc: Epics <[email protected]>
Date: Wed, 4 Mar 2015 10:11:28 +0000
Hi Jamie, Kay,

The problem is indeed with empty strings. That causes an invalid zero sized gdd value.
The fix is to ensure it is null terminated.
See my comment at https://code.google.com/p/pcaspy/issues/detail?id=14

It is a one-liner fix, which you can apply on your installation easily.

Best
Xiaoqiang

> On 03 Mar 2015, at 22:40, Jameson Graef Rollins <[email protected]> wrote:
> 
> On Tue, Mar 03 2015, "Wang Xiaoqiang (PSI)" <[email protected]> wrote:
>> Since this is a pcaspy only bug, I created the report in the project issue tracker.
>> https://code.google.com/p/pcaspy/issues/detail?id=14
>> 
>> Thanks for the detective work to reveal the bug.
> 
> Hey, Xiaoqiang.  I think the problem might actually be more insidious
> than I originally thought.  It seems that if the value for a char array
> is every set to an array of null bytes this described error will be
> thrown when a monitoring clients connects to the channel.  Clients that
> are already connected to the channel will also throw an error and not
> update their values if the value is set to an array of null bytes.
> 
> I thought before that this problem was relatively innocuous, since it
> would have only been a startup problem.  But now I see that whenever my
> pcaspy application clears the char array PV, all connected clients show
> the bad behavior.
> 
> I haven't had any luck tracking down where in the pcaspy the problem may
> be coming from.
> 
> jamie.



References:
"No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
Re: "No conversion between src & dest" warning with pcaspy Andrew Johnson
Re: "No conversion between src & dest" warning with pcaspy Kasemir, Kay
Re: "No conversion between src & dest" warning with pcaspy Andrew Johnson
Re: "No conversion between src & dest" warning with pcaspy Kasemir, Kay
Re: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
Re: "No conversion between src & dest" warning with pcaspy Wang Xiaoqiang (PSI)
Re: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins

Navigate by Date:
Prev: Errors while building medm3.1.9 GONG Yu
Next: RE: Errors while building medm3.1.9 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
Next: Re: "No conversion between src & dest" warning with pcaspy Jameson Graef Rollins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·