Unlock dialog never shows (gnome-screensaver-dialog crashed with SIGSEGV)

Bug #275957 reported by Ken Arnold
160
This bug affects 8 people
Affects Status Importance Assigned to Milestone
libgnomekbd
Fix Released
Critical
gnome-screensaver (Ubuntu)
Invalid
Medium
Unassigned
libgnomekbd (Ubuntu)
Fix Released
Medium
Unassigned
xorg-server (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnome-screensaver

Definitely a new issue in intrepid alpha. This happens fairly consistently when I resume from hibernation. May have something to do with plugging / unplugging a USB keyboard/mouse, which I often do when hibernating.

This time the dialog eventually came back and I got my session back, but last time I had to drop to a console and kill gnome-screensaver. Lost the crash dump there, of course.

-Ken

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/lib/gnome-screensaver/gnome-screensaver-dialog
NonfreeKernelModules: openafs nvidia
Package: gnome-screensaver 2.24.0-0ubuntu1
ProcAttrCurrent: unconfined
ProcCmdline: /usr/lib/gnome-screensaver/gnome-screensaver-dialog --away-message= --enable-switch
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/gnome-screensaver/gnome-screensaver:/usr/lib/xscreensaver:/usr/lib/xscreensaver
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: gnome-screensaver
StacktraceTop:
 ?? () from /usr/lib/libgnomekbdui.so.3
 ?? () from /usr/lib/libgnomekbdui.so.3
 g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
 ?? () from /usr/lib/libgobject-2.0.so.0
 g_object_newv () from /usr/lib/libgobject-2.0.so.0
Title: gnome-screensaver-dialog crashed with SIGSEGV in g_type_create_instance()
Uname: Linux 2.6.27-4-generic i686
UserGroups: adm admin audio cdrom dialout dip disk floppy fuse lpadmin plugdev vboxusers video voice

Related branches

Revision history for this message
Ken Arnold (kenneth-arnold) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:gkbd_indicator_fill (gki=0x9927848) at gkbd-indicator.c:279
gkbd_indicator_init (gki=0x9927848) at gkbd-indicator.c:623
IA__g_type_create_instance (type=159503072) at /build/buildd/glib2.0-2.18.1/gobject/gtype.c:1674
g_object_constructor (type=159503072, n_construct_properties=0, construct_params=0x0)
IA__g_object_newv (object_type=159503072, n_parameters=0, parameters=0x0)

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in gnome-screensaver:
importance: Undecided → Medium
Revision history for this message
Id2ndR (id2ndr) wrote : Re: gnome-screensaver-dialog crashed with SIGSEGV in g_type_create_instance()

The same happened to me. I just locked the screen (Ctrl+Alt+L) and then I wasn't able to enter my session. gnome-screensaver didn't show me the lock screen whit password field.
When I click with the mouse, the screensaver disappears and the mouse appears above the black screen for about one second and then the screensaver reappears.
I had to go to one console (Ctrl Alt F1) to kill gnome-screensaver and reenter my session. Then I can launch gnome-screensaver again.

Changed in gnome-screensaver:
status: New → Confirmed
Revision history for this message
Id2ndR (id2ndr) wrote :

The crash of gnome-screensaver-dialog don't occured all the time but I get a new line like the following one in dmesg each time I click on type on keyboard :
[ 3718.938629] gnome-screensav[1233]: segfault at 51 ip b7eb4fa6 sp bfe7e620 error 4 in libgnomekbdui.so.3.0.0[b7eae000+f000]

Revision history for this message
silencer (silencer-free-4ever) wrote :

Hi,

I have the same problem:
[ 3123.437075] gnome-screensav[9168]: segfault at 51 ip b7f36fa6 sp bf8ff890 error 4 in libgnomekbdui.so.3.0.0[b7f30000+f000]

When I want to unlock the screensaver.

Revision history for this message
Thierry Carrez (ttx) wrote :

This is linked to the keyboard choice...

To fix it (on both my workstations) I opened my keyboard preferences, clicked "+" to select a new layout, selected the SAME layout I used to have. Then it appears twice on the list. Select the newly-added one as default and make it the system default. You can get rid of the old one.

I guess there must have been some broken layouts at some point in alphas and upgrades retained them ?

Let me know if this fixes it for you too !

Revision history for this message
Id2ndR (id-2ndr) wrote : Re: [Bug 275957] Re: gnome-screensaver-dialog crashed with SIGSEGV in g_type_create_instance()

> Let me know if this fixes it for you too !
Works for me, thanks !

Revision history for this message
MD (sessorbsed) wrote :
Revision history for this message
Ronan Jouchet (ronj) wrote : Re: gnome-screensaver-dialog crashed with SIGSEGV in g_type_create_instance()

> Let me know if this fixes it for you too !
Works for me too.
Going to update the upstream bug I filed...
Thanks guys!

Revision history for this message
Ken Arnold (kenneth-arnold) wrote : Re: [Bug 275957] Re: gnome-screensaver-dialog crashed with SIGSEGV in g_type_create_instance()

I'm pretty sure this issue is related to having an invalid keyboard layout
state. I haven't seen this issue in a while, but I have a separate one about
the keyboard layout indicator applet -- the whole X keyboard layout system
gets confused sometimes when I plug in an external (Apple USB) keyboard...
to the point that my laptop keyboard types Dvorak (as usual) and the
external keyboard types QWERTY! ... no wonder things start crashing.

On Mon, Oct 20, 2008 at 1:06 PM, Ronan Jouchet <email address hidden> wrote:

> > Let me know if this fixes it for you too !
> Works for me too.
> Going to update the upstream bug I filed...
> Thanks guys!
>
> --
> gnome-screensaver-dialog crashed with SIGSEGV in g_type_create_instance()
> https://bugs.launchpad.net/bugs/275957
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Sébastien Valette (sebastien-valette) wrote : Re: gnome-screensaver-dialog crashed with SIGSEGV in g_type_create_instance()

Hi!

I had the exact samse issue (no possibility to type password to unlock the screen) and redefining the keyboard layout fixed it! Thanks!

Revision history for this message
Sébastien Valette (sebastien-valette) wrote :

A clean install on an other laptop exhibits the same problem. Maybe this is due to the fact that I chose a french keyboard layout?

Revision history for this message
Ronan Jouchet (ronj) wrote : Re: [Bug 275957] Re: gnome-screensaver-dialog crashed with SIGSEGV in g_type_create_instance()

I'm using French alternative keyboard too...

Sébastien Valette wrote:
> A clean install on an other laptop exhibits the same problem. Maybe this
> is due to the fact that I chose a french keyboard layout?
>

Revision history for this message
Thierry Carrez (ttx) wrote :

I can reproduce it on a clean RC install too :
- Install Ubuntu, pick "France - France alternative" as the keyboard.
- When Ubuntu is installed, try "Lock screen" from FUSA
- Try to unlock...

Will see if I can reproduce on a default English install.

Changed in gnome-screensaver:
importance: Medium → High
Revision history for this message
Thierry Carrez (ttx) wrote :

This seems to be specific to the "France - France alternative" keyboard, doe snot affect the default US keyboard or the "France - France" keyboard...

Unfortunately, the "France - France alternative" keyboard is the default for French users :)
People that are/were affected by this bug: please tell us which keyboard you used, espcially if it wasn't "France alternative".

