Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ac494a42dc85cdc61ed99078646233e0a0fdd4f0
Ticket: 218682ffffffffffffffffffffffffffffffffff
"expr ]" causes illegal operation
User & Date: nobody on 2000-10-26 01:04:05
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1728 Bug
    Version: 8.0.5
    SubmitDate: '1999-04-05'
    LastModified: '1999-08-07'
    Severity: SER
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: Windows 98
    Machine: X86
    FixedDate: '1999-08-07'
    FixedInVersion: 8.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    Tom Wood
    
    Extensions:
    none
    
    CustomShell:
    none
    
    Comments:
    I believe this problem exists on the UNIX version as well, and goes back
        to at least Tcl 8.0p2.
    
    ReproducibleScript:
    Supply the following command to a tclsh:
        
            expr ]
    
    ObservedBehavior:
    TCLSH80 caused an invalid page fault in
        module TCL80.DLL at 015f:10004ee7.
        Registers:
        EAX=fffffffe CS=015f EIP=10004ee7 EFLGS=00010246
        EBX=1004f078 SS=0167 ESP=0077ede4 EBP=ef440aef
        ECX=0077f580 DS=0167 ESI=00000000 FS=78d7
        On Windows 98, I see an "illegal operation" notice with the following
        details:
        
        EDX=004129f8 ES=0167 EDI=00418080 GS=0000
        Bytes at CS:EIP:
        8b 45 0c 57 8b bc 24 84 07 00 00 3b c3 75 49 8b 
        Stack dump:
        ef440aef 0077f768 00440094 ffffffff 00000001 0077edb7 00000050 0077ee38
        78022bc8 0077ee18 1004d09c 0077ee4c 00000000 0077ee75 7ffffffd 0077ee74
    
    DesiredBehavior:
    Some sort of syntax error short of crash :-)
    
    
    
    This produces the proper syntax error in 8.1. 
    -- 08/07/1999 hobbs
    
  4. foundin changed to: "final: 8.0.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: ""expr ]" causes illegal operation"
  11. type changed to: "Bug"