Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a80b3d16210ea29da64a263b91004aa171bd00c8bd2599c11cf6e2c3d89a75e8
Ticket: bbe7c6ff9ee5e4d3e6d908f0d2c4833656079a4f
zipfs failures on MacOS with password protected zip files
User & Date: apnadkarni on 2023-09-21 10:34:41
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    github actions shows the following test failures but only for MacOS. Linux and Windows (both msvc and gcc) builds work fine. I don't have the means to debug on macos and visual inspection of the code does not show anything obvious. 
    
    Someone with a macos platform will need to take a look. For now disabling those tests for MacOS.
    
    ```
    ==== zipfs-mount-password-4 mount - verify uncompressed cipher readable with password FAILED
    ==== Contents of test case:
    
            zipfs mount [zippath test-password.zip] $defaultMountPoint password
            readbin [file join $defaultMountPoint cipher.bin]
        
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: invalid CRC
        while executing
    "open $path rb"
        (procedure "readbin" line 2)
        invoked from within
    "readbin [file join $defaultMountPoint cipher.bin]"
        ("uplevel" body line 3)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: TCL ZIPFS CRC_FAILED
    ==== zipfs-mount-password-4 FAILED
    
    
    
    ==== zipfs-mount-password-5 mount - verify compressed cipher readable with password FAILED
    ==== Contents of test case:
    
            zipfs mount [zippath test-password.zip] $defaultMountPoint password
            readbin [file join $defaultMountPoint cipher-deflate.bin]
        
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: decompression error
        while executing
    "open $path rb"
        (procedure "readbin" line 2)
        invoked from within
    "readbin [file join $defaultMountPoint cipher-deflate.bin]"
        ("uplevel" body line 3)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: TCL ZIPFS CORRUPT
    ==== zipfs-mount-password-5 FAILED
    
    
    
    ==== zipfs-password-read-cipher zipfs password read cipher FAILED
    ==== Contents of test case:
    
                set fd [open [file join $defaultMountPoint $filename]]
                gets $fd
            
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: invalid CRC
        while executing
    "open [file join $defaultMountPoint $filename]"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: TCL ZIPFS CRC_FAILED
    ==== zipfs-password-read-cipher FAILED
    
    
    
    ==== zipfs-password-read-cipher-deflate zipfs password read cipher-deflate FAILED
    ==== Contents of test case:
    
                set fd [open [file join $defaultMountPoint $filename]]
                gets $fd
            
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: decompression error
        while executing
    "open [file join $defaultMountPoint $filename]"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: TCL ZIPFS CORRUPT
    ==== zipfs-password-read-cipher-deflate FAILED
    ```
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to:
    zipfs failures on MacOS with password protected zip files
    
  16. type changed to: "Bug"