Skip to content
Tcl Source Code History Of Ticket 469c5ea507367fa9
Login

History Of Ticket 469c5ea507367fa9

Artifacts Associated With Ticket 469c5ea507367fa9

  1. Ticket change [bac311af11] (rid 167223) by dgp on 2018-11-08 17:41:53:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Debian records this bug in Tcl filesystem operations:
      
      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913189
      
    5. foundin initialized to: "8.5+"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Severe"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "37. File System"
    14. title initialized to:
      VFS breaks when [pwd] is non-existent native directory
      
    15. type initialized to: "Bug"
  2. Ticket change [76ff53b50b] (rid 167224) by dgp on 2018-11-08 17:42:33:

    1. icomment:
      
      Copying their demo:
      
      o reproduce:
      
      $ rm -rf d
      $ mkdir d
      $ cd d
      $ rm -rf ../d
      $ env - pwd
      pwd: couldn't find directory entry in '..' with matching i-node
      $ tclsh8.6
      % file delete spong
      error deleting "spong": bad address in system call argument
      %
      
      strace shows:
      
      getcwd(0x7ffcf224aeb0, 4097)            = -1 ENOENT (No such file or directory)
      lstat(NULL, 0x7ffcf224c100)             = -1 EFAULT (Bad address)
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [18fb931826] (rid 167225) by dgp on 2018-11-08 17:44:25:

    1. icomment:
      Comments there continue:
      
      "Not sure why `file delete spong' needs to call cwd at all, but
      certainly it should have a proper error check."
      
      Tcl's Virtual File System tends to do a lot of 'cwd' calling to
      determining which of the mounted filesystems a pathname should belong to.
      
      It appears this failure dates back to the arrival of VFS in Tcl 8.5.
      
    2. login: "dgp"
    3. mimetype: "text/plain"