Skip to content
Tcl Source Code History Of Ticket 2017583
Login

History Of Ticket 2017583

Artifacts Associated With Ticket 2017583

  1. Ticket change [d8bdae211e] (rid 107496) by msofer on 2008-07-14 00:36:13:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I have committed the attached patch that eliminates an unnecessary (I think!) numLevels++ in TclSubstTokens. Note that there is a call to TclEvalEx, which in turn calls Tcl_EvalObjv, which does the numLevel management.
      
      If I'm wrong ... please revert.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "msofer"
    10. subsystem initialized to: "45. Parsing and Eval"
    11. title initialized to: "unnecessary numLevels++ in tclParse.c?"
    12. type initialized to: "Bug"
  2. Ticket change [a9d0fa22b7] (rid 99218) by msofer on 2008-07-14 07:36:13:

    1. icomment:
      
      
      File Added - 284571: numlevels.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Add attachment "numlevels.patch" [655cffde72] (rid 102532) by msofer on 2008-07-14 07:36:13.

  4. Ticket change [b8069e6459] (rid 128902) by msofer on 2008-07-14 07:41:15:

    1. resolution changed to: "Fixed"
  5. Ticket change [8961ea1879] (rid 132014) by dgp on 2008-07-14 13:02:11:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      need a cvs history check for
      when the code was added, and
      what bug, if any, it was fixing
      at the time.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dgp"
  6. Ticket change [2c40926d34] (rid 118868) by msofer on 2008-07-14 19:21:09:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      Remark that this is related to "Kill TEOVi" (outdated Patch #1904111).
      
      All evals now go through TEOV, which manages the numLevel. Before this change direct callers of TEOVi (bypassing TEOV) had to manage the numLevel. 
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  7. Ticket change [5e3c938b1b] (rid 115602) by dgp on 2008-07-15 02:42:41:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      Revision 1.40 of tclParse.c was
      the first to acquire those numLevel
      manipulations, allegedly to fix
      Bug 1115904.  Tests parse-19.[1-4]
      were added to test the fix, so if
      they're still passing, things should 
      be ok.
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  8. Ticket change [77257a31af] (rid 89727) by dgp on 2008-07-15 03:00:51:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      hmmm, they're passing, but only
      because they've been revised.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [269d415ef5] (rid 88377) by msofer on 2008-07-15 03:31:16:

    1. closedate changed to: "2008-07-14T20:31:16"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      Patch reverted.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "msofer"
  10. Ticket change [ac8d4441e1] (rid 101316) by msofer on 2008-07-15 03:38:15:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      Keeping open for review at leisure
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. priority changed to: "4"
    5. status changed to: "Open"
    6. username: "msofer"
  11. Ticket change [fda7e960b1] (rid 108441) by mistachkin on 2008-07-15 05:08:11:

    1. icomment:
      Logged In: YES 
      user_id=113501
      Originator: NO
      
      
      Did you restore the call to TclResetCancellation?
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  12. Ticket change [72a0bd95d5] (rid 100894) by msofer on 2008-07-15 21:13:26:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      Ooops ... now I did, thx.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  13. Ticket change [e983c30d07] (rid 104828) by dgp on 2008-08-07 21:22:13:

    1. closedate changed to: "2008-08-07T14:22:13"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      If this management of numLevels is removed,
      the following test script will no longer
      work correctly:
      
          interp recursionlimit {} 100
          testevalex [string repeat \[ 200][string repeat \] 200]
      
      The limit won't catch the evaluation.
      
      The implication is that an arbitrary number of
      nested calls to TclEvalEx can happen on the C stack
      without any protection.
      
      Unless things change even more under the hood,
      we still need those lines managing numLevels
      in TclSubstTokens.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Pending"
    7. username: "dgp"
  14. Ticket change [ef4970b170] (rid 108967) by dgp on 2008-08-07 21:29:01:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      Add
      
          proc {} args {}
      
      to that last demo script to avoid
      issues irrelevant to the subject.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  15. Ticket change [7c6745f247] (rid 97074) by msofer on 2008-08-07 21:43:50:

    1. closedate changed to: "2008-08-07T14:43:50"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      Understood: these count parser recursion levels, not evaluation recursion levels.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "msofer"
  16. Ticket change [7659549f98] (rid 105575) by dgp on 2008-08-07 21:48:17:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      no, they count levels of recursion
      in substitution, before command procedure
      invocation is reached.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"