TCL's show current
command segfaults in "thick client" mode when given a non-existent tree
#2688
Labels
branch/alpha
This is present on or relates to the alpha branch
bug
An unexpected problem or unintended behavior
tool/tcl
Relates to the Tree Control Language or mdstcl prompt
Affiliation
MIT PSFC
Version(s) Affected
Current alpha
Platform
Ubuntu 20 and Rocky 9.3
Describe the bug
If make a typo in a tree name when using TCL's
show current
command, then a segfault occurs.To Reproduce
Steps to reproduce the behavior:
$MDSPLUS_DIR
is set and thatsource $MDSPLUS_DIR/setup.sh
has been run.export stuff_path=/tmp/stuff_trees
).Expected behavior
An error message should appear stating that the tree cannot be found. The
mdstcl
program should not segfault.Screenshots
n/a
Additional context
This bug was found while investigating Issue #2684.
The text was updated successfully, but these errors were encountered: