|
2006-01-27
| ||
| 19:09 | • Ticket [1416286fff] Fatal Error in Wish with string range status still Close... artifact: e864ff536d user: msofer | |
| 19:09 | • Closed ticket [1416286fff]. artifact: 1a6d768c21 user: msofer | |
| 11:39 | • New ticket [1416286fff]. artifact: a7f88f83ed user: ctasada | |
Fatal Error in Wish with string range
Closed / Duplicate1416286fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-01-27 11:39:05
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.
msofer Closed ticket [1416286fff].
[History diff]2006-01-27 19:09:51
msoferplain2006-01-27 19:09:52
Logged In: YES user_id=148712 This is a duplicate of [Bug 1325833]; it has been fixed in HEAD and should be ok in ActiveState's next release.
Log in (anonymous is fine) to add a comment.