Skip to content
Tcl Source Code History Of Ticket 1502071
Login

History Of Ticket 1502071

Artifacts Associated With Ticket 1502071

  1. Ticket change [6a3d55c64c] (rid 128112) by mistachkin on 2006-06-07 07:31:19:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      In the interp-16.1 test, the master interpreter {xxx}
      is deleted prior to the slave interpreter {xxx yyy}. 
      Deletion of the master interpreter leaves hanging
      references to it in the interpInfo.slave.masterInterp
      field for each of it's slave interpreters.
      
      If Tcl_GetMaster(slaveInterp) is called after the
      master interpreter has been freed, the result points to
      undefined memory.
      
      Currently, the only way I know of to see this problem
      is to apply my Tcl_CancelEval patch and run the test suite.
      
      After careful study, I have come up with a potential
      fix for this issue.
      
      Basically, when any slave interpreter is deleted we
      reset the master for each of it's slave interpreters to
      be it's master's master (which may be NULL).  I'm not
      sure if this is the best solution; however, it appears
      to work.
      
      This bug also affects 8.4.
      
      
    4. foundin initialized to: "obsolete: 8.5a4"
    5. priority initialized to: "7 High"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mistachkin"
    9. subsystem initialized to: "20. [interp]"
    10. title initialized to:
      Tcl_GetMaster can access freed interp (interp-16.1)
      
    11. type initialized to: "Bug"
  2. Ticket change [4a0c0cafa7] (rid 126465) by nobody on 2006-06-11 05:21:23:

    1. icomment:
      Logged In: NO 
      
      
      After more research, I don't think my original way to fix
      this issue was right.  I avoided this issue in my
      Tcl_CancelEval patch by working around it; however, the
      issue itself still merits further study.
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  3. Ticket change [a986b854d1] (rid 99162) by hobbs on 2007-09-11 07:02:04:

    1. priority changed to: "6"
  4. Ticket change [ca448c635c] (rid 122435) by msofer on 2007-09-11 22:32:01:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      When an interp is deleted, all its slaves are deleted too: when the slave command in the master goes, its deleteProc deletes the slave interp. Ie: this does not seem to be a bug that can be triggered by any script. It seems like one of "pilot error", "insufficient docs for the C api" or "incomplete C api for interps".
      
      Or else I misunderstood completely.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [d7ae3a58ea] (rid 124037) by mistachkin on 2009-03-17 14:54:19:

    1. icomment:
      This bug may be related to 1502071.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  6. Ticket change [5b77645ae1] (rid 118331) by mistachkin on 2009-03-17 15:04:02:

    1. icomment:
      What I meant was: This bug may be related to 2577420.
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"