Skip to content
Tcl Source Code History Of Ticket 2950259
Login

History Of Ticket 2950259

Artifacts Associated With Ticket 2950259

  1. Ticket change [8af43532f0] (rid 127476) by dgp on 2010-02-12 03:03:52:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Full `make test` on HEAD (with bundled packages):
      
      ==== delete-3.4 object destructors get invoked, even during catastrophe FAILED
      ==== Contents of test case:
      
          lsort $test_delete_watch
      
      ---- Result was:
      
      ---- Result should have been (exact matching):
      ::test_delete0 ::test_delete1 ::test_delete2 ::test_delete_base0 ::test_delete_base1 ::test_delete_base2
      ==== delete-3.4 FAILED
      
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "TclOO changes cause Itcl 4 test delete-3.4 fail"
    12. type initialized to: "Bug"
  2. Ticket change [a15c31670e] (rid 109701) by dkf on 2010-02-12 16:16:45:

    1. icomment:
      I know, but I don't know what to do about it. I suppose we could mark it as a knownBug...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. subsystem changed to: "81. Bundled Packages"
    5. username: "dkf"
  3. Ticket change [c85e64b1d8] (rid 122090) by dkf on 2010-02-12 22:19:16:

    1. icomment:
      The test is depending on another test (delete-3.3) that involves deleting a class by killing its namespace. That's when TclOO has the most trouble cleaning up because too much has already gone by the point when TclOO gets control. A test that involved the use of [rename] instead would work better.
      
      BTW, I've found a couple of ways of fixing this. "Horrific hack" is the best description of my ideas so far...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [bc2f0ccd75] (rid 129623) by dkf on 2010-02-15 18:58:58:

    1. closedate changed to: "2010-02-15T11:58:58"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      OK, the evil hack (that worked) was to make an ensemble in a private namespace that would be deleted early enough during namespace destruction, and to hang doing nice cleanup off that via a delete trace. Hacky, but worked.
      
      Based on that, I added another (internal) callback to namespace deletion instead. That's much cheaper and can't be pulled apart by scripts poking in where they shouldn't. But there's no way that I'll try to backport to 8.5. (The bug can be considered to lie between the namespace code, the TclOO code and the itcl code.)
      
      Also revised the TclOO tests so that running destructors properly when killing an object by deleting its namespace is an explicitly tested case.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. subsystem changed to: "35. TclOO Package"
    9. username: "dkf"