Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5e88b3b995218899a3eb51bd1f2f840be2e3710e894d27eb854cd2aed43794c4
Ticket: 9525f4c8bcce2946de2444cee5fe96a17a3b9f34
Memory leak on zipfs with long mount paths
User & Date: apnadkarni on 2023-10-14 07:34:22
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    The following script leaks memory
    
    ```
    set mt //zipfs:[string repeat /x 240]
    zipfs mount ../../tests/zipfiles/test.zip $mt
    zipfs unmount $mt
    ```
    
    Does not happen with shorter paths (exact crossover point to be determined)
    
    ```
    ==272087== LEAK SUMMARY:
    ==272087==    definitely lost: 1,480 bytes in 3 blocks
    ==272087==    indirectly lost: 0 bytes in 0 blocks
    ==272087==      possibly lost: 0 bytes in 0 blocks
    ==272087==    still reachable: 726 bytes in 14 blocks
    ==272087==         suppressed: 0 bytes in 0 blocks
    ```
    
  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: "Memory leak on zipfs unmount with long paths"
  16. type changed to: "Bug"