x220 occasionally freezes when waking up from sleep

Bug #998108 reported by Aatish
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

Hi, This is my first time reporting a bug here.

I'm running Ubuntu 12.04 LTS on my Lenovo X220. When I put the computer to sleep by closing the lid and wake it up some hours later, it frequently hangs. In all cases Ctrl+Alt+F1 is still accessible, and I can usually restart the xserver (sudo service lightdm restart). However, recently I was not able to log in to the X server as the login screen was also frozen.

Frequency of occurrence is about once per day, and typically occurs when the lid has been closed for a few hours.

Here are the contents of my most recent xsession-errors:

xsession-errors:
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
gnome-session[2334]: WARNING: Failed to start app: Unable to start application: Failed to execute child process "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1" (No such file or directory)
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing vpswitch options...done
Initializing snap options...done
Initializing mousepoll options...done

(gmailwatcher:2422): GLib-GIO-CRITICAL **: This application can not open files.
Initializing resize options...done
Initializing place options...done
New PolkitAgentListener 0x15a96c0
Adding new listener PolkitQt1::Agent::Listener(0x7fff95cd8d30) for 0x15a96c0
Initializing move options...done
Initializing wall options...done
Initializing grid options...done
** Message: applet now removed from the notification area
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
I/O warning : failed to load external entity "/home/aatish/.compiz/session/109b4a71e09df043913366984512418700000023340037"
Initializing session options...done
Initializing gnomecompat options...done
Initializing animation options...done
Initializing fade options...done
Initializing unitymtgrabhandles options...done
Initializing workarounds options...done
** Message: using fallback from indicator to GtkStatusIcon
Initializing scale options...done
compiz (expo) - Warn: failed to bind image to texture
Initializing expo options...done
Initializing ezoom options...done

(compiz:2401): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/gmail_imap.py", line 61, in run
    proxy_info=get_proxy_info())
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 1872, in __init__
    IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout, proxy_info)
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 308, in __init__
    self.open(host, port)
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 1884, in open
    self.sock = self.open_socket()
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 400, in open_socket
    for res in socket.getaddrinfo(self.host, self.port, socket.AF_UNSPEC, socket.SOCK_STREAM):
gaierror: [Errno -2] Name or service not known

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed

(gmailwatcher:2422): Gtk-CRITICAL **: gtk_icon_set_render_icon_pixbuf: assertion `icon_set != NULL' failed
Initializing unityshell options...done
Setting Update "main_menu_key"
Setting Update "run_key"
Setting Update "icon_size"
Setting Update "edge_responsiveness"
** Message: moving back from GtkStatusIcon to indicator
compiz (decor) - Warn: failed to bind pixmap to texture

** (zeitgeist-datahub:2941): WARNING **: zeitgeist-datahub.vala:227: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!

** (gnome-screensaver:2942): WARNING **: screensaver already running in this session
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

** (nautilus:2408): WARNING **: Error calling current_status: Method "current_status" with signature "" on interface "com.ubuntuone.SyncDaemon.Status" doesn't exist

** (nautilus:2408): CRITICAL **: syncdaemon_status_info_get_online: assertion `SYNCDAEMON_IS_STATUS_INFO (sinfo)' failed

(bluetooth-applet:2407): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(bluetooth-applet:2407): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(gnome-settings-daemon:2385): color-plugin-WARNING **: failed to reset xrandr-LVDS1 gamma tables: gamma size is zero

(gnome-settings-daemon:2385): color-plugin-WARNING **: failed to reset xrandr-LVDS1 gamma tables: gamma size is zero

(gnome-settings-daemon:2385): color-plugin-WARNING **: failed to reset xrandr-LVDS1 gamma tables: gamma size is zero

(gnome-settings-daemon:2385): color-plugin-WARNING **: failed to reset xrandr-LVDS1 gamma tables: gamma size is zero
failed to create drawable
compiz (core) - Warn: glXCreatePixmap failed
compiz (core) - Warn: Couldn't bind background pixmap 0x2a00001 to texture

(gnome-settings-daemon:2385): GnomeDesktop-CRITICAL **: gnome_rr_output_info_get_geometry: assertion `GNOME_IS_RR_OUTPUT_INFO (self)' failed

(gnome-settings-daemon:2385): GnomeDesktop-CRITICAL **: gnome_rr_output_info_get_geometry: assertion `GNOME_IS_RR_OUTPUT_INFO (self)' failed
failed to create drawable
compiz (core) - Warn: glXCreatePixmap failed
compiz (core) - Warn: Couldn't bind background pixmap 0x4000001 to texture
failed to create drawable
compiz (core) - Warn: glXCreatePixmap failed
compiz (core) - Warn: Couldn't bind background pixmap 0x4000001 to texture
failed to create drawable
compiz (core) - Warn: glXCreatePixmap failed
compiz (core) - Warn: Couldn't bind background pixmap 0x2a00001 to texture
failed to create drawable
compiz (core) - Warn: glXCreatePixmap failed
compiz (core) - Warn: Couldn't bind background pixmap 0x2a00001 to texture

(gnome-settings-daemon:2385): color-plugin-WARNING **: failed to reset xrandr-LVDS1 gamma tables: gamma size is zero

(gnome-settings-daemon:2385): color-plugin-WARNING **: failed to reset xrandr-LVDS1 gamma tables: gamma size is zero

(gnome-settings-daemon:2385): color-plugin-WARNING **: failed to reset xrandr-LVDS1 gamma tables: gamma size is zero

