After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572141 - X Error on startup
X Error on startup
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: general
2.25.x
Other All
: Normal critical
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
: 587296 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-02-17 12:50 UTC by Hew McLachlan
Modified: 2010-10-13 17:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
gdb output (20.33 KB, text/plain)
2009-06-23 09:21 UTC, Hendrik Lönngren
Details
gsd output (15.23 KB, text/plain)
2009-06-23 09:22 UTC, Hendrik Lönngren
Details
gdb output with more debug symbols (28.85 KB, text/plain)
2009-06-23 13:05 UTC, Hendrik Lönngren
Details
gdb output with all symbols (29.22 KB, text/plain)
2009-06-23 14:49 UTC, Hendrik Lönngren
Details

Description Hew McLachlan 2009-02-17 12:50:27 UTC
Steps to reproduce:
Users report getting the crash notification on login.

Stack trace:
.

Thread 1 (process 20265)

  • #0 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #1 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #2 gdk_x_error
    at /build/buildd/gtk+2.0-2.13.5/gdk/x11/gdkmain-x11.c line 641
  • #3 xkl_process_error
    at xklavier_evt.c line 513
  • #4 _XError
    at ../../src/XlibInt.c line 2912
  • #5 _XReply
    at ../../src/xcb_io.c line 419
  • #6 XGetWindowProperty
    at ../../src/GetProp.c line 64
  • #7 xkl_engine_get_window_title
    at xklavier_util.c line 53
  • #8 xkl_get_debug_window_title
    at xklavier_util.c line 122
  • #9 xkl_engine_process_create_window_evt
    at xklavier_evt.c line 446
  • #10 xkl_engine_filter_events
    at xklavier_evt.c line 52
  • #11 ??
    from /usr/lib/gnome-settings-daemon-2.0/libkeyboard.so
  • #12 gdk_event_translate
    at /build/buildd/gtk+2.0-2.13.5/gdk/x11/gdkevents-x11.c line 349
  • #13 _gdk_events_queue
    at /build/buildd/gtk+2.0-2.13.5/gdk/x11/gdkevents-x11.c line 2299
  • #14 gdk_event_dispatch
    at /build/buildd/gtk+2.0-2.13.5/gdk/x11/gdkevents-x11.c line 2359
  • #15 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #16 ??
    from /usr/lib/libglib-2.0.so.0
  • #17 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #18 IA__gtk_main
    at /build/buildd/gtk+2.0-2.13.5/gtk/gtkmain.c line 1172
  • #19 main

Other information:
From https://bugs.launchpad.net/bugs/321041

First reported with gnome-settings-daemon 2.25.3-0ubuntu1
Comment 1 Jens Granseuer 2009-02-18 18:45:00 UTC
Quite probably a dupe of bug 546767 (which may not be a duplicate after all), but hard to tell. Stacktraces for XErrors that have been created without the --sync parameter to the crashing application are pretty much useless, unfortunately.

You need to get one of the users to run gdb --args .../g-s-d --sync
then break in gdk_x_error, and post the result of a "bt full". The output of --debug might be helpful, too.
Comment 2 Hew McLachlan 2009-05-20 14:17:55 UTC
There have been no reports of this bug since 2.26, it looks like the problem has disappeared. The downstream report has been closed.
Comment 3 Jens Granseuer 2009-05-20 15:31:54 UTC
Thanks for the heads-up.
Comment 4 Hendrik Lönngren 2009-06-23 09:21:24 UTC
Created attachment 137233 [details]
gdb output
Comment 5 Hendrik Lönngren 2009-06-23 09:22:03 UTC
Created attachment 137234 [details]
gsd output
Comment 6 Hendrik Lönngren 2009-06-23 09:23:57 UTC
Please reopen. It still happens in 2.26.1 (Ubuntu jaunty). I have attached a sync’ed backtrace and --debug output.

Upstream report is at https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/390875.
Comment 7 Hendrik Lönngren 2009-06-23 13:05:46 UTC
Created attachment 137246 [details]
gdb output with more debug symbols
Comment 8 Jens Granseuer 2009-06-23 13:14:57 UTC
That trace is still missing symbols from gsd itself. You also need to run gsd with --sync to get a meaningful trace.
Comment 9 Hendrik Lönngren 2009-06-23 14:49:14 UTC
Created attachment 137253 [details]
gdb output with all symbols
Comment 10 Hendrik Lönngren 2009-06-23 14:51:30 UTC
gsd is being started like this

/usr/lib/gnome-settings-daemon/gnome-settings-daemon --no-daemon --sync --debug
Comment 11 Jens Granseuer 2009-06-24 19:27:00 UTC
Hm. What version of libxklavier is that?
Comment 12 Hendrik Lönngren 2009-06-24 20:18:39 UTC
It’s libxklavier12 version 3.9-0ubuntu1.
Comment 13 Jens Granseuer 2009-06-24 20:25:43 UTC
Sergey? Any ideas? Looks like xklavier to me.
Comment 14 Chris Coulson 2009-08-28 16:11:33 UTC
Jens - you might want to take a look at https://bugs.freedesktop.org/show_bug.cgi?id=23562, which describes what I think is a bug in Xorg (or a bug in the xlib documentation), which triggers the crash here.
Comment 15 Jens Granseuer 2009-08-28 16:23:19 UTC
Chris, even if that's the case I'd still argue that there's a problem in gsd, too. It shouldn't reference destroyed windows.
Comment 16 Chris Coulson 2009-08-28 16:28:44 UTC
Jens - I agree, but I think the problem is in libxklavier and not gsd
Comment 17 Jens Granseuer 2009-08-28 18:05:05 UTC
Well, that I agree with. ;-)

Calling Sergey...
Comment 18 Sergey V. Udaltsov 2009-08-28 21:21:02 UTC
We are discussing this on IRC
Comment 19 Jens Granseuer 2009-09-05 09:17:39 UTC
*** Bug 587296 has been marked as a duplicate of this bug. ***
Comment 20 Bastien Nocera 2010-09-23 16:44:45 UTC
(In reply to comment #18)
> We are discussing this on IRC

And what came out of it?
Comment 21 Bastien Nocera 2010-10-13 17:21:34 UTC
Seems that the bug was ultimately solved, or was a problem in libxklavier.