Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cc3a0668f4e3069e750395c8f721c93deacc6d33
Ticket: 1903325fffffffffffffffffffffffffffffffff
puts causes bytecode crash after dict operation
User & Date: melbardis on 2008-02-27 18:52:47
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    get following panic doing a puts after a dictionary operation.
    
    windows xp latest/ tcl8.5.1
    
    ------------------------------------------------------
    Bad stack top 4 at pc 82 in TclExecuteByteCode (min 0, max 3)
     executing puts "key=$key $args"
    TclExecuteByteCode execution failure: bad stack top
    
    
    -------------------------------------------------------------------
    note: the puts causes the crash
    
    proc xx {idict key args} {
        dict for {id subdict} $idict {
        }
        puts "key=$key $args"
    }
    
    
    set d [dict create]
    dict set d 0 {a 1 b test        c abc}
    
    xx $d b -dictionary 
    
    
    
  4. foundin changed to: "obsolete: 8.5.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "melbardis"
  10. subsystem changed to: "47. Bytecode Compiler"
  11. title changed to: "puts causes bytecode crash after dict operation"
  12. type changed to: "Bug"