gnome-shell freezes for 25s when logout/shutdown (if USB camera is plugged in)

Bug #1725163 reported by Dario
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Confirmed
Medium
Unassigned
gnome-shell (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Problem: When I click on logout/shutdown option in gnome-shell topbar menu DE freezes for 25sec before providing correct overlay (logout/shutdown window)

Gnome: 3.26
Ubuntu: 17.10
gnome-settings-daemon:
  Installed: 3.26.1-0ubuntu5
  Candidate: 3.26.1-0ubuntu5

part of log:
Oct 20 09:35:42 MegaHulk systemd[2225]: Started GNOME Terminal Server.
Oct 20 09:35:59 MegaHulk at-spi2-registr[11456]: Failed to send session response Timeout was reached
Oct 20 09:36:23 MegaHulk gsd-power[11521]: Failed to acquire idle monitor proxy: Timeout was reached
Oct 20 09:36:23 MegaHulk gsd-power[11521]: Failed to acquire idle monitor proxy: Timeout was reached
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client21' fail
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client21' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client18' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client18' fail
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client17' fail
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client16' fail
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client17' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client15' fail
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client14' fail
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client13' fail
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client12' fail
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client11' fail
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client10' fail
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client24' fail
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client16' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client22' fail
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client9' faile
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client8' faile
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client7' faile
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client6' faile
Oct 20 09:36:23 MegaHulk gnome-session[11389]: gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client3' faile
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client15' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client14' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client13' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client12' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client11' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client10' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client24' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client22' failed to reply before tim
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client9' failed to reply before time
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client8' failed to reply before time
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client7' failed to reply before time
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client6' failed to reply before time
Oct 20 09:36:23 MegaHulk gnome-session-binary[11389]: WARNING: Client '/org/gnome/SessionManager/Client3' failed to reply before time
Oct 20 09:36:23 MegaHulk gnome-shell[11420]: Ignored exception from dbus method: Gio.IOErrorEnum: Timeout was reached
Oct 20 09:36:23 MegaHulk gnome-shell[11420]: gnome-session gave us a dead inhibitor: /org/gnome/SessionManager/Inhibitor1
Oct 20 09:36:26 MegaHulk gnome-session-binary[11389]: Entering running state

Revision history for this message
Will Cooke (willcooke) wrote :
Revision history for this message
Dario (krashekspress) wrote :

Tried unplugging camera, problems are gone. Cheese is starting instantly (with camera plugged in 33 seconds), shutdown/logout are instant (with camera 25- 30 sec, didn't measure exact time).
Camera make and model: Logitech c525

lsusb:
Bus 003 Device 009: ID 046d:0826 Logitech, Inc. HD Webcam C525
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 239 Miscellaneous Device
  bDeviceSubClass 2 ?
  bDeviceProtocol 1 Interface Association
  bMaxPacketSize0 64
  idVendor 0x046d Logitech, Inc.
  idProduct 0x0826 HD Webcam C525
  bcdDevice 0.10
  iManufacturer 0
  iProduct 2 HD Webcam C525
  iSerial 1 AF850BA0
  bNumConfigurations 1

Revision history for this message
Will Cooke (willcooke) wrote :

More strangeness. Open the users panel in control center with a webcam takes > 20 seconds. If I rmmod uvcvideo then it opens immediately.

summary: - gnome-shell freezes when logout/shutdown
+ gnome-shell freezes for 25s when logout/shutdown
Changed in gnome-shell (Ubuntu):
importance: Undecided → Medium
Changed in gnome-settings-daemon (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Will Cooke (willcooke) wrote : Automatically added comment
tags: added: desktop-trello-import
tags: removed: desktop-trello-import
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: gnome-shell freezes for 25s when logout/shutdown

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Changed in gnome-shell (Ubuntu):
status: New → Confirmed
summary: - gnome-shell freezes for 25s when logout/shutdown
+ gnome-shell freezes for 25s when logout/shutdown (if USB camera is
+ plugged in)
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.