Overview
| Artifact ID: | e3c2bcd5b24e945a94684398672f135c890a9318 |
|---|---|
| Ticket: | 2414149fffffffffffffffffffffffffffffffff
namespace ensemble problem |
| User & Date: | wiede on 2008-12-10 16:23:01 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
I have a problem concerning memory leakage using namespace ensembles. There are some tests in incr Tcl which are using namespace ensembles and under certain circumstances there is something I would call a memory leakage. There is an ensemble which is not modified after creation. The test calls the same subcommand of the ensemble several times. What I have found out is: in that special case there are 2 calls to MakeCachedEnsembleCommand which incr the refcount for ensembleCmd->realPrefixObj without a call to FreeEnsembleCmdRep in between (which happens normally and which decrements ensembleCmd->realPrefixObj again). I don't understand the 2 calls to MakeCachedEnsembleCommand. The problem can be reproduced with some test files from itcl tests (it's always the same problem, but only for some tests), If necessary, I can try to strip down a test file to a smaller example.
- foundin changed to: "obsolete: 8.6a3"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "wiede"
- subsystem changed to: "21. [namespace]"
- title changed to: "namespace ensemble problem"
- type changed to: "Bug"