Skip to content
Tcl Source Code History Of Ticket 1a28e71204305438
Login

History Of Ticket 1a28e71204305438

Artifacts Associated With Ticket 1a28e71204305438

  1. Ticket change [deec6f69ed] (rid 150338) by luguanhui on 2016-12-05 07:15:28:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      1 . Recently ,when I upgrade the tcl/tk to 8.6.1 from 8.5.9,the program is crash in Tcl_DeleteInterp.After I debug the tcl/tk,I found that in the follow code:
      static void
      DeleteInterpProc(
          Tcl_Interp *interp)		/* Interpreter to delete. */
      {
          ........
          if (!(iPtr->flags & DELETED)) {
      	Tcl_Panic("DeleteInterpProc called on interpreter not marked deleted");
          }
      
      }
      
      2. It seems that ,Tcl_DeleteInterp and Tcl_CreateInterp should be called in the same thread? But the code work fine in 8.5.9 .Is there any change done in 8.6.1? 
      Thank you
      
    5. foundin initialized to: "8.6.1"
    6. is_private initialized to: "0"
    7. login: "luguanhui"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "7ea2264d7851fedd822fe9347c46ea57253fec57"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "luguanhui"
    14. subsystem initialized to: "20. [interp]"
    15. title initialized to:
      when i call Tcl_DeleteInterp in new thread ,the program crash
      
    16. type initialized to: "Bug"
  2. Ticket change [f464967753] (rid 150961) by dgp on 2017-01-03 19:47:15:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2457757.32448522"
    3. closer changed to: "dgp"
    4. icomment:
      
      A (Tcl_Interp *) can only be passed into the
      Tcl library by the same thread that originally
      received it from a call to Tcl_CreateInterp().
      This is the "apartment model" for using threads
      with Tcl.
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"