Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f7ed6312017781a8337fc62d21f5a7ce571f27b0475ce0ca8742d3e868ae4ba8
Ticket: 17f747a4a4720f8e9797e7933dd43745b73e0e2c
Thread safety in tclZipfs.c
User & Date: chw on 2017-11-21 05:48:03
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    There's a static cache of Tcl_Obj pointers (e.g. "zipfs_literal_fstype") to cache
    commonly used strings. This seems to be wrong since it potentially is used by
    more than a single thread and lacks synchronization.
    
    Either must that cache be left out or implemented using thread local storage as
    in the Tcl_SetStartupScript() function.
    
  5. foundin changed to: "core_zip_vfs"
  6. is_private changed to: "0"
  7. login: "chw"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
  10. resolution changed to: "None"
  11. severity changed to: "Critical"
  12. status changed to: "Open"
  13. submitter changed to: "chw"
  14. subsystem changed to: "49. Threading"
  15. title changed to: "Thread safety in tclZipfs.c"
  16. type changed to: "Bug"