gnome-ssh-askpass locks up gnome-shell and sshfs

Bug #1201740 reported by Carl-Johan Kjellander
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ssh-askpass (Ubuntu)
New
Undecided
Unassigned

Bug Description

I can with 100% reproducibility get gnome-shell to get into a "deadlocked" state where no further input is possible by using sshfs and in this case gmusicbrowser, but I think a lot of apps can trigger this behavior.

Steps to reproduce:
1. sshfs -o reconnect user@remoteserver:Music ~/remotemusic/
2. gmusicbrowser&
3. set library to ~/remotemusic/ and layout to Shimmer Desktop
4. scan library
5. reboot remoteserver
6. once remoteserver is up again Click on the Settings "Gear" icon

Expected results:
Gmusicbrowser opens a floating menu,
tries to access files on the remote mount,
needs to reconnect and then
gnome-ssh-askpass steals focus and lets you type in the ssh-passwd and gmusicbrowser is unfrozen.

Actual results:
Gmusicbrowser opens a floating menu,
tries to access files on remote mount,
freezes with floating menu open,
gnome-ssh-askpass opens dialog,
gnome-ssh-askpass opens an alert that it can't grab keyboard and something malicious is happening,
but gnome-shell's window-manager is keeping focus on the floating menu for gmusicbrowser which is
frozen so there is no way to get focus to the alert and no way to click ok or close it and the desktop
is in effect frozen. Mouse still works, but you can't do anything.

gnome-ssh-askpass should interact better with gnome-shell and make sure that it can get focus even
if a floating menu is open for a frozen app.

$ lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04

$ apt-cache policy ssh-askpass-gnome
ssh-askpass-gnome:
  Installed: 1:5.9p1-5ubuntu1.1
  Candidate: 1:5.9p1-5ubuntu1.1
  Version table:
 *** 1:5.9p1-5ubuntu1.1 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:5.9p1-5ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

$ apt-cache policy gnome-shell
gnome-shell:
  Installed: 3.4.1-0ubuntu2
  Candidate: 3.4.1-0ubuntu2
  Version table:
 *** 3.4.1-0ubuntu2 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

$ apt-cache policy gmusicbrowser
gmusicbrowser:
  Installed: 1.1.9-1
  Candidate: 1.1.9-1
  Version table:
 *** 1.1.9-1 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

Additional info: killing and restarting gnome-shell does not solve the deadlock.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.