Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dfee5b93c595d1e92ff61445fbf01d372a8c611d
Ticket: 1658572fffffffffffffffffffffffffffffffff
Heap corruption in interp.test
User & Date: twylite on 2007-03-15 23:32:01
Changes

  1. icomment:
    Logged In: YES 
    user_id=91629
    Originator: NO
    
    Followup:
    The script in my last comment works against a DEBUG build (OPTS=symbols,threads) using VC 2005 Express.
    It doesn't work against a VC 6 build without symbols (OPTS=threads), but the following script does:
    
    ---
    for {set i 0} {$i < 12} {incr i} { interp create }
    foreach i [interp slaves] { interp delete $i }
    ---
    
    NOTE: these scripts were run with tcltest.exe.  The one below appears to break tcl85t.exe though.
    
    I have occasionally got it to crash with other numbers of interps, but then I have been playing with interp creation and deletion before that point.  This script works consistently if run directly after startup.
    
    Heisenbug indeed :(
    
    
    
    
    
  2. login: "twylite"
  3. mimetype: "text/plain"
  4. username: "twylite"