Skip to content
Tcl Source Code History Of Ticket 2037727fffffffff
Login

History Of Ticket 2037727fffffffff

Artifacts Associated With Ticket 2037727fffffffff

  1. Ticket change [7eace3abc2] (rid 97457) by dgp on 2008-08-04 16:22:18:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "obsolete: 8.6a1"
    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: "oo methods fail to check compile epoch"
    12. type initialized to: "Bug"
  2. Ticket change [e78940be3d] (rid 104476) by dgp on 2008-08-05 22:59:40:

    1. 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
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [a251ef0f2e] (rid 109870) by dgp on 2008-08-05 23:40:44:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [6b38a8d1e4] (rid 128281) by dgp on 2008-08-06 03:51:16:

    1. assignee changed to: "dgp"
  5. Ticket change [718e34934f] (rid 100700) by dgp on 2008-08-07 04:02:02:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [281cc02d00] (rid 88643) by dgp on 2008-08-07 04:24:43:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Committed tests to demonstrate the bug.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [bebc745a6f] (rid 102128) by dgp on 2008-08-13 00:51:09:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2008-08-12T17:51:09"
    3. closer changed to: "dgp"
    4. 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.
      
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Pending"
    9. username: "dgp"
  8. Ticket change [b964674da4] (rid 129132) by dkf on 2008-08-20 22:44:28:

    1. closedate changed to: "2008-08-20T15:44:28"
    2. closer changed to: "dkf"
    3. 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.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dkf"