GNOME Bugzilla – Bug 757668
gnome-shell crashes on any operation requiring password dialog
Last modified: 2015-11-10 10:58:16 UTC
Recently, gnome-shell has been crashing if one performs any operation needing a password such as mounting a ntfs partition. The password dialog will open and you can type in a password, and although an attempt made will work (will mount the partition) it will follow immediately with gnome-shell crashing. Also, if you cancel the dialog regardless if you enter a password, gnome-shell will immediately crash.
Created attachment 314981 [details] [review] shell: Fix crash in polkit agent The polkit agent does not take ownership of the request's cancellable, so it may no longer be valid after the request finished and we need to disconnect it before that. Before the GTask port in 8b4249ef2, it was safe to do that when freeing the request data because requests completed in an idle, but now we need to do it before returning the task result.
Review of attachment 314981 [details] [review]: OK.
*** Bug 757866 has been marked as a duplicate of this bug. ***
Attachment 314981 [details] pushed as c634718 - shell: Fix crash in polkit agent