#429422 gnome-screensaver: Screensaver blanks screen without ability to restore

Package:
libgnomekbd
Source:
libgnomekbd
Submitter:
Brian Sipos
Date:
2025-08-21 04:33:02 UTC
Severity:
important
Tags:
#429422#5
Date:
2007-06-17 23:01:17 UTC
From:
To:
When the screensaver is fading out, a mouse movement will cause the
screensaver to be disabled. Once the fade-out has occurred, a mouse
movement will promopt for a password to restore display.
If a mouse movement occurs at some time when the screen has completely
darkened from the fading for some reason the password prompt will never
display and it is impossible to restore the display without killing the
X server and logging-in again. This is a very severe problem and I have
experienced this issue several times now.
I can attempt to repeat the issue, but so far it has occurred at
inopportune times and is very annoying.

#429422#12
Date:
2007-06-25 12:35:28 UTC
From:
To:
Hi,

I have a similar problem. I but I don't even see the password dialog
during fade out.

Runnig /usr/lib/gnome-screensaver-dialogreveals a segmentation fault.

Backtrace below:
ived signal SIGSEGV, Segmentation fault.
[Switching to Thread 47122019124032 (LWP 11551)]
0x00002adb6b8e1156 in ?? () from /usr/lib/libgnomekbdui.so.1
(gdb) back
#0  0x00002adb6b8e1156 in ?? () from /usr/lib/libgnomekbdui.so.1
#1  0x00002adb6b8e1cba in ?? () from /usr/lib/libgnomekbdui.so.1
#2  0x00002adb70940880 in g_type_create_instance ()
   from /usr/lib/libgobject-2.0.so.0
#3  0x00002adb70927b9d in ?? () from /usr/lib/libgobject-2.0.so.0
#4  0x00002adb70925ff4 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#5  0x00002adb70926a1c in g_object_new_valist ()
   from /usr/lib/libgobject-2.0.so.0
#6  0x00002adb70926c51 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#7  0x00002adb6b8e173a in gkbd_indicator_new ()
   from /usr/lib/libgnomekbdui.so.1
#8  0x0000000000409809 in ?? ()
#9  0x00002adb70940880 in g_type_create_instance ()
   from /usr/lib/libgobject-2.0.so.0
#10 0x00002adb70927b9d in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0x00002adb70925ff4 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#12 0x00002adb70926a1c in g_object_new_valist ()
   from /usr/lib/libgobject-2.0.so.0
#13 0x00002adb70926c51 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#14 0x00000000004076d2 in gs_lock_plug_new ()
#15 0x0000000000406989 in ?? ()
#16 0x00002adb70b856d4 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#17 0x00002adb70b8850d in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00002adb70b8881a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0x00002adb6d5085e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00000000004068c1 in main ()


