Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 79bbaa9b5618fc68299b27671408586db2a11dc3
Ticket: 772318ffffffffffffffffffffffffffffffffff
unexpected stack trace in "unknown"
User & Date: vincentdarley on 2003-07-16 13:49:52
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This script illustrates the problem:
    
    set auto_index(foo) [list proc foo {args} { return -code 
    1 "cancel" }]
    set blah [string repeat "\u2022abcdefg " 20]
    foo $blah
    
    The problem arises because unknown makes a string 
    comparison using 'string length', whereas the core code, 
    it seems uses the first 160 bytes rather than chars of 
    the string.
    
    If we remove the '\u2022' unicode sequence from 'blah', 
    then all is ok.
    
    
  4. foundin changed to: "obsolete: 8.5a0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "vincentdarley"
  9. subsystem changed to: "38. Init - Library - Autoload"
  10. title changed to:
    tip#90 Tcl bug: unexpected stack trace in "unknown"
    
  11. type changed to: "Bug"