Skip to content
Tcl Source Code History Of Ticket a84a720966
Login

History Of Ticket a84a720966

Artifacts Associated With Ticket a84a720966

  1. Ticket change [868fe027f4] (rid 139035) by apnadkarni on 2014-07-31 04:00:32:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      The following code causes the tclsh to crash (8.6.0 and 8.6.1)
      
      interp create ip; # Need slave because crash only occurs when interp is deleted
      set script {
          oo::class create C {method m {} {}}
          C create c
          c m
          oo::define C {deletemethod m}
          c m
      }
      
      catch { interp eval ip $script }
      interp delete ip
      
      If method m is not deleted or not called after deletion, crash does not occur.
      
      /Ashok
      
    5. foundin initialized to: "8.6.1"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "apnadkarni"
    13. subsystem initialized to: "35. TclOO Package"
    14. title initialized to:
      Crash when deleting interpreter in combination with oo deletemethod
      
    15. type initialized to: "Bug"
  2. Ticket change [c7a11cc3ff] (rid 139036) by apnadkarni on 2014-07-31 04:01:44:

    1. comment changed to:
      The following code causes the tclsh to crash (8.6.0 and 8.6.1)
      
      interp create ip; # Need slave because crash only occurs when interp is deleted
      set script {
          oo::class create C {method m {} {}}
          C create c
          c m
          oo::define C {deletemethod m}
          c m
      }
      
      catch { interp eval ip $script }
      interp delete ip
      
      If method m is not deleted or not called after deletion,or interp is not deleted, crash does not occur.
      
      /Ashok
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  3. Ticket change [8a74599dbe] (rid 139039) by dgp on 2014-07-31 11:29:36:

    1. assignee changed to: "dkf"
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. severity changed to: "Critical"
  4. Ticket change [a15cc1bf7f] (rid 139040) by dgp on 2014-07-31 11:34:26:

    1. icomment:
      Crash is present since the very first checkin of TclOO to Tcl:
      
      checkout:     e46e1575d392981d674e659a6c6649dc51ecf5dc 2008-05-31 11:41:59 UTC
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  5. Ticket change [0b1404fd65] (rid 139045) by dgp on 2014-07-31 19:29:42:

    1. icomment:
      Program received signal SIGSEGV, Segmentation fault.
      0x00000000005a57e8 in TclOODeleteChain (callPtr=0x0)
          at /home/dgp/fossil/tcl/generic/tclOOCall.c:153
      153	    if (--callPtr->refCount >= 1) {
      (gdb) bt
      #0  0x00000000005a57e8 in TclOODeleteChain (callPtr=0x0)
          at /home/dgp/fossil/tcl/generic/tclOOCall.c:153
      #1  0x000000000059edc4 in ReleaseClassContents (interp=0x8daef8, oPtr=0x9bdce8)
          at /home/dgp/fossil/tcl/generic/tclOO.c:1051
      #2  0x000000000059e5a9 in ObjectRenamedTrace (clientData=0x9bdce8, 
          interp=0x8daef8, oldName=0x9b6108 "::C", newName=0x0, flags=16512)
          at /home/dgp/fossil/tcl/generic/tclOO.c:874
      #3  0x00000000004131f7 in CallCommandTraces (iPtr=0x8daef8, cmdPtr=0x9c32b8, 
          oldName=0x9b6108 "::C", newName=0x0, flags=16512)
          at /home/dgp/fossil/tcl/generic/tclBasic.c:3268
      #4  0x0000000000412e32 in Tcl_DeleteCommandFromToken (interp=0x8daef8, 
          cmd=0x9c32b8) at /home/dgp/fossil/tcl/generic/tclBasic.c:3075
      #5  0x0000000000545426 in TclTeardownNamespace (nsPtr=0x904838)
          at /home/dgp/fossil/tcl/generic/tclNamesp.c:1133
      #6  0x0000000000410c47 in DeleteInterpProc (interp=0x8daef8)
          at /home/dgp/fossil/tcl/generic/tclBasic.c:1449
      #7  0x000000000055ebe8 in Tcl_EventuallyFree (clientData=0x8daef8, 
          freeProc=0x410a8a <DeleteInterpProc>)
          at /home/dgp/fossil/tcl/generic/tclPreserve.c:296
      #8  0x0000000000410a88 in Tcl_DeleteInterp (interp=0x8daef8)
          at /home/dgp/fossil/tcl/generic/tclBasic.c:1338
      #9  0x000000000051ca34 in SlaveObjCmdDeleteProc (clientData=0x8daef8)
          at /home/dgp/fossil/tcl/generic/tclInterp.c:2715
      #10 0x0000000000412f2d in Tcl_DeleteCommandFromToken (interp=0x822648, 
          cmd=0x996d08) at /home/dgp/fossil/tcl/generic/tclBasic.c:3130
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  6. Ticket change [56a38ec869] (rid 139046) by dgp on 2014-07-31 19:38:13:

    1. icomment:
      What's that I was saying?
      
      http://core.tcl.tk/tcl/tktview?name=75b8433707
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  7. Ticket change [0c295313fb] (rid 139050) by dgp on 2014-07-31 19:59:38:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2456870.3330819"
    3. closer changed to: "dgp"
    4. icomment: "fixed on trunk."
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"