Tk Source Code

View Ticket
Login
Ticket UUID: 219904
Title: crashes when top level popup windows are destroyed in a large TCL/TK/Tix program
Type: Bug Version: obsolete: 8.0.3
Submitter: welch Created on: 2000-10-31 18:27:48
Subsystem: 67. Unix Window Operations Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2001-03-23 02:53:25
Resolution: Duplicate Closed By: dgp
    Closed on: 2001-03-22 19:53:25
Description:
OriginalBugID: 720 Bug
Version: 8.0.3
SubmitDate: '1998-10-13'
LastModified: '1999-08-14'
Severity: CRIT
Status: Closed
Submitter: admin
ChangedBy: hobbs
RelatedBugIDs: 716
OS: All
OSVersion: NA
Machine: NA
FixedInVersion: NA
ClosedDate: '1999-08-14'


ReproducibleScript:  This is the same problem I've reported before at http://www.scriptics.com/patches/tk8.0p2/tkUnixWm.c.txt

I haven't been able to recreate the problem with small test programs yet.
I did notice that it took up to 3 times of destroying a given popup for the 
TCL/TK interpretter to crash during execution of a large (30k lines) program.

This problem has been reported numerous times by other developers on the Tix mailing list.
ObservedBehavior:  tixwish crashes with:

X Error of failed request:  BadWindow (invalid Window parameter)
                                    Major opcode of failed request:  40 (X_TranslateCoords)
                                    Resource id in failed request:  0x1400246
                                    Serial number of failed request:  15956
                                    Current serial number in output stream:  15956

DesiredBehavior:  Popup gets destroyed without any catastrophic side effects.

CustomShell:  The patch is located at http://www.scriptics.com/patches/tk8.0p2/tkUnixWm.c.txt