Artifacts Associated With Ticket 75b84337076e4fd5
Ticket change [453dec991b] (rid 138666) by dgp on 2014-07-11 21:31:33:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
==5593== 152 bytes in 1 blocks are definitely lost in loss record 4 of 6 ==5593== at 0x4A0610C: malloc (vg_replace_malloc.c:195) ==5593== by 0x5D14E2: TclpAlloc (tclAlloc.c:699) ==5593== by 0x43D1AE: Tcl_Alloc (tclCkalloc.c:1059) ==5593== by 0x5A6E23: AllocObject (tclOO.c:565) ==5593== by 0x5A9262: TclNRNewObjectInstance (tclOO.c:1724) ==5593== by 0x5AC12D: TclOO_Class_Create (tclOOBasic.c:198) ==5593== by 0x5AEB90: TclOOInvokeContext (tclOOCall.c:303) ==5593== by 0x5AB364: TclOOObjectCmdCore (tclOO.c:2584)
- foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "memleak in oo-1.18"
- type initialized to: "Bug"
Ticket change [6dd22a47b7] (rid 138667) by dkf on 2014-07-12 07:22:25:
- assignee changed to: "dkf"
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- subsystem changed to: "35. TclOO Package"
Ticket change [6c24c99bb3] (rid 138874) by dgp on 2014-07-18 13:18:01:
- icomment:
This leak appears to be introduced by checkin 211541cc9ec23f38b93e7343a5cfefa2b9412cf7 2010-01-30 16:33:25 UTC
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [8904900a03] (rid 138875) by dkf on 2014-07-18 14:56:31:
- icomment:
That's quite a large commit, none of which is related to TclOO. Any hope of identifying what's really going on? <p> (The test itself is checking that a global command name doesn't cause problems with a local object name during <tt>create</tt>, but I can't see how that commit could have anything to do with that test as it doesn't use <tt>unset</tt> at all. All variable deletion is done by destruction of the namespace.)
- login: "dkf"
- mimetype: "text/html"
- username: "dkf"
- icomment:
Ticket change [447654668a] (rid 138876) by dgp on 2014-07-18 16:46:01:
- icomment: "Yeah, I suspect it may be a different leak."
- login: "dgp"
- mimetype: "text/plain"
Ticket change [5e4ba2db43] (rid 138877) by dgp on 2014-07-18 17:21:35:
- icomment:
Revised apparent leak origin: checkout: 3e85aec4f2cb620504f3ea120e9ca28c532d560e 2012-03-26 12:51:15 UTC
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [f6239198ed] (rid 138884) by dkf on 2014-07-18 22:08:07:
- closedate changed to: "2456857.42231072"
- closer changed to: "dkf"
- icomment:
That was indeed the origin, and it was a subtle problem with the interlock mechanism that stopped weird delete race conditions between an instance going because of its name getting deleted and because of its class going. Evil.<p>One-line fix plus test.
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"
Ticket change [5d18d40b15] (rid 138886) by dgp on 2014-07-19 02:06:18:
- closedate changed to: "2456857.58771941"
- closer changed to: "dgp"
- icomment:
Pushed the checkin off the trunk, because the test suite was crashing terribly with it. Looking deeper now it appears that the trouble arises when slave interps are deleted.
- login: "dgp"
- mimetype: "text/plain"
Ticket change [f28a379927] (rid 138893) by dgp on 2014-07-19 16:42:12:
- closedate changed to: "2456858.19597462"
- icomment:
Repaired and recommitted to the trunk. It's possible the repair technique has broader application.
- login: "dgp"
- mimetype: "text/plain"