Tk Source Code

View Ticket
Login
2001-03-24
04:05 Ticket [220742ffff] Core Dump When Exiting Wish After Listbox Cursor Change status still Closed with 3 other changes artifact: 98f3e2f574 user: dgp
2000-11-01
06:52 Closed ticket [220742ffff]. artifact: d2c2ace096 user: welch
2000-10-31
23:52 New ticket [220742ffff]. artifact: 69638f8548 user: welch

Ticket UUID: 220742
Title: Core Dump When Exiting Wish After Listbox Cursor Change
Type: Bug Version: obsolete: 8.3
Submitter: welch Created on: 2000-10-31 23:52:31
Subsystem: 09. [listbox] Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2001-03-24 04:05:44
Resolution: Fixed Closed By: dgp
    Closed on: 2001-03-23 21:05:44
Description:
OriginalBugID: 5760 Bug
Version: 8.3
SubmitDate: '2000-05-31'
LastModified: '2000-06-02'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Other
OSVersion: OpenBSD 2.6 i386
Machine: Pentium II 266MHz
FixedDate: '2000-06-02'
FixedInVersion: 8.3.1


Name:
George Peter Staplin

Comments:
A core dump does not occur if the listbox is packed into a frame and the
    cursor of the frame is changed.  A core dump also occurs if I use .l
    config -cursor watch instead of specifying it during creation.  So, I
    believe that something is wrong with the listbox.

ReproducibleScript:
$ wish8.3
% listbox .l -cursor watch
% pack .l

% exit

Memory fault (core dumped)

ObservedBehavior:
I have observed that when the listbox cursor is changed a core dump occurs when exiting wish.

DesiredBehavior:
I expect a core dump to not occur when exiting wish.



This is already fixed in 8.3.1.  The work-around is to unconfigure
the cursor before deleting. 
-- 06/02/2000 hobbs