- System Information:
Debian Release: lenny/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-screensaver depends on:
ii  dbus                      1.1.1-1        simple interprocess messaging syst
ii  gconf2                    2.18.0.1-3     GNOME configuration database syste
ii  gnome-icon-theme          2.18.0-3       GNOME Desktop icon theme
ii  libart-2.0-2              2.3.19-3       Library of functions for 2D graphi
ii  libatk1.0-0               1.18.0-2       The ATK accessibility toolkit
ii  libbonobo2-0              2.18.0-2       Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.18.0-5       The Bonobo UI library
ii  libc6                     2.5-11         GNU C Library: Shared libraries
ii  libcairo2                 1.4.8-1        The Cairo 2D vector graphics libra
ii  libdbus-1-3               1.1.1-1        simple interprocess messaging syst
ii  libdbus-glib-1-2          0.73-2         simple interprocess messaging syst
ii  libexif12                 0.6.16-1       library to parse EXIF files
ii  libfontconfig1            2.4.2-1.2      generic font configuration library
ii  libfreetype6              2.2.1-6        FreeType 2 font engine, shared lib
ii  libgconf2-4               2.18.0.1-3     GNOME configuration database syste
ii  libgl1-mesa-glx [libgl1]  6.5.2-5        A free implementation of the OpenG
ii  libglade2-0               1:2.6.1-1      library to load .glade files at ru
ii  libglib2.0-0              2.12.12-1      The GLib library of C routines
ii  libgnome-keyring0         0.8.1-2        GNOME keyring services library
ii  libgnome-menu2            2.18.2-1       an implementation of the freedeskt
ii  libgnome2-0               2.18.0-4       The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.14.0-3       A powerful object-oriented display
ii  libgnomekbd1              2.18.2-1       GNOME library to manage keyboard c
ii  libgnomekbdui1            2.18.2-1       User interface library for libgnom
ii  libgnomeui-0              2.18.1-2       The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            1:2.18.1-2     GNOME Virtual File System (runtime
ii  libgtk2.0-0               2.10.13-1      The GTK+ graphical user interface
ii  libice6                   1:1.0.3-2      X11 Inter-Client Exchange library
ii  liborbit2                 1:2.14.7-0.1   libraries for ORBit2 - a CORBA ORB
ii  libpam0g                  0.79-4         Pluggable Authentication Modules l
ii  libpango1.0-0             1.16.4-1       Layout and rendering of internatio
ii  libpng12-0                1.2.15~beta5-2 PNG library - runtime
ii  libpopt0                  1.10-3         lib for parsing cmdline parameters
ii  libsm6                    2:1.0.3-1      X11 Session Management library
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxcursor1               1:1.1.8-2      X cursor management library
ii  libxext6                  1:1.0.3-2      X11 miscellaneous extension librar
ii  libxfixes3                1:4.0.3-2      X11 miscellaneous 'fixes' extensio
ii  libxi6                    1:1.0.1-4      X11 Input extension library
ii  libxinerama1              1:1.0.2-1      X11 Xinerama extension library
ii  libxklavier11             3.2-2          X Keyboard Extension high-level AP
ii  libxml2                   2.6.29.dfsg-1  GNOME XML library
ii  libxrandr2                2:1.2.1-1      X11 RandR extension library
ii  libxrender1               1:0.9.2-1      X Rendering Extension client libra
ii  libxss1                   1:1.1.2-1      X11 Screen Saver extension library
ii  libxxf86misc1             1:1.0.1-2      X11 XFree86 miscellaneous extensio
ii  libxxf86vm1               1:1.0.1-2      X11 XFree86 video mode extension l
ii  zlib1g                    1:1.2.3-15     compression library - runtime

Versions of packages gnome-screensaver recommends:
ii  gnome-power-manager           2.18.3-1   frontend for gnome-powermanager
ii  rss-glx                       0.8.1-6    Really Slick Screensavers GLX Port
ii  xscreensaver-gl               4.24-5     GL(Mesa) screen hacks for xscreens

#429422#17
Date:
2007-07-02 19:29:25 UTC
From:
To:
Le lundi 25 juin 2007 à 14:35 +0200, Tobias Schlemmer a écrit :

Thanks for the backtrace.

It would be very nice if you could try again with a rebuilt
libgnomekbdui package, including debugging symbols.

See http://wiki.debian.org/HowToGetABacktrace

Cheers,

#429422#22
Date:
2007-07-27 09:13:35 UTC
From:
To:
:~$ gdb /usr/lib/gnome-screensaver/gnome-screensaver-dialog

    [...]

[New Thread 47425885751824 (LWP 8115)]

(gnome-screensaver-dialog:8115): Gnome-CRITICAL **:
gnome_program_locate_file: assertion `program != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47425885751824 (LWP 8115)]
0x00002b222b7f7156 in gkbd_indicator_fill (gki=0x6a7000)
    at gkbd-indicator.c:280
280                                     if (short_group_name != NULL
(gdb) quit
The program is running.  Exit anyway? (y or n) n
Not confirmed.
(gdb) backtrace
#0  0x00002b222b7f7156 in gkbd_indicator_fill (gki=0x6a7000)
    at gkbd-indicator.c:280
#1  0x00002b222b7f7cba in gkbd_indicator_init (gki=0x6a7000)
    at gkbd-indicator.c:624
#2  0x00002b2230b61cd0 in g_type_create_instance ()
   from /usr/lib/libgobject-2.0.so.0
#3  0x00002b2230b48fbd in ?? () from /usr/lib/libgobject-2.0.so.0
#4  0x00002b2230b47414 in g_object_newv () from /usr/lib/libgobject-2.0.so.0

[...]

Other seems to be the same as posted above.

I hope, that can help.

Tobias

#429422#27
Date:
2007-07-27 09:21:23 UTC
From:
To:
doing a full backtrace I found out:

#0  0x00002ad99be35156 in gkbd_indicator_fill (gki=0x6a7000) at
gkbd-indicator.c:280
        short_group_name = 0x21 <Address 0x21 out of bounds>
        grp = 3
        total_groups = 4
        notebook = (GtkNotebook *) 0x6a7000
#1  0x00002ad99be35cba in gkbd_indicator_init (gki=0x6a7000) at
gkbd-indicator.c:624
        def_drawing = (GtkWidget *) 0x68dba0
        notebook = <value optimized out>
        __func__ = "gkbd_indicator_init"


Tobias

#429422#36
Date:
2007-07-27 10:16:51 UTC
From:
To:
Hi,

I think the problem must be in some misconception:

I'm using .Xmodmap to set my Keyboard layouts:

1. de-ergo
2. modified russian
3. slovak
4. traditinal german


globals.short_group_names points to an array:

0x6b1df0 "Deu"
0x6b1e30 "Rus"
0x0
0x21

same for globals.full_group_names.

It seems as the arrays of globals are initialized from the
gnome-configuration, but the maximum number of configurations comes from
 xkl_engine_get_num_groups (I'm not shure, but this seems to be the X11
system). So the parameter "group" reads behind the array end.

Tobias.

#429422#41
Date:
2007-07-27 11:17:58 UTC
From:
To:
Hi,

my analysis seems to be correct.

I enhanced the number of configured keyboard layout to four and it works
for me. Even if the configured layouts don't match .Xmodmap.

So seems to be different from the original poster.

I'm not sure, how it works, as gnome shows me the right names of my used
configuration instead of that that's configured in the dialogue.

For the protocol:

The two functions, which do not comply are:

gkbd_indicator_fill and gkbd_indicator_prepare_drawing

Tobias.

#429422#48
Date:
2008-06-12 20:35:34 UTC
From:
To:
I think that the bug is in libgnomekbd and it happens if you have a
non-UTF8 locale, at least that's the way I reproduce it.

I have already sent a more detailed bug report to the GNOME bugzilla,
but no one has taken care of it so far:

http://bugzilla.gnome.org/show_bug.cgi?id=529773

If I set my locate to UTF-8 (export LC_ALL=pt_PT.UTF-8) and then
restart the gnome-screensaver then the problem disappears:

$ gnome-screensaver-command --exit
$ gnome-screensaver

#429422#57
Date:
2025-08-21 04:30:43 UTC
From:
To:
There have been many changes to Debian since this bug was originally
reported. If you are still experiencing this issue with Debian 13 (or
with Debian 12 or Testing or Unstable), please report a new bug.

Thank you,
Jeremy Bícha