Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3a3e42f2fd08d488bb92f78e413349580f2afeee6613666840f9bcd8cdb1c395
Ticket: 33b248619922b8781ab500cd778f177fedf3ebe8
zipfs becomes non-functional after first thread finalization
User & Date: dgp on 2023-11-03 13:49:45
Changes

  1. closer changed to: "nobody"
  2. icomment:
    
    Seems this was only a partial fix.
    
    $ ./tcltest ../tests/zipfs.test
    zipfs.test:     Total   508     Passed  473     Skipped 35      Failed  0
    Number of tests skipped for each constraint:
            23      !zipfslib
            1       bug-4ae42446ab
            11      win
    
    That is indeed a successful test.  But....
    
    $ ./tclsh ../tests/zipfs.test
    
    
    ==== bug-33b2486199 zipfs unmounted on thread exit FAILED
    ==== Contents of test case:
    
            set before [lsort [zipfs mount]]
            thread::release [thread::create]
            after 100; # Needed to allow the spawned thread to exit to trigger bug
            string equal $before [lsort [zipfs mount]]
        
    ---- Result was:
    0
    ---- Result should have been (exact matching):
    1
    ==== bug-33b2486199 FAILED
    
    zipfs.test:     Total   508     Passed  472     Skipped 35      Failed  1
    Number of tests skipped for each constraint:
            23      !zipfslib
            1       bug-4ae42446ab
            11      win
    
    Some probing of the failing test shows that all zipfs mounts disappear.
    
    It's very tricky tracing through all the configure/build combinatorics
    in the zipfs tangle.
    
  3. login: "dgp"
  4. mimetype: "text/plain"
  5. status changed to: "Open"