! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
crash detected in xfce4-xkb-plugin-0.5.3.3-1.fc12
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfce4-xkb-plugin
Component:
General

Comments

Description Christoph Wickert editbugs 2010-01-06 16:03:52 CET
Created attachment 2767 
backtrace of the crash

Forwarded from https://bugzilla.redhat.com/show_bug.cgi?id=547553

Comment: I don't know what the exact conditions need to be, but I was simply switching language by clicking the icon. As it crashed, the language became locked in for all apps (setting is to change language per application)  

Attached file: backtrace
cmdline: /usr/libexec/xfce4/panel-plugins/xfce4-xkb-plugin socket_id 31457325
name xkb-plugin id 12604068180 display_name Keyboard Layouts size 50
screen_position 11
component: xfce4-xkb-plugin
executable: /usr/libexec/xfce4/panel-plugins/xfce4-xkb-plugin
kernel: 2.6.31.6-166.fc12.i686
package: xfce4-xkb-plugin-0.5.3.3-1.fc12
rating: 4
reason: Process was terminated by signal 6  

There also is a coredump available at
https://bugzilla.redhat.com/attachment.cgi?id=381869 (3,77 MB)
Comment 1 Lionel Le Folgoc 2011-04-09 20:40:54 CEST
*** Bug 6394 has been marked as a duplicate of this bug. ***
Comment 2 Lionel Le Folgoc 2011-04-09 20:50:50 CEST
There's a g_assert (group_name != NULL) in xkb_util_get_flag_filename(), which will terminate the program (with a SIGABRT) if group_name is NULL. Here, I can "reliably" get it NULL if I try to remove the current active layout for the plugin configure dialog.

I think this happens when the plugin tries to redraw its flag area for the active flag that has just been removed. Since it's going to be removed, I'm not sure it's useful to redraw the flag, so I put a work around at the beginning of xkb_cairo_draw_flag():
@@ -80,6 +80,7 @@
                      GdkColor fgcolor)
 {
     g_assert (cr != NULL);
+    g_return_if_fail (group_name != NULL);

     gchar *filename;
     RsvgHandle *handle;

This way it won't reach the g_assert()…
Comment 3 Jérôme Guelfucci editbugs 2011-04-28 20:34:58 CEST
Fixed in git master branch.

Bug #6123

Reported by:
Christoph Wickert
Reported on: 2010-01-06
Last modified on: 2011-04-28
Duplicates (1):
  • 6394 crash in xfce4-xkb-plugin-0.5.3.3-3.fc12: Process /usr/libexec/xfce4/panel-plugins/xfce4-xkb-plugin was killed by signal 6

People

Assignee:
Alexander Iliev
CC List:
2 users

Version

Version:
unspecified

Attachments

backtrace of the crash (7.98 KB, text/plain)
2010-01-06 16:03 CET , Christoph Wickert
no flags

Additional information