Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a7f88f83ed1d8d93ae760b951d0320ba320ef59f
Ticket: 1416286fffffffffffffffffffffffffffffffff
Fatal Error in Wish with string range
User & Date: ctasada on 2006-01-27 11:39:05
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I'm using Tcl 8.5 Beta 4 from ActiveState. And seems to
    be a really strange problem. 
    
    Here is the script to reproduce the bug:
    
    (bin) 1 % set value Name
    Name
    (bin) 2 % set value [string range $value 0 1]
    Na
    (bin) 3 % if {$value == ""} {puts "CRASH"}
    
    Then shows: 
    Fatal Error in Wish
    in TclParseNumber: bad acceptState, can't happen.
    
    I've solved the problem using
    
    if {[string compare $value ""]} {puts "CRASH"}
    
    If you need some extra information don't hesitate to
    contact me.
    
    Carlos Tasada.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "ctasada"
  9. subsystem changed to: "None"
  10. title changed to: "Fatal Error in Wish with string range"
  11. type changed to: "Bug"