Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-21
03:24 • Ticket [218682ffff] "expr ]" causes illegal operation status still... artifact: 45374fda72 user: dgp
2000-10-26
08:27 • Closed ticket [218682ffff]. artifact: 51e4483b22 user: welch
01:04 • New ticket [218682ffff]. artifact: ac494a42dc user: nobody

"expr ]" causes illegal operation

Closed / Fixed218682ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:05
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
welch Closed ticket [218682ffff]. [History diff]2000-10-26 08:27:10
dgp Ticket [218682ffff]: 4 changes [History diff]2001-04-21 03:24:16
Log in (anonymous is fine) to add a comment.