Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a8fdce350fda489df57a78272d62cf56016ccb23892d41e09788adc80f3bf07a
Ticket: f6fbc71cd160d7796065a0933182e3d34cc11e3f
with "make valgrind", safe-zipfs-5.5 fails with the error, 'can't set "path": variable is array'
User & Date: pooryorick on 2021-04-25 13:06:57
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    With "make valgrind", safe-zipfs-5.5, and some other safe-zipfs tests fail with
    the error,
    
        <code><verbatim>can't set "path": variable is array'</verbatim></code>
    
    With "make test" this failure doesn't occur.  However, for "make valgrind",
    "-singleproc 1" is passed to tcltest.  The error occurs because in this casse,
    the content of each test file is evaluated evaluated in the same interpreter,
    and process.test, which was previously evaluated, creates the variable "path"
    in the global namespace, but does not delete it.
    
    This illustrates a general problem with "-singleproc 1", the various .test files
    are all evaluated in the same interpeter, and may produce conflicting
    interpeter states.
    
  5. is_private changed to: "0"
  6. login: "pooryorick"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Important"
  10. status changed to: "Open"
  11. submitter changed to: "pooryorick"
  12. subsystem changed to: "- New Builtin Commands"
  13. title changed to:
    with "make valgrind", safe-zipfs-5.5 fails with the error, 'can't set "path": variable is array'
    
  14. type changed to: "Bug"