EPICS Controls 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  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 1907077] Re: errRawCopy formats S_dbLib_badField as "Error (512, 512)"
From: Ivo Hanak via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Mon, 07 Dec 2020 12:55:52 -0000
** Description changed:

  Problem:
  errRawCopy formats S_dbLib_badField as "Error (512,512)" while it should format it as "Error (512,11)".
  
- Cause:
+ Scenario:
+ 1) Create a DB with an LSI and add the following field:
+ field(VAL, "initial value")
+ 2) EPICS will print following error:
+ Can't set "lsiRec.VAL" to "initial value" Error (512,512)
+ 
+ Potential Cause:
  Line 135, libcom/src/error/errSymLib.c:
  epicsUInt16 modnum = (statusToDecode >>= 16) & 0xffff;
  
  Solution:
  Replace 135, libcom/src/error/errSymLib.c with:
  epicsUInt16 modnum = (statusToDecode >> 16) & 0xffff;
  
  Severity:
  This problem makes troubleshooting EPICS DB issues harder.

** Description changed:

  Problem:
  errRawCopy formats S_dbLib_badField as "Error (512,512)" while it should format it as "Error (512,11)".
  
  Scenario:
- 1) Create a DB with an LSI and add the following field:
- field(VAL, "initial value")
- 2) EPICS will print following error:
+ 1) Create a DB with the following record:
+ record(lsi, "lsiRec")
+ {
+     field(SIZV, "256")
+     field(VAL, "initial value")    
+ }
+ 2) While loading the DB, EPICS will print the following error:
  Can't set "lsiRec.VAL" to "initial value" Error (512,512)
  
  Potential Cause:
  Line 135, libcom/src/error/errSymLib.c:
  epicsUInt16 modnum = (statusToDecode >>= 16) & 0xffff;
  
  Solution:
  Replace 135, libcom/src/error/errSymLib.c with:
  epicsUInt16 modnum = (statusToDecode >> 16) & 0xffff;
  
  Severity:
  This problem makes troubleshooting EPICS DB issues harder.

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1907077

Title:
  errRawCopy formats S_dbLib_badField as "Error (512,512)"

Status in EPICS Base:
  New

Bug description:
  Problem:
  errRawCopy formats S_dbLib_badField as "Error (512,512)" while it should format it as "Error (512,11)".

  Scenario:
  1) Create a DB with the following record:
  record(lsi, "lsiRec")
  {
      field(SIZV, "256")
      field(VAL, "initial value")    
  }
  2) While loading the DB, EPICS will print the following error:
  Can't set "lsiRec.VAL" to "initial value" Error (512,512)

  Potential Cause:
  Line 135, libcom/src/error/errSymLib.c:
  epicsUInt16 modnum = (statusToDecode >>= 16) & 0xffff;

  Solution:
  Replace 135, libcom/src/error/errSymLib.c with:
  epicsUInt16 modnum = (statusToDecode >> 16) & 0xffff;

  Severity:
  This problem makes troubleshooting EPICS DB issues harder.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1907077/+subscriptions

References:
[Bug 1907077] [NEW] errRawCopy formats S_dbLib_badField as "Error (512, 512)" Ivo Hanak via Core-talk

Navigate by Date:
Prev: [Bug 1907077] [NEW] errRawCopy formats S_dbLib_badField as "Error (512, 512)" Ivo Hanak via Core-talk
Next: [Bug 1907077] Re: errRawCopy formats S_dbLib_badField as "Error (512, 512)" Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: [Bug 1907077] [NEW] errRawCopy formats S_dbLib_badField as "Error (512, 512)" Ivo Hanak via Core-talk
Next: [Bug 1907077] Re: errRawCopy formats S_dbLib_badField as "Error (512, 512)" Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 07 Dec 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·