Tk Source Code

View Ticket
Login
2003-11-12
07:00 Closed ticket [824479ffff]: Another way to crash Tk plus 7 other changes artifact: 657f4473fa user: hobbs
2003-10-16
00:55 New ticket [824479ffff]. artifact: 43ae5bc781 user: jenglish

Ticket UUID: 824479
Title: Another way to crash Tk
Type: Bug Version: obsolete: 8.4.4
Submitter: jenglish Created on: 2003-10-16 00:55:39
Subsystem: 03. [*button] and [label] Assigned To: hobbs
Priority: 2 Severity:
Status: Closed Last Modified: 2003-11-12 07:00:29
Resolution: Fixed Closed By: hobbs
    Closed on: 2003-11-12 00:00:29
Description:
Here's another way to crash Tk:

trace variable OUCH r { kill }
proc kill {args} { destroy .b }
checkbutton .b
.b configure -variable OUCH

==> segmentation fault

Low priority, as this is an unlikely scenario.
User Comments: hobbs added on 2003-11-12 07:00:29:
Logged In: YES 
user_id=72656

fixed in 8.4.5 and 8.5a0 with a check against DELETED flag 
after configuration.  Just returns an empty error - could be 
improved.