[apport] gnome-keyboard-properties crashed with SIGSEGV in draw_key() when trying to add new layout.

Bug #101895 reported by Paul Wagland
6
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Critical
libgnomekbd (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

This appears to have been reported a few times, but as far as I could see, each time it has been closed... however I am still seeing this problem on an AMD64.

ProblemType: Crash
Architecture: amd64
Date: Mon Apr 2 15:33:13 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gnome-keyboard-properties
Package: gnome-control-center 1:2.18.0-0ubuntu3
PackageArchitecture: amd64
ProcCmdline: gnome-keyboard-properties
ProcCwd: /home/users/paul
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
Signal: 11
SourcePackage: control-center
StacktraceTop:
 ?? () from /usr/lib/libgnomekbdui.so.1
 g_list_foreach () from /usr/lib/libglib-2.0.so.0
 ?? () from /usr/lib/libgnomekbdui.so.1
 g_main_context_dispatch ()
 ?? () from /usr/lib/libglib-2.0.so.0
Uname: Linux paul 2.6.20-13-generic #2 SMP Sat Mar 24 23:12:02 UTC 2007 x86_64 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner video

Revision history for this message
Paul Wagland (paul-kungfoocoder) wrote :
Revision history for this message
Paul Wagland (paul-kungfoocoder) wrote :

This has been tagged 'need-amd64-retrace', however the trace I gave is from an AMD-64 system. How do I generate what is needed? Do I need a special debug version of the packages or something?

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

There is an automatic service running and retracing bugs tagged, you don't need to do anything

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report.

Changed in control-center:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:draw_key (drawing=0x9e78f0, key=<value optimized out>) at gkbd-keyboard-drawing.c:616
IA__g_list_foreach (list=<value optimized out>, func=0x2afd34f035f0 <draw_keyboard_item>, user_data=0x9e78f0) at glist.c:495
idle_redraw (user_data=0xa28bf0) at gkbd-keyboard-drawing.c:993
IA__g_main_context_dispatch (context=0x659190) at gmain.c:2045
g_main_context_iterate (context=0x659190, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2677

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [apport] gnome-keyboard-properties crashed with SIGSEGV in g_list_foreach() when trying to add new layout.

Thanks for your bug report. New packages version have been uploaded since you opened it, could you try if you still get the issue and attach a new crash file if that's the case?

Changed in control-center:
status: Unconfirmed → Needs Info
Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Just ran into this problem on a fully updated AMD64 running Feisty myself. Attached is the core dump from gdb (apport didn't catch it), backtrace is coming. Need this functionality to work around a bug when running full-screen games under Cedega (us-intl layout doesn't work right).

To reproduce, open gnome-keyboard-properties, click "Layouts", click "Add". Program dies every time. Following is the output from the terminal, which may also help:

mbt@sage:~$ gnome-keyboard-properties
dpy: 0x63f8f0
evt/error/major/minor: 113/174/1/0

(gnome-keyboard-properties:14444): GnomeKbdIndicator-WARNING **: key AE00: keycode = 4294967295; not in range 8..255

Segmentation fault (core dumped)
mbt@sage:~$

Revision history for this message
Michael B. Trausch (mtrausch) wrote :
Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Additional information provided along with how to reproduce, core dump, backtrace. Problem still exists as of 14-Apr-2007 with fully updated Feisty.

Changed in control-center:
status: Needs Info → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Additional information:

Today, I was playing around in this and found that if I changed the keyboard from Microsoft Natural (which is what I have) to a generic 105-key international keyboard, I am able to add the second layout that I need. Paul, is your selected keyboard in this a MS Natural keyboard, or something different? If it is the natural keyboard, does the problem persist if you change it to a generic keyboard?

Revision history for this message
Paul Wagland (paul-kungfoocoder) wrote :

I actually have the "Microsoft Natural Keyboard Pro USB / Microsoft Internet Keyboard Pro", but I suspect that it is the non-square layout that is causing the problem... Switching to generic did indeed solve the problem.

This is with:
Package: gnome-control-center
Source: control-center
Version: 1:2.18.1-0ubuntu2

Changed in control-center:
status: Unknown → Unconfirmed
Changed in control-center:
status: Unconfirmed → Needs Info
Revision history for this message
Vitor Boschi (vitorboschi) wrote :

I have a similar problem too. I'm using a fresh Feisty Fawn installation (AMD64 release version). Here's the error:

vitor@obiwankenobi:~$ gnome-keyboard-properties
dpy: 0x63f240
evt/error/major/minor: 113/174/1/0

(gnome-keyboard-properties:8000): GnomeKbdIndicator-WARNING **: key HZTG: keycode = 4294967295; not in range 8..255

(gnome-keyboard-properties:8000): GnomeKbdIndicator-WARNING **: key AC12: keycode = 4294967295; not in range 8..255

Falha de segmentação (core dumped)

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

The bug has been fixed upstream now

Changed in libgnomekbd:
status: Confirmed → Fix Committed
Changed in control-center:
status: Incomplete → Fix Released
Revision history for this message
Áron Sisak (asisak) wrote :

libgnomekbd (2.19.91-0ubuntu1) gutsy; urgency=low

  * New upstream version:
    - Fixed a couple of bugs (one crasher), minor build fixes (LP: #101895)
  * debian/patches/80_from_bugzilla_fix_incorrect_free_usage.patch:
    - Dropped as got fixed upstream

 -- Aron Sisak <email address hidden> Mon, 27 Aug 2007 12:29:53 +0200

Changed in libgnomekbd:
status: Fix Committed → Fix Released
Changed in gnome-control-center:
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.