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 311685 - gnome-keyboard-properties crashes when adding new layout
gnome-keyboard-properties crashes when adding new layout
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Keyboard
unspecified
Other other
: High critical
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-27 07:53 UTC by Pontus Enhager
Modified: 2005-08-15 02:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Pontus Enhager 2005-07-27 07:53:07 UTC
Distribution: Fedora Core release 4 (Stentz)
Package: control-center
Severity: normal
Version: GNOME2.10.0 unspecified
Gnome-Distributor: Red Hat, Inc
Synopsis: gnome-keyboard-properties crashes when adding new layout
Bugzilla-Product: control-center
Bugzilla-Component: keyboard
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.10.0)
Description:
Description of the crash:


Steps to reproduce the crash:
1. Start gnome-keyboard-properties	
2. Try to add a new layout
3. crash

Expected Results:
success

How often does this happen?
every time

Additional Information:
if started on the commandline, the following error is emitted:
** (gnome-keyboard-properties:3966): WARNING **: key AE00: keycode =
4294967295; not in range 8..255



Debugging Information:

Backtrace was generated from '/usr/bin/gnome-keyboard-properties'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208875328 (LWP 3890)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x00935402 in ?? ()

Thread 1 (Thread -1208875328 (LWP 3890))

  • #0 ??
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 GSwitchItKbdConfigLayoutsAdd
  • #5 GSwitchItKbdConfigLayoutsAdd
  • #6 g_list_foreach
    from /usr/lib/libglib-2.0.so.0
  • #7 GSwitchItKbdConfigLayoutsAdd
  • #8 GSwitchItKbdConfigLayoutsAdd
  • #9 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #14 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 gdk_window_clear_area_e
    from /usr/lib/libgdk-x11-2.0.so.0
  • #17 gdk_window_process_all_updates
    from /usr/lib/libgdk-x11-2.0.so.0
  • #18 gtk_container_check_resize
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #20 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #21 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #22 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #23 gtk_dialog_run
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 xkb_layout_choose
  • #25 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #30 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_button_get_alignment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #36 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #37 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #38 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 gtk_button_set_relief
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #43 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #44 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #45 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #46 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #47 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #48 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #49 gdk_screen_get_setting
    from /usr/lib/libgdk-x11-2.0.so.0
  • #50 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #51 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #52 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #53 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #54 main




------- Bug moved to this database by unknown@gnome.bugs 2005-07-27 07:53 UTC -------


The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@gnome.bugs.
   Previous reporter was enpontus@home.se.

Comment 1 Sebastien Bacher 2005-08-13 21:39:14 UTC
Thanks for the bug report. Unfortunately, that stack trace is not very useful in
determining the cause of the crash. Can you get us one with debugging symbols?
Please see [WWW]http://live.gnome.org/GettingTraces for more information on how
to do so.
Comment 2 Pontus Enhager 2005-08-13 22:45:59 UTC
Backtrace was generated from '/usr/bin/gnome-keyboard-properties'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208195392 (LWP 5650)]
0x00bfd402 in ?? ()

Thread 1 (Thread -1208195392 (LWP 5650))

  • #0 ??
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 draw_outline
    at keyboard-drawing.c line 201
  • #5 draw_key
    at keyboard-drawing.c line 850

Comment 3 Pontus Enhager 2005-08-13 22:47:20 UTC
was this better ?
Comment 4 Sergey V. Udaltsov 2005-08-13 23:17:55 UTC
Well, it makes some sense now. It crashes in libkbdraw somehow. What we could do
is to reproduce the situation, if possible, in 2.10 branch of g-c-c. What is the
layout you were looking at? what is the keyboard model? Any layout options?
Comment 5 Pontus Enhager 2005-08-14 00:29:29 UTC
i had swedish layout and was trying to switch to swedish dvorak setting - but i
have tried with empty setting and other settings as well, keyboard is a
Microsoft Natural Keyboard Pro / Microsoft Internet Keyboard Pro.

At one occasion though i managed to get another layout added besides the
(normal) swedish layout, at that point i could without problems add the Dvorak
layout. However at about 50% of the occasions the program crashes when i press
the Add button (i.e. before choosing next layout) and the rest when clicking on
the selected (new) layout. could it be that the (Normal) Swedish layout is
somewhat flawed in combination with this keyboart type ?
Comment 6 Sergey V. Udaltsov 2005-08-14 01:21:24 UTC
yess! It seems I can reproduce it. Investigating the issue...
Comment 7 Sergey V. Udaltsov 2005-08-15 02:25:58 UTC
I fixed it in CVS. It was a very odd bug in libkbdraw. Thanks for giving me
reproducable configuration.