Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 85e7c0bfd6e6802eff11626901c3a2f0cdb4e488f6ef56a8f4ee867d43420306
Ticket: 4d3f2130292dbfe33977659c2afe98c7bb86b668
VFS support causes infinite recursion during 'file exists' if working directory has been removed
User & Date: jrioux on 2023-04-25 14:17:21
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    Tested on Ubuntu 22.04 with Tcl 8.6.12 and VFS 1.4.2
    
    The following minimal example causes tclsh to segfault (infinite recursion). Expected was that no segmentation fault occurs.
    
    package require vfs
    set testdir directory_for_testing_will_be_deleted
    set testdir_abs [file join [pwd] $testdir]
    file mkdir $testdir
    cd $testdir
    puts "Current working dir: [pwd]"
    file delete $testdir_abs
    puts "Current working dir: [pwd]"
    puts "File exists: [file exists .]"
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "jrioux"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0dfacf32a543c83cbee5c8884538a221b52e85a7"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "jrioux"
  14. subsystem changed to: "37. File System"
  15. title changed to:
    VFS support causes infinite recursion during 'file exists' if working directory has been removed
    
  16. type changed to: "Bug"