Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b658720eb7784c021b1de3672caa1658f88a9b9d
Ticket: 597997ffffffffffffffffffffffffffffffffff
async+thread panic
User & Date: msofer on 2002-08-20 23:06:46
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This (granted, stupid) script panics.
    
    [mig@mini unix]$ cat /tmp/test.tcl 
    lappend auto_path /CVS/thread/unix
    package require Thread
    proc spawn {} {
        global i imax forever
        after 10 spawn
        if {[incr i] <= $imax} {
            thread::create "puts $i"
            flush stdout
        }
        set forever 1
    }
    
    set i 0
    if {[lindex $argv 0] ne {}} {
        set imax [lindex $argv 0]
    } else {
        set imax 10
    }
    spawn
    vwait forever
    flush stdout
    
    [mig@mini unix]$ ./tclsh /tmp/test.tcl 
    1
    called Tcl_FindHashEntry on deleted table
    Aborted
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "49. Threading"
  10. title changed to: "async+thread panic"
  11. type changed to: "Bug"