Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9dbed2785ddce504985cf8169886bf6da9970cda
Ticket: 1658572fffffffffffffffffffffffffffffffff
Heap corruption in interp.test
User & Date: dkf on 2007-02-13 20:35:33
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    Originator: NO
    
    I can make this crash for me using:
      make test TESTFLAGS="-file interp.test -verbose t -match interp-2.[1-2]"
    
    Commenting out the call to TclSetupEnv in Tcl_CreateInterp (in tclBasic.c) also makes the tests proceed to completion when running in a configuration where they would otherwise crash. Not that this is a good solution though!
    
    Be aware that this is a Heisenbug (or very close to one); adding in a 'puts FOO' between tests interp-2.1 and 2.2 makes the problem go away!
    
    I've not yet been able to duplicate the problem on Linux.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"