gnome-settings-daemon crashed with signal 5 in gdk_x_error()

Bug #404924 reported by Broomer68
98
This bug affects 12 people
Affects Status Importance Assigned to Milestone
libxklavier (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gnome-settings-daemon

just happened, not touching gnome settings.
This bug also hapen when reboot system after upgrade.

ProblemType: Crash
Architecture: i386
Date: Sun Jul 26 18:17:17 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
Package: gnome-settings-daemon 2.27.4-0ubuntu1
ProcCmdline: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
ProcEnviron:
 LANGUAGE=en_GB.UTF-8
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-4.22-generic
Signal: 5
SourcePackage: gnome-settings-daemon
StacktraceTop:
 gdk_x_error (display=0xa0167b0, error=0xbfebebec)
 xkl_process_error () from /usr/lib/libxklavier.so.15
 _XError () from /usr/lib/libX11.so.6
 _XReply () from /usr/lib/libX11.so.6
 _XGetWindowAttributes () from /usr/lib/libX11.so.6
Tags: ubuntu-unr
Title: gnome-settings-daemon crashed with signal 5 in gdk_x_error()
Uname: Linux 2.6.31-4-generic i686
UserGroups: adm admin audio cdrom dip fax floppy fuse lpadmin netdev plugdev sambashare scanner tape vboxusers video

Related branches

Revision history for this message
Broomer68 (jbezemer) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:gdk_x_error (display=0xa0167b0, error=0xbfebebec)
xkl_process_error (dpy=0xa0167b0, evt=0xbfebebec)
_XError (dpy=0xa0167b0, rep=0xa189300)
_XReply (dpy=0xa0167b0, rep=0xbfebece8, extra=0, discard=1)
_XGetWindowAttributes (dpy=0xa0167b0, w=94371935,

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in gnome-settings-daemon (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. You will need to run gnome-settings-daemon with "--no-daemon --sync" in GDB. This will greatly help us in tracking down your problem.

Changed in gnome-settings-daemon (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Incomplete
description: updated
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Bug 435432 has a backtrace with --sync which confirms it is XGetWindowAttributes which generates this error.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Reassigning to libxklavier. The information shows that the protocol request code generating the BadDrawable error is GetGeometry, and that happens because the window has already disappeared from the server. libxklavier should handle this in the same way that it already handles BadWindow errors.

affects: gnome-settings-daemon (Ubuntu) → libxklavier (Ubuntu)
Changed in libxklavier (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → Chris Coulson (chrisccoulson)
status: Incomplete → In Progress
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

The attached patch should fix this issue in Karmic

Changed in libxklavier (Ubuntu):
assignee: Chris Coulson (chrisccoulson) → nobody
status: In Progress → Triaged
Changed in libxklavier (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libxklavier - 4.0-0ubuntu3

---------------
libxklavier (4.0-0ubuntu3) karmic; urgency=low

  * debian/patches/91_handle_baddrawable_errors.patch:
    - XGetWindowAttributes can generate a BadDrawable error if the
      window no longer exists. This case should be handled in the
      same way as BadWindow, and not crash gnome-settings-daemon
      (LP: #404924).

 -- Chris Coulson <email address hidden> Tue, 29 Sep 2009 23:43:49 +0100

Changed in libxklavier (Ubuntu):
status: Fix Committed → Fix Released
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.