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

Bug #388250 reported by Matt Walker
92
This bug affects 18 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Incomplete
Medium
Chris Coulson
Karmic
Incomplete
Medium
Chris Coulson

Bug Description

Binary package hint: gnome-settings-daemon

this happened while trying to change the screen resolution

ProblemType: Crash
Architecture: i386
Date: Tue Jun 16 20:34:04 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
NonfreeKernelModules: nvidia
Package: gnome-settings-daemon 2.27.3-0ubuntu1
ProcCmdline: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-9.10-generic
Signal: 5
SourcePackage: gnome-settings-daemon
StacktraceTop:
 gdk_x_error (display=0x9c7e320, error=0xbf940eac)
 xkl_process_error () from /usr/lib/libxklavier.so.12
 _XError (dpy=0x9c7e320, rep=0xa097060)
 process_responses (dpy=0x9c7e320,
 _XReply (dpy=0x9c7e320, rep=0xbf941020, extra=0, discard=0)
Title: gnome-settings-daemon crashed with signal 5 in gdk_x_error()
Uname: Linux 2.6.30-9-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Matt Walker (matthaeus123) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:gdk_x_error (display=0x9c7e320, error=0xbf940eac)
xkl_process_error (dpy=0x9c7e320, evt=0xbf940eac)
_XError (dpy=0x9c7e320, rep=0xa097060)
process_responses (dpy=0x9c7e320,
_XReply (dpy=0x9c7e320, rep=0xbf941020, extra=0, discard=0)

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
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what videocard and driver do you use?

visibility: private → public
Changed in gnome-settings-daemon (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Incomplete
Revision history for this message
Andres Mujica (andres.mujica) wrote :

Sebastien, the retrace service marked my bug as a dupe from this.

I can reproduce the crash connecting an external monitor and changing views with FN + CRT/LCD.

This causes the g-s-d crash.

I believe this bug is really a dup from bug #390875 linked at upstream http://bugzilla.gnome.org/show_bug.cgi?id=572141

It seems the root cause is within libxklavier

Revision history for this message
Andres Mujica (andres.mujica) wrote :

In my case i'm using an Intel 965 card. One thing that brings my attention is that with Jaunty the external monitor is recognized by it's manufacturer's name and model, however with Karmic this is not the case.

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.

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

I don't think this one looks related to bug #390875 really. That bug is a combined libxklavier/Xorg issue which we fully understand now (and the xorg issue is fixed in Karmic now). This one is more likely a xrandr issue.

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

This is getting quite a few duplicates now. Could someone experiencing this bug please follow my instructions above to get a backtrace with the --sync option. Without it, we won't know for sure which call is generating the error, and any effort to fix it will therefore just be guess work and speculation. I've got no way to trigger the crash here.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Chris: see bug 388250, which I just reported with Apport, after having started gnome-settings-daemon with --sync. Hope this actually helps.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Oops - I meant: see bug 435432 for traces about that. Wrong copy/paste...

Changed in gnome-settings-daemon (Ubuntu):
milestone: none → ubuntu-9.10
Changed in gnome-settings-daemon (Ubuntu Karmic):
status: Incomplete → New
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Unfortunately, this bug report is still missing a useful backtrace. From looking at the current trace, the 'minor_code = 7' is a clue that the call which triggers the error was XRRSetScreenSize, which doesn't match the call in the existing backtrace (XRRSetCrtcConfig). This means that the error actually occurred some time in the past, so the backtrace here isn't a lot of use.

Could someone who can recreate this issue please try to obtain a backtrace following my instructions in comment #7?

In addition to that, it would also be useful to have a look at what happens at the protocol level, by capturing some information using xtrace. In order to use xtrace, you first need to add the following line to the "[security]" section of /etc/gdm/custom.conf (creating one if it doesn't already exist):

"DisallowTCP=false"

Once you have done this, please log out and back in again (or better still, restart your computer to make sure you get a new X server instance with the required configuration).

Once you have logged back in, please do:

killall gnome-settings-daemon
xtrace -D:9 -d:0 -k 2>&1 | tee ~/xtrace.log #Replacing :0 with the number of your X display
DISPLAY=:9.0 gnome-settings-daemon

Then try to recreate the issue and attach the resulting log file to this bug report once gnome-settings-daemon has crashed.

Thanks

Changed in gnome-settings-daemon (Ubuntu Karmic):
status: New → Incomplete
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

One more thing, please revert any changes made to your /etc/gdm/custom.conf after following my instructions. "DisallowTCP=false" reduces security, and you shouldn't run with it normally.

Revision history for this message
Steve Langasek (vorlon) wrote :

I believe bug #447431 is the same bug; I've provided a synchronous backtrace there. Chris, do you also need the xtrace output still?

Martin Pitt (pitti)
Changed in gnome-settings-daemon (Ubuntu Karmic):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → Chris Coulson (chrisccoulson)
Revision history for this message
Martin Pitt (pitti) wrote :

This is SRUable and there is no fix available now, so removing RC blocker milestone.

Changed in gnome-settings-daemon (Ubuntu Karmic):
milestone: ubuntu-9.10 → none
Revision history for this message
Steve Langasek (vorlon) wrote :

This appears to be the same bug as bug #447431; marking that bug as the master, since that's where all the debugging information is going.

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.