Artifacts Associated With Ticket 2037727fffffffffffffffffffffffffffffffff
Ticket change [7eace3abc2] (rid 97457) by dgp on 2008-08-04 16:22:18:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
% proc succeed args {} % oo::object create example ::example % oo::objdefine example method foo {} {succeed} % example foo % proc succeed {} {return succeed} % example foo % Contrast with: % proc succeed args {} % proc foo {} {succeed} % foo % proc succeed {} {return succeed} % foo succeed Something in OO method dispatch needs revision to notice that a bump in the compile epoch has made the bytecode invalid before trying to execute it. Uncovered this tracking down 2023112. - foundin initialized to: "obsolete: 8.6a1"
- is_private initialized to: "0"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "oo methods fail to check compile epoch"
- type initialized to: "Bug"
Ticket change [e78940be3d] (rid 104476) by dgp on 2008-08-05 22:59:40:
- icomment:
Logged In: YES user_id=80530 Originator: YES dgpok, line 790 of tclOOMethod.c looks like the key to 2037727 miguelsimplified: possible, yes miguell790 as culprit: guilty as charged dgpso if I just remove that test and make the TPCP call unconditional... dgpyes, that works
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [a251ef0f2e] (rid 109870) by dgp on 2008-08-05 23:40:44:
- icomment:
Logged In: YES user_id=80530 Originator: YES no that doesn't work This gets into a real mess trying to call destructors during interp deletion.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [6b38a8d1e4] (rid 128281) by dgp on 2008-08-06 03:51:16:
- assignee changed to: "dgp"
Ticket change [718e34934f] (rid 100700) by dgp on 2008-08-07 04:02:02:
- icomment:
Logged In: YES user_id=80530 Originator: YES The mess with destructors and interp deletion was another bug, 2039178. There's a different mess now with different instances of a class trying to share the (Proc *) of a class method, while also trying to execute in different namespaces. This runs afoul of the normal rules for verifying bytecode validity. Normally bytecode created compiling a script in one namespace is not acceptable as a representation of the same script in a different namespace.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [281cc02d00] (rid 88643) by dgp on 2008-08-07 04:24:43:
- icomment:
Logged In: YES user_id=80530 Originator: YES Committed tests to demonstrate the bug.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [bebc745a6f] (rid 102128) by dgp on 2008-08-13 00:51:09:
- assignee changed to: "dkf"
- closedate changed to: "2008-08-12T17:51:09"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Originator: YES Fix committed. It appears that this bug fix, combined with the namespace-per-instance design of TclOO means that there will be frequent re-compiles of class method bodies called on different instances. The TclOO master designer may want to take a good look at this.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Pending"
- username: "dgp"
Ticket change [b964674da4] (rid 129132) by dkf on 2008-08-20 22:44:28:
- closedate changed to: "2008-08-20T15:44:28"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Originator: NO Restored performance. I think I won't backport this stuff to TclOO-for-8.5; the breakage is minor for most code and the fix a little intrusive.
- login: "dkf"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dkf"