** Description changed:

+ [Impact]
+ * local C shell scripts using 'eval' will fail
+ * Components of some proprietary software e.g. ANSYS, ABAQUS fail to start 
without indicating an error
+ 
+ [Test Case]
+ $ sudo apt install csh
+ $ bsd-csh -f -c 'eval date'
+ 
+ [Regression Potential]
+ Upstream committed the following to fix a warning with GGC 7:
+ https://github.com/openbsd/src/commit/bdb0dae40883d5ece068eedacc14aec0faed5dff
+ This warning had been incorrectly fixed in csh/20110502-3 and introduced the 
segfault.
+ 
+ -----------------------------------------------------------------------------
+ 
  the following line in Ubuntu 17.10 (but most likely before as well as
  the package hasn't been updated since 2011):
  
  eval set val = '$'hello
  
  gives the following results:
  
  * /bin/tcsh: hello: Undefined variable.
  * /bin/bsd-csh: Segmentation fault (core dumped)
  
  Given that bsd-csh is determined as system default if both bsd-csh and
  tcsh are present on the system, it would be helpful if this worked.
  Otherwise, using tcsh easily fixes this (but makes bsd-csh even more
  obsolete).

** Changed in: csh (Ubuntu Bionic)
     Assignee: (unassigned) => Graham Inggs (ginggs)

** Changed in: csh (Ubuntu Disco)
     Assignee: (unassigned) => Graham Inggs (ginggs)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1739505

Title:
  [SRU] segfault on simple script that involves eval

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/csh/+bug/1739505/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to