Skip to content
Tcl Source Code History Of Ticket 2017632
Login

History Of Ticket 2017632

Artifacts Associated With Ticket 2017632

  1. Ticket change [c07940ccf9] (rid 102412) by msofer on 2008-07-14 03:38:44:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Joe Mistachkin reports a crash in [Bug 2017627]: apparently an infinite recursion blowing the stack with CVS HEAD using threaded debug build on Windows XP SP3. 
      
      The stack trace is at http://paste.tclers.tk/1067 and attached here. The first few lines are
      
      
      
      CVS HEAD using threaded debug build on Windows XP SP3.
      
      Here is the full stack trace:
      
      tcl86tg.dll!_chkstk() Line 99 Asm
      tcl86tg.dll!NRPostProcess(Tcl_Interp * interp=0x009ebe88, int
      result=0x00000000, int objc=0x00000000, Tcl_Obj * const * objv=0x00000000)
      Line 7419 + 0x10 bytes C
      tcl86tg.dll!TclEvalObjEx(Tcl_Interp * interp=0x009ebe88, Tcl_Obj *
      objPtr=0x00a5fb30, int flags=0x00000000, const CmdFrame *
      invoker=0x0131da9c, int word=0x00000001) Line 5327 + 0x11 bytes C
      tcl86tg.dll!Tcl_CatchObjCmd(void * dummy=0x00000000, Tcl_Interp *
      interp=0x009ebe88, int objc=0x00000003, Tcl_Obj * const * objv=0x0131dac4)
      Line 253 + 0x1e bytes C
      tcl86tg.dll!Tcl_EvalObjv(Tcl_Interp * interp=0x009ebe88, int
      objc=0x00000003, Tcl_Obj * const * objv=0x0131dac4, int flags=0x00200000)
      Line 4079 + 0x15 bytes C
      
      
    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: "msofer"
    10. subsystem initialized to: "45. Parsing and Eval"
    11. title initialized to: "crash in error-1.8 test"
    12. type initialized to: "Bug"
  2. Ticket change [9f4d5d4bb8] (rid 96620) by msofer on 2008-07-14 10:38:44:

    1. icomment:
      
      
      File Added - 284581: 1067.html.gz
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Add attachment "1067.html.gz" [c5c28c2550] (rid 121646) by msofer on 2008-07-14 10:38:44.

  4. Ticket change [df143599d3] (rid 114961) by msofer on 2008-07-14 10:49:30:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      Forgot to add: the crashing test is error-1.8:
      
          proc p {} {
              uplevel 1 catch p error
          }
          p
      
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [16e8009d43] (rid 124790) by msofer on 2008-07-14 10:56:46:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      Need to NRE-enable Tcl_CatchObjCmd (and others that eval a script: foreach, if, ...).
      
      This also points to NRE-enabling NRPostProcess(), or a better approach to TclEvalObjEx?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [817b835bf2] (rid 117045) by msofer on 2008-07-21 11:22:57:

    1. title changed to:
      NR-enable [catch] (and [if], [for], [foreach], [eval], ...)
      
  7. Ticket change [9feac1671a] (rid 96721) by msofer on 2008-07-21 19:26:04:

    1. priority changed to: "8"
  8. Ticket change [084465fcdb] (rid 89533) by msofer on 2008-07-31 22:45:16:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      The original crash should not happen in HEAD now that [catch] is NR-enabled. Leaving open as reminder for the other commands.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  9. Ticket change [66f9f82689] (rid 102820) by msofer on 2008-08-04 20:58:25:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      [catch], [for], [if] and [while] are NR-enabled in HEAD. Still missing [foreach] and [dict for]
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  10. Ticket change [f4e9c3097c] (rid 130012) by dkf on 2008-08-23 18:36:06:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Done [dict for].
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  11. Ticket change [ee7db45c75] (rid 104091) by msofer on 2008-08-31 21:33:49:

    1. foundin changed to: "obsolete: 8.6a3"
    2. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      [foreach] has been committed by dkf on 2008-08-24
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  12. Ticket change [423fb90fe7] (rid 116338) by msofer on 2008-08-31 21:44:52:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      REQUEST FOR OPINION (mainly dkf and aku)
      
      As a first step towards NRE-enabling [eval], I tried bytecompiling eval'ed scripts (just subst 0 for TCL_EVAL_DIRECT in tclCmdAH.c). This raises 5 errors in the testsuite, need feedback as to how serious they are. I tend to think somewhere "not serious at all" and "fixable":
      
      (a) [info frame] reports the wrong(?) thing
      ==== info-23.3 eval'd info frame, literal FAILED
      ==== Contents of test case:
      
          eval {
      info frame 0
          }
      
      ---- Result was:
      type source line 793 file /home/CVS/fossil/tmp/tests/info.test cmd {info frame 0} proc ::tcltest::RunTest
      ---- Result should have been (exact matching):
      type eval line 2 cmd {info frame 0} proc ::tcltest::RunTest
      ==== info-23.3 FAILED
      
      (b) 4 of the [interp recursionlimit] tests fail: interp-29.3.(7,8,10,11). It is the same problem in each:
      ==== interp-29.3.7 recursion limit error reporting FAILED
      ==== Contents of test case:
      
          interp create slave
          after 0 {interp recursionlimit slave 5}
          set r1 [slave eval {
              catch { # nesting level 1
          eval {# 2
              eval {# 3
          eval {# 4
              eval {# 5
           update
           set x ok
      }
          }
      }
          }
      } msg
          }]
          set r2 [slave eval { set msg }]
          interp delete slave
          list $r1 $r2
      
      ---- Result was:
      0 ok
      ---- Result should have been (exact matching):
      1 {too many nested evaluations (infinite loop?)}
      ==== interp-29.3.7 FAILED
      
      The error is caused by the fact that TEBC does not check the limits at each command, only every so many instructions (currently 64). If the tests would have updated the limit before the last nested eval, or called a non-bbc'ed command instead of 'set x ok', or attempted to do anything meaningful in that eval'ed script, the limit would have triggered.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  13. Ticket change [8b4c55abd7] (rid 127541) by dkf on 2008-09-01 03:12:32:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Type (a) is not serious, except that we need to check for coverage of all the [info frame] cases after changing it. (When doing this, use "-match glob" so that you don't bind in the exact filename or line number into the match space.)
      
      Type (b) is more interesting; we need to ask ourselves just what are we testing and what is [interp recursionlimit] about preventing. Not that I have an answer to that. :-) Perhaps this question should be asked more widely.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  14. Ticket change [565871a3ba] (rid 94297) by dgp on 2008-09-01 10:32:08:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      IINM, issue a) is noted
      as Tcl Bug 1669392.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  15. Ticket change [dbd62dd01e] (rid 108029) by msofer on 2008-09-01 19:29:28:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      [eval] now nre-enable, it compiles its scripts. Fixed the interp.test problems, info-23.3 still broken. aku?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  16. Ticket change [d97a582f0d] (rid 107621) by andreas_kupries on 2008-10-03 06:20:53:

    1. icomment:
      info-23.3 has been fixed now.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  17. Ticket change [94db431afc] (rid 106071) by msofer on 2009-12-11 07:00:50:

    1. icomment:
      seems like we got them all?? Leaving open for later throrough review
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. priority changed to: "4"
    5. username: "msofer"
  18. Ticket change [73edd76404] (rid 105118) by msofer on 2011-01-31 19:37:16:

    1. closedate changed to: "2011-01-31T12:37:16"
    2. closer changed to: "msofer"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Out of Date"
    7. status changed to: "Closed"
    8. username: "msofer"