Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e417897a69bdda544300de9ebba406c71ef67393
Ticket: 529816ffffffffffffffffffffffffffffffffff
TclInterp crashed in Tcl_DeleteInterp
User & Date: nobody on 2002-03-14 10:22:53
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hallo all,
    
    i have build an windows (vc6.0) application, which 
    starts an internel Tcl_Interp. From the
    windows application i start myApp_Init generated from 
    swig. I tested only a single function wrapped by swig 
    and this function works. I now close the sub window 
    from tk and got the following messages in my
    debugger:
    
    abort() line 44 + 7 bytes
    Tcl_PanicVA(char * 0x002de23c, char * 0x00b9ff18) line 
    95
    Tcl_Panic(char * 0x002de23c) line 121 + 13 bytes
    Tcl_GetStringFromObj(Tcl_Obj * 0x00ba54a8, int * 
    0x00b9ff18) line 741 + 19 bytes
    TclReleaseLiteral(Tcl_Interp * 0x00150d78, Tcl_Obj * 
    0x00ba54a8) line 683 + 13 bytes
    TclDeleteLiteralTable(Tcl_Interp * 0x00150d78, 
    LiteralTable * 0x00150e3c) line 123 + 16 bytes
    DeleteInterpProc(Tcl_Interp * 0x00150d78) line 1075 + 
    18 bytes
    Tcl_EventuallyFree(int * 0x00150d78, void (char *)* 
    0x002466fb DeleteInterpProc(Tcl_Interp *)) line 313 + 
    7 bytes
    Tcl_DeleteInterp(Tcl_Interp * 0x00150d78) line 901 + 
    14 bytes
    TkInterpMain(void * 0x00000000) line 445 + 13 bytes
    KERNEL32! 77e837cd()
    *********************************************
    In the source of Tcl I found:
    *********************************************
    char *
    Tcl_GetStringFromObj(objPtr, lengthPtr)
    [SNIP]
    
        if (objPtr->typePtr->updateStringProc == NULL) {
    panic("UpdateStringProc should not be invoked 
    for type %s",
    objPtr->typePtr->name);
        }
    
    where the variable is:
    *********************************************
    objPtr->typePtr->name0x002da04c "cmdName"
    *********************************************
    
    I use tcl/tk 8.3.3 on win2k, also compiled by vc6.0
    and the version swigwin 1.3.11.
    
    I hope this helps.
    
    Can you send me a short message what your opinion for 
    that problem is? 
    
    Regards
      Klaus
    
  4. foundin changed to: "obsolete: 8.3.3"
  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: "20. [interp]"
  10. title changed to: "TclInterp crashed in Tcl_DeleteInterp"
  11. type changed to: "Bug"