Changed in gnome-screensaver:
importance: High → Medium
Revision history for this message
Thierry Carrez (ttx) wrote :

The strange thing is that adding a "France alternative" layout (and removing the "France alternative" set by the installer) in the Preferences > Keyboard > Layouts workarounds the bug...

Revision history for this message
MD (sessorbsed) wrote : Re: [Bug 275957] Re: Unlock dialog never shows (gnome-screensaver-dialog crashed with SIGSEGV)
Revision history for this message
Thierry Carrez (ttx) wrote :

Should be fixed at the source of the crash (libgnomekbd).

Changed in libgnomekbd:
importance: Undecided → Medium
status: New → Confirmed
Changed in gnome-screensaver:
status: Confirmed → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in libgnomekbd:
status: Confirmed → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could users having this issue and not using a french keymap comment on the bug to say what layout they are using?

Revision history for this message
Sébastien Ballangé (sballange) wrote :

I've got the same issue but my layout is Canada multilingual (for both English and French...)

Revision history for this message
Sebastien Bacher (seb128) wrote :

the xorg configuration is weird on configurations which trigger the crash but upstream workaround the crash, the change has been uploaded to intrepid now but will likely need to be uploaded as a stable update rather since the intrepid candidate images have already been rolled now

Changed in libgnomekbd:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

opening an xorg bug since the xorg configuration has several groups which have no title, running setxkbmap to set the same configuration workaround the issue, upstream thinkgs that's an xorg bug

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

This bug was fixed in the package libgnomekbd - 2.24.0-0ubuntu2

---------------
libgnomekbd (2.24.0-0ubuntu2) intrepid; urgency=low

  * debian/patches/90_upstream_dont_crash_on_incorrect_xorg_configuration.patch:
    - upstream change to not crash on incorrect xorg configuration
      (lp: #275957)

 -- Sebastien Bacher <email address hidden> Mon, 27 Oct 2008 16:14:29 +0100

Changed in libgnomekbd:
status: Fix Committed → Fix Released
Revision history for this message
iram chelli (xiaolux) wrote : Re: [Bug 275957] Re: Unlock dialog never shows (gnome-screensaver-dialog crashed with SIGSEGV)

As far as i am concerned the bug is not fixed with this version of the kbd
package.

I still have to kill screensaver via console to come back to my x session.

Regards,

> ----- Original Message -----
> From: Launchpad Bug Tracker
> Sent: 10/28/08 10:40 am
> To: <email address hidden>
> Subject: [Bug 275957] Re: Unlock dialog never shows
> (gnome-screensaver-dialog crashed with SIGSEGV)
>
> This bug was fixed in the package libgnomekbd - 2.24.0-0ubuntu2
>
> ---------------
> libgnomekbd (2.24.0-0ubuntu2) intrepid; urgency=low
>
> *
> debian/patches/90_upstream_dont_crash_on_incorrect_xorg_configuration.patch:
> - upstream change to not crash on incorrect xorg configuration
> (lp: #275957)
>
> -- Sebastien Bacher <email address hidden> Mon, 27 Oct 2008 16:14:29
> +0100
>
> ** Changed in: libgnomekbd (Ubuntu)
> Status: Fix Committed => Fix Released
>
> --
> Unlock dialog never shows (gnome-screensaver-dialog crashed with SIGSEGV)
> https://bugs.launchpad.net/bugs/275957
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Noel J. Bergman (noeljb) wrote :

I have opened Bug 306319 to track the defect reported by myself, iram and others related to gnome-screensaver-dialog not coming back after a resume, even after this particular defect was fixed.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

Hi kenneth-arnold,

Please attach the output of `lspci -vvnn` too.

Changed in xorg-server:
status: New → Incomplete
Changed in libgnomekbd:
status: Unknown → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xorg-server:
status: Incomplete → Invalid
tags: added: iso-testing
Changed in libgnomekbd:
importance: Unknown → Critical
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.