Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1f3c848e9085e47f8d34b53a029fd2cbf05ee403
Ticket: 1523697fffffffffffffffffffffffffffffffff
Crash using clock commands in a Thread using VFS
User & Date: ctasada on 2006-07-17 07:32:50
Changes

  1. assignee changed to: "vasiljevic"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi guys,
    
    I'm using Tcl 8.5a4 with Thread 2.6.3 in a housemade
    TclKit with threads enabled (of course) and VFS 1.3
    (including the patch Jeff Hobbs did on 2006-05-26).
    
    When running the next code with the Tcl/Tk without
    using VFS it runs ok, but when we execute this code in
    a Threaded TclKit it crashes (sorry, but I don't see
    any error message).
    
    if {[catch {
        package require Thread
    }]} {
        load thread.dll
    }
    
    set threadIds {}
    set x 0
    
    while {$x < 10} {
        lappend threadIds [thread::create]
        incr x
    }
    
    foreach threadId $threadIds {
        thread::send -async $threadId "clock format [clock
    seconds] -format \"%Y/%m/%d %H:%M:%S\""
    }
    
    To me looks like a VFS/Thread problem or maybe a clock
    problem (I've tested with ActiveState 8.4.13 BaseKit
    and seems to work fine).
    
    If you need anything else, please don't hesitate to
    contact me.
    
    Best Regards,
    Carlos Tasada.
    
  4. foundin changed to: "obsolete: 8.5a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "ctasada"
  9. subsystem changed to: "80. Thread Package"
  10. title changed to: "Crash using clock commands in a Thread using VFS"
  11. type changed to: "Bug"