Skip to content
Tcl Source Code History Of Ticket 439843ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 439843ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 439843ffffffffffffffffffffffffffffffffff

  1. Ticket change [b28b6bce1b] (rid 98351) by jstrot on 2001-07-09 21:03:18:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Tcl Version: ActiveTcl v8.3.3
      
      OS: Windows 2000 Pro SP2
      
      Problem Behaviour:
      
      The following code causes a crash:
      
      namespace eval ::crashTcl {
        while {1} {
          set b [break]
        }
      }
      
      I know it doesn't make sense to take the return value 
      of break... This is the simplified version of one of 
      my scripts that calls a procedure (instead of break) 
      which could return a value or force a break (return -
      code break) It doesn't happen if the whole thing is 
      not with a namespace eval.
      
      this piece of code crashes with:
      
      TclExecuteByteCode: done instruction at pc 14: stack 
      top 0 != entry stack top -1 TclExecuteByteCode 
      execution failure: end stack top != start stack top
      
      Expected Behaviour:
      b should not be assigned any value
      break should work as expected, breaking out of the 
      while
      
    4. foundin initialized to: "obsolete: 8.3.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jstrot"
    9. subsystem initialized to: "None"
    10. title initialized to: "crash when getting the return value of b"
    11. type initialized to: "Bug"
  2. Ticket change [7f54f71b5d] (rid 97547) by dkf on 2001-07-10 15:42:29:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=79902
      
      I think this is a duplicate of a known problem...
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. subsystem changed to: "47. Bytecode Compiler"
    6. username: "dkf"
  3. Ticket change [4cc1c32350] (rid 126944) by msofer on 2001-07-10 19:28:12:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      This is indeed the same as [Bug 406709], which is already
      solved in current sources (Tcl8.4a3). 
      
      The fix didn't make it in time for 8.3.3. You can avoid the
      crash and obtain your desired behaviour by bypassing the
      bytecode engine via [eval]:
      
        namespace eval ::thisWillNotCrashTcl { 
            set cmd [list while {1} {set b [break]}]
            eval $cmd
        }
      
      'cmd' can also be safely be defined as a string instead of a
      list.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [946684d463] (rid 105973) by msofer on 2001-07-10 19:30:22:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      I'm leaving the bug open and assigning it to the 8.3.3
      release manager - should this be fixed in the 8.3.3 branch?
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  5. Ticket change [cf25cbd719] (rid 112919) by hobbs on 2001-08-07 06:17:21:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=72656
      
      Miguel, please apply to core-8-3-1-branch as well.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. username: "hobbs"
  6. Ticket change [1be06407df] (rid 123222) by msofer on 2001-08-07 22:50:26:

    1. closedate changed to: "2001-08-07T15:50:26"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      Patch #414470 applied to core-8-3-1-branch.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"