EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: [Bug 2004463] Re: iocsh on vxWorks broken
From: Dirk Zimoch via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Wed, 01 Feb 2023 16:10:54 -0000
Compiling base on my Linux host with CMD_CFLAGS=-funsigned-char and
CMD_CXXFLAGS=-funsigned char builds an ioc that shows the same buggy
behavior (complaining about any command with "Unbalanced quote" error).

And it fails iocshTest.t:
Test Summary Report
-------------------
iocshTest.t                 (Wstat: 256 Tests: 19 Failed: 8)
  Failed tests:  2, 4-5, 9, 14-17

And in database/test/std/rec/:
Unbalanced quote.
iocsh Error: Break
dbAllocRecord(rec0) with ao rec_size = 0
Can't create record "rec0" of type "ao"
Error at or before ')' in path ".."  file "asTest.db" line 1
Error: syntax error
Bailout called.  Further testing stopped:  Failed to load test database
FAILED--Further testing stopped: Failed to load test database

After applying the patch iocsh works and all tests succeed.

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

Title:
  iocsh on vxWorks broken

Status in EPICS Base:
  New

Bug description:
  Since commit 60128ee9 "Com: separate iocsh argument splitting", iocsh
  is broken on VxWorks (tested with version 6.9.4.12)

  Any command prints the error "Unbalanced quote."

  > iocsh
  epics> echo
  Unbalanced quote.
  epics> "echo"
  Unbalanced quote.
  epics> "echo
  Unbalanced quote.
  epics> echo bla
  Unbalanced quote.
  epics> echo 1 2 3
  Unbalanced quote.
  epics> exit
  Unbalanced quote.

  I have started investigating....

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


References:
[Bug 2004463] [NEW] iocsh on vxWorks broken Dirk Zimoch via Core-talk

Navigate by Date:
Prev: [Bug 2004463] Re: iocsh on vxWorks broken Andrew Johnson via Core-talk
Next: [Bug 2004463] Re: iocsh on vxWorks broken mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: [Bug 2004463] Re: iocsh on vxWorks broken Andrew Johnson via Core-talk
Next: [Bug 2004463] Re: iocsh on vxWorks broken mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024