(gnome-settings-daemon:2385): color-plugin-WARNING **: failed to reset xrandr-LVDS1 gamma tables: gamma size is zero
failed to create drawable
compiz (core) - Warn: glXCreatePixmap failed
compiz (core) - Warn: Couldn't bind background pixmap 0x4400001 to texture
failed to create drawable
compiz (core) - Warn: glXCreatePixmap failed
compiz (core) - Warn: Couldn't bind background pixmap 0x4400001 to texture

(bluetooth-applet:2407): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(bluetooth-applet:2407): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(gnome-settings-daemon:2385): GnomeDesktop-CRITICAL **: gnome_rr_output_info_get_geometry: assertion `GNOME_IS_RR_OUTPUT_INFO (self)' failed

(gnome-settings-daemon:2385): GnomeDesktop-CRITICAL **: gnome_rr_output_info_get_geometry: assertion `GNOME_IS_RR_OUTPUT_INFO (self)' failed
failed to create drawable
compiz (core) - Warn: glXCreatePixmap failed
compiz (core) - Warn: Couldn't bind background pixmap 0x4400001 to texture

(bluetooth-applet:2407): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(bluetooth-applet:2407): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
Agent unregistration failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. 'dbus-glib-error-quark'
Agent registration failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
  49:16.14 imap.gmail.com reader last 20 log messages:
  49:16.14 imap.gmail.com handler last 20 log messages:
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/gmail_imap.py", line 71, in run
    self.wait_for_server()
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/gmail_imap.py", line 213, in wait_for_server
    self.handle_new_mail()
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/gmail_imap.py", line 151, in handle_new_mail
    self.imap.select(codecs.encode(folder, 'imap4-utf-7'))
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 929, in select
    rqb = self._command(name, mailbox)
  File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 1201, in _command
    raise self.abort('connection closed')
abort: connection closed

Destroying listener
Removing listener PolkitQt1::Agent::Listener(0x7fff95cd8d30)

(gnome-settings-daemon:2385): print-notifications-plugin-CRITICAL **: gsd_print_notifications_plugin_finalize: assertion `plugin->priv != NULL' failed

(gnome-settings-daemon:2385): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(gnome-settings-daemon:2385): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(nm-applet:2415): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

(bluetooth-applet:2407): Gdk-WARNING **: bluetooth-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

indicator-weather: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

(gmailwatcher:2422): Gdk-WARNING **: gmailwatcher: Fatal IO error 104 (Connection reset by peer) on X server :0.

dropbox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
gtk-window-decorator: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

(gnome-fallback-mount-helper:2417): Gdk-WARNING **: gnome-fallback-mount-helper: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

(mousetweaks:2510): Gdk-WARNING **: mousetweaks: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

xcb_connection_has_error() returned true
thunderbird-bin: Fatal IO error 0 (Success) on X server :0.

(update-notifier:4607): Gdk-WARNING **: update-notifier: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

(telepathy-indicator:2907): Gdk-WARNING **: telepathy-indicator: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

(gdu-notification-daemon:2883): Gdk-WARNING **: gdu-notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

(nautilus:2408): Gdk-WARNING **: nautilus: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

(deja-dup-monitor:4738): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.32 of volume monitor org.gtk.Private.GduVolumeMonitor disconnected from the bus; removing drives/volumes/mounts

(deja-dup-monitor:4738): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.34 of volume monitor org.gtk.Private.GPhoto2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts

(deja-dup-monitor:4738): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.35 of volume monitor org.gtk.Private.AfcVolumeMonitor disconnected from the bus; removing drives/volumes/mounts

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/998108/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Aatish (aatish)
affects: ubuntu → pm-utils (Ubuntu)
Aatish (aatish)
description: updated
Revision history for this message
Aatish (aatish) wrote :

I updated pm-utils by upgrading apt-get packages, and have had no freezes for 3 days now. I'd consider this issue closed.

Revision history for this message
Aatish (aatish) wrote :

The freezes have begun to occur again. I am not able to close windows or open a terminal. I switched to command line using ctrl+alt+f1 and attempted to restart lightdm, but my system remained frozen.

I now believe it has to do with bluetooth as my system has been crash free for the last week in which bluetooth is deactivated. In particular, this line in .xsession-errors in worrying:

(bluetooth-applet:2740): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

I'm attaching my most recent xsession errors for the point where the freeze occurred. Any help would be much appreciated.

affects: pm-utils (Ubuntu) → ubuntu
Revision history for this message
Alex Thompson (alexofdoom) wrote :

I'm also seeing this issue, however I haven't noticed any error messages about bluetooth in my .xsession-errors log (which is attached). For reference, I'm using a Lenovo X301

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Aatish (aatish) wrote :

I agree that it isn't bluetooth, as I have kept it deactivated and am still facing about one crash a day. So far I haven't found a way to reliably reproduce the crash, but it occurs on about 5-10% of system resumes from suspend mode. I will try to update my system BIOS to the latest version to see if that improves things.

Revision history for this message
jumpjoe (jumpjoe) wrote :

I have the same problem, and I have a feeling it might be related to the HD3000 driver. Did updating the BIOS improve things?

Revision history for this message
William (wgrisaitis) wrote :

I'm also affected by this bug. The only solution is restarting lightdm, but it's a temporary fix and all previously-running programs (e.g. chrome, eclipse) are exited.

Thanks for everyone's time with fixing this.

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

Other bug subscribers

Remote bug watches

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