Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4cc1c32350da62464b60394051d505ead83681c9
Ticket: 439843ffffffffffffffffffffffffffffffffff
crash when getting the return value of b
User & Date: msofer on 2001-07-10 19:28:12
Changes

  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"