Skip to content
Tcl Source Code History Of Ticket 529816ffffffffff
Login

History Of Ticket 529816ffffffffff

Artifacts Associated With Ticket 529816ffffffffff

  1. Ticket change [e417897a69] (rid 87905) by nobody on 2002-03-14 10:22:53:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.3.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "20. [interp]"
    10. title initialized to: "TclInterp crashed in Tcl_DeleteInterp"
    11. type initialized to: "Bug"
  2. Ticket change [8561880edb] (rid 131303) by msofer on 2002-03-14 19:00:35:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      Mhhh ... looks like bug #467523 to me. That bug has been
      fixed last october, I would imagine that your problems will
      disppear if you upgrade to Tcl8.3.4 (or apply the patch
      enclosed in the bug report).
      
      Please do notify us here of the result.
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  3. Ticket change [462637ac1a] (rid 99473) by hobbs on 2002-03-23 07:04:55:

    1. closedate changed to: "2002-03-23T00:04:55"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      moving this to pending fixed, as per miguel's note.  It may 
      also be that Tcl_FindExecutable needs to be called, but I 
      don't see any more code sample.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Pending"
    8. username: "hobbs"
  4. Ticket change [e1ce89c522] (rid 87517) by nobody on 2002-03-25 05:17:21:

    1. icomment:
      Logged In: NO 
      
      Found my problem now,
      
      during script execution a pointer to Tcl_Obj 
      was killed by my! application. By cleaning the
      memmory the tcl_interp crashes. After debugging and 
      correction of my bug the interpreter leaves fine.
      
      Sorry for the bug report, and thanks for your help, it was
      "only" a memory leak in my application. :-(
      
      To find this terrible bug i moved the program to
      linux and use a special malloc-lib to control the
      memory usage and found that terrible crasher feature.
      So lets thank also Tux for help.
      
      Thanks
      Klaus
       
       
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  5. Ticket change [585c2c9965] (rid 117787) by msofer on 2002-03-25 18:34:14:

    1. closedate changed to: "2002-03-25T11:34:14"
    2. closer changed to: "msofer"
    3. status changed to: "Closed"