Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 26d50abb08ef31a594593edc5216e520a981c727546cf591abd39f25866c75b2
Ticket: 61c01e0edb08a9ed905aefdf17ce113da303c77b
likely race condition with package require in several threads causing error
User & Date: sebres on 2025-07-18 00:35:00
Changes

  1. icomment:
    OK, I reproduced it with stock tcl and latest tcllib (using package require in new interpreter, 8x threaded).
    
    It looks like it is `tclPkgUnknown`, particularly sub-dir `glob` in<br/>
    `glob -directory $dir -join -nocomplain * pkgIndex.tcl`<br/>
    what sporadically returns empty list for tcllib directory, where normally it is something like `${dir}/tcllib2.0/pkgIndex.tcl`.
    
    Digging deeper.
    
  2. login: "sebres"
  3. mimetype: "text/x-markdown"