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 1882520] Re: Constant arrary input links of size 1 don't work
From: mdavidsaver via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Mon, 08 Jun 2020 21:34:24 -0000
cat <<EOF > empty.db 
record(ai, "") {}
EOF

gdb --args ./bin/linux-x86_64-debug/softIoc -d empty.db
...
Error: dbRecordHead: Record name can't be empty
 at or before ")" in path "."  file "empty.db" line 1

Thread 1 "softIoc" received signal SIGSEGV, Segmentation fault.
0x00007ffff7f19e74 in popFirstTemp () at ../dbStatic/dbLexRoutines.c:142
142         ptemp = ptempListNode->item;
(gdb) p ptempListNode
$1 = (tempListNode *) 0x0
(gdb) bt
#0  0x00007ffff7f19e74 in popFirstTemp () at ../dbStatic/dbLexRoutines.c:142
#1  0x00007ffff7f1d17c in dbRecordBody () at ../dbStatic/dbLexRoutines.c:1230
...

Neither function is testing for NULL.

-- 
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/1882520

Title:
  Constant arrary input links of size 1 don't work

Status in EPICS Base:
  In Progress

Bug description:
  Constant input links in array form with 1 element don't work and
  return an empty array.

  Example:
  field (INP, [42])

  As soon as a comma is present, it works:
  field (INP, [42,])

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

References:
[Bug 1882520] [NEW] Constant arrary input links of size 1 don't work Dirk Zimoch via Core-talk

Navigate by Date:
Prev: [Bug 1882520] Re: Constant arrary input links of size 1 don't work Andrew Johnson via Core-talk
Next: [Bug 1882520] Re: Constant arrary input links of size 1 don't work mdavidsaver 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 1882520] Re: Constant arrary input links of size 1 don't work Andrew Johnson via Core-talk
Next: [Bug 1882520] Re: Constant arrary input links of size 1 don't work mdavidsaver 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, 08 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·