Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 39c1e9556bf15fb0f9237ec9186ea8e06a7de849
Ticket: 1658572fffffffffffffffffffffffffffffffff
Heap corruption in interp.test
User & Date: kennykb on 2007-02-13 03:37:01
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Platform: Win2k
    Configuration: win/configure --enable-symbols=all
    
    When I run 'make test', tcltest crashes in interp.test.
    When I try to move the walls in with test selection,
    I can get as far as:
    
    make -s TESTFLAGS='-file interp.test -match interp-2.* -verbose btefp' test
    
    and still see the same crash - which is 'free' detecting heap corruption when freeing the root callframe pointer of an interp inside interp-2.13.
    
    Running interp-2.13 by itself doesn't crash.  But running interp-2.10 by itself (rather than in the complete test suite' gives the bogus error  
    
    ==== interp-2.10 basic interpreter creation FAILED
    ==== Contents of test case:
    
        interp create {a x1}
        interp create {a x2}
        interp create {a x3} -safe
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: could not find interpreter "a"
        while executing
    "interp create {a x1}"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: NONE
    ==== interp-2.10 FAILED
    
    Something appears to have gone badly wrong in memory allocation.  Not having Purify or BoundsChecker to hand, I'm a bit stymied.
    
  4. foundin changed to: "obsolete: 8.5a6"
  5. is_private changed to: "0"
  6. priority changed to: "8"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "kennykb"
  10. subsystem changed to: "20. [interp]"
  11. title changed to: "Heap corruption in interp.test"
  12. type changed to: "Bug"