Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cc3bc4b76e35bb0190317d3e17972ce3a3e7e227
Ticket: 406709ffffffffffffffffffffffffffffffffff
Bytecode error -TclExecuteByteCode error
User & Date: msofer on 2001-03-09 18:33:47
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    I now see this as three different bugs:
    (a) loop execptions can leave extra items in the stack
    (b) the engine panics when it sees extra items in the stack
    - an error would be enough in this case, a panic is in order
    when there are *missing* items. Th epoint is that the
    presently executing bytecode is not OK, but there is no
    evidence that it corrupted any data that doesn't belong to
    it in the first place ...
    (c) W98 hangs on a tcl panic instead of exiting cleanly
    
    (a) is a tough cookie, it requires some changes in the logic
    of the engine, maybe even in the compiler. Not to be fixed
    in a hurry ...
    
    (b) is very easy to fix; patch follows later today
    
    (c) I do not know anything about this one ...
    
    I think that by fixing (b) we remove the urgency of the
    problem, so that (a) can be given the careful thought it
    deserves 
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"