Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: EPICS R3.15.5 IOC crashes for DBR_CTRL_CHAR request with 1 array element
From: "Kasemir, Kay" <kasemirk@ornl.gov>
To: Michael Davidsaver <mdavidsaver@gmail.com>, "core-talk@aps.anl.gov" <core-talk@aps.anl.gov>
Date: Mon, 3 Apr 2017 14:08:30 +0000
Hello Michael:

>> I've opened https://bugs.launchpad.net/epics-base/+bug/1678494
>Now with a patch to be tested.

The patch works, thanks so much!

BTW, EDM, also starts PVs by first fetching the metadata.
For historic reasons it does that with only 1 array element because otherwise there were problems with either the CA client or CA server, don't remember.

EDM sources, epics_pv_factory.cc, line 210:

        // CA quirk: DBR_CTRL doesn't work with arrays,
        // so get only one element:
        int stat = ca_array_get_callback(me->value->get_DBR()+DBR_CTRL_STRING,
                                         1u, me->pv_chid,
                                         ca_ctrlinfo_callback, me);

So without this patch, EDM would also crash R3.15.5 IOCs when somebody displays some_record.INP$.

-Kay

Replies:
Re: EPICS R3.15.5 IOC crashes for DBR_CTRL_CHAR request with 1 array element Ralph Lange
References:
EPICS R3.15.5 IOC crashes for DBR_CTRL_CHAR request with 1 array element Kasemir, Kay
Re: EPICS R3.15.5 IOC crashes for DBR_CTRL_CHAR request with 1 array element Michael Davidsaver
Re: EPICS R3.15.5 IOC crashes for DBR_CTRL_CHAR request with 1 array element Michael Davidsaver

Navigate by Date:
Prev: Re: EPICS R3.15.5 IOC crashes for DBR_CTRL_CHAR request with 1 array element Michael Davidsaver
Next: Jenkins build became unstable: epics-base-3.14 #238 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: EPICS R3.15.5 IOC crashes for DBR_CTRL_CHAR request with 1 array element Michael Davidsaver
Next: Re: EPICS R3.15.5 IOC crashes for DBR_CTRL_CHAR request with 1 array element Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 07 Apr 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·