Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a5e58bb01388b3d54c4b5a5329cec15c7908d9ca
Ticket: 218030ffffffffffffffffffffffffffffffffff
Thread Exit can cause system to crash
User & Date: nobody on 2000-10-26 00:52:22
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1266 Bug
    Version: 8.1b1
    SubmitDate: '1999-02-23'
    LastModified: '1999-04-05'
    Severity: SER
    Status: Closed
    Submitter: pat
    ChangedBy: redman
    OS: Windows NT
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '1999-04-05'
    
    
    Name:
    Matt Newman
    
    CVS:
    2/19/99
    
    Extensions:
    none
    
    CustomShell:
    I am still waiting for the tclTimer.c patch to be adopted - it is the primary reason for maintaining my own core.
    
    ReproducibleScript:
    Using tcltest.exe (needs testthread cmd)
    
    set id [testthread create]
    testthread send -async $id {puts hello}
    testthread send $id {testthread exit}
    
    ObservedBehavior:
    Core dump on windows (using native malloc) during Tcl_ExecuteByteCode
    when it tries to free the Interp->result which points to memory in the
    thread that just died.
    
    DesiredBehavior:
    This not to happen! For threads to be useful they must be stable -
    obviously tcl8.1b1 is a beta - I hope this helps you to improve this
    facility to the point where it could be used in production code.
    
    
    
    This may be due to a bug in the "testthread send" command.  03/23/1999 18:36 - surles -
    
    03/27/1999 13:32 - redman - Can't reproduce with 8.1b3 code base (today's code, debug or nondebug).
    
    
    
  4. foundin changed to: "obsolete: 8.1b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Thread Exit can cause system to crash"
  11. type changed to: "Bug"