Artifacts Associated With Ticket a84a720966
Ticket change [868fe027f4] (rid 139035) by apnadkarni on 2014-07-31 04:00:32:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "8.6.1"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "35. TclOO Package"
- title initialized to:
Crash when deleting interpreter in combination with oo deletemethod
- type initialized to: "Bug"
Ticket change [c7a11cc3ff] (rid 139036) by apnadkarni on 2014-07-31 04:01:44:
- 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 - login: "apnadkarni"
- mimetype: "text/plain"
- comment changed to:
Ticket change [8a74599dbe] (rid 139039) by dgp on 2014-07-31 11:29:36:
- assignee changed to: "dkf"
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "8"
- severity changed to: "Critical"
Ticket change [a15cc1bf7f] (rid 139040) by dgp on 2014-07-31 11:34:26:
- icomment:
Crash is present since the very first checkin of TclOO to Tcl: checkout: e46e1575d392981d674e659a6c6649dc51ecf5dc 2008-05-31 11:41:59 UTC
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [0b1404fd65] (rid 139045) by dgp on 2014-07-31 19:29:42:
- 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 - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [56a38ec869] (rid 139046) by dgp on 2014-07-31 19:38:13:
- icomment:
What's that I was saying? http://core.tcl.tk/tcl/tktview?name=75b8433707
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [0c295313fb] (rid 139050) by dgp on 2014-07-31 19:59:38:
- assignee changed to: "dgp"
- closedate changed to: "2456870.3330819"
- closer changed to: "dgp"
- icomment: "fixed on trunk."
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"