EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  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  <19961997  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: Re: Bug in dfanout record
From: [email protected] (Marty Kraimer)
To: [email protected]
Date: Thu, 1 Feb 1996 08:47:30 -0600
> From frl Tue Jan 30 14:26 CST 1996
> Date: Tue, 30 Jan 1996 14:25:10 -0600
> From: frl (Frank Lenkszus)
> To: tech-talk
> Subject: Bug in dfanout record
> Content-Type: text
> X-Sun-Charset: US-ASCII
> Content-Length: 490
> 
> There appears to be a bug in the dfanout record of Epics R3.12.1.2.  When
> fields OUT[A-H] contain a channel access link, the following error appears
> at iocInit time:
> 
> dbCa_dbfailure ERROR: dbCaAddOutlink() unable to convert new DBF->old DBR
> 
> After iocInit a dump of  the record shows:
> 
> OUTA: PV_LINK pp=1 ms=0 S3BnchClkGenSetBucketAO.VAL
> 
> The record, S3BnchClkGenSetBucketAO is a valid existing record on another ioc.
> Marty Kraimer has looked at the code and identified the problem.
> 
> Frank


The bug is in the statement

static char Ofldnames[OUT_ARG_MAX][FLDNAME_SZ] =

This should be

static char *Ofldnames[OUT_ARG_MAX] =

This will be fixed in next release of BASE.

Incidently the calcRecord, dfanoutRecord, gsubRecord, palRecord, selRecord,
and subRecord.c all had a similar statement. The others worked only because
the field names referenced are less than 4 characters in length and are thus
null terminated. All will be written correctly in the next release.
My guess is the the subRecord started the problem and all the other record
types copied from it.
 
 Marty Kraimer


Navigate by Date:
Prev: Bug in dfanout record Frank Lenkszus
Next: iocLogDisable Steve Lewis
Index: 1994  1995  <19961997  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 
Navigate by Thread:
Prev: Bug in dfanout record Frank Lenkszus
Next: iocLogDisable Steve Lewis
Index: 1994  1995  <19961997  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·