Bug 1752547

Summary: gnome-shell crashes in tcl/tk saveAs dialog when the user clicks cancel
Product: Red Hat Enterprise Linux 7 Reporter: Kent Perrier <kperrier>
Component: gnome-shellAssignee: Jonas Ã…dahl <jadahl>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.7CC: jadahl, jkoten, mboisver
Target Milestone: rc   
Target Release: 7.8   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-shell-3.28.3-19.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 19:39:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kent Perrier 2019-09-16 15:21:31 UTC
Description of problem:

gnome-shell crashes frequently when Tcl/Tk displays the saveAs dialog and the user presses Cancel

Version-Release number of selected component (if applicable):


How reproducible:

Run the following script:
#!/usr/bin/tclsh

package require Tk

wm withdraw .

proc do_save_as { } {
	set f [tk_getSaveFile]
}

toplevel .test

pack [button .test.s2 -text "SAVE" -command do_save_as] -side top

Press the save button and select an existing file. It will ask if you want to overwrite, say No, then press Cancel. You may have to do this a dozen times, eventually gnome-shell will crash.

Steps to Reproduce:
1. See above
2.
3.

Actual results:

gnome-shell crashes

Expected results:

gnome-shell continues to operate normally.

Additional info:

Comment 9 Michael Boisvert 2019-11-20 17:14:16 UTC
I was able to clearly reproduce the crash using the reproducer (thanks!) on gnome-shell-3.28.3-16.el7 and after upgrading to gnome-shell-3.28.3-21.el7, I was unable to reproduce the crash.

Comment 13 errata-xmlrpc 2020-03-31 19:39:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1021