Tk Source Code

View Ticket
Login
Ticket UUID: 220530
Title: bad binding scripts can crash prowish
Type: Bug Version: final: 8.0.5
Submitter: welch Created on: 2000-10-31 23:45:42
Subsystem: 65. Generic Window Operations Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2001-04-04 11:57:22
Resolution: Fixed Closed By: dgp
    Closed on: 2001-04-04 04:57:22
Description:
OriginalBugID: 2120 Bug
Version: 8.0.5
SubmitDate: '1999-05-21'
LastModified: '1999-10-22'
Severity: CRIT
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: Windows 98
Machine: X86
FixedDate: '1999-10-22'
FixedInVersion: 8.2


Name: Berry Kercheval

ReproducibleScript:
If you run this:
       entry .e
       pack .e
       bind .e <KeyPress> {puts "%a"}
    then ProWish on Win 98 crashes hard.  The %a is probably a bogus thing
    for a 
    keypress event, but a hard crash is a rather more severe penalty than I
    expected from a simple typo (I had intended %A)

ObservedBehavior:
CRASH!!!

DesiredBehavior:
I expect some value, probably meaningless, to be substituted for %a, or
    even for an error to be thrown.



This works in 8.2 (sub'ing '??' in). 
-- 10/22/1999 hobbs