! 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 !
xkb-plugin crashes when removing it from the panel
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfce4-xkb-plugin
Component:
General

Comments

Description Christoph Wickert editbugs 2010-01-06 15:54:54 CET
Created attachment 2766 
backtrace

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

Comment: Removing plugin from panel.
Attached file: backtrace
cmdline: /usr/libexec/xfce4/panel-plugins/xfce4-xkb-plugin socket_id 23277199 name xkb-plugin id 12538013572 display_name   size 28 screen_position 11 
component: xfce4-xkb-plugin
executable: /usr/libexec/xfce4/panel-plugins/xfce4-xkb-plugin
kernel: 2.6.31-33.fc12.x86_64
package: xfce4-xkb-plugin-0.5.3.3-1.fc12
reason: Process was terminated by signal 6
Comment 1 Lionel Le Folgoc 2010-02-10 09:59:28 CET
Created attachment 2843 
Proposed patch

This patch fixes several segfaults for me: the plugin was trying to free() a statically allocated string in some cases (probably the one in this bug report, but I'm not sure), and not checking a string before passing it to strcmp().
Comment 3 Azamat H. Hackimov editbugs 2011-02-26 01:46:01 CET
*** Bug 6945 has been marked as a duplicate of this bug. ***

Bug #6122

Reported by:
Christoph Wickert
Reported on: 2010-01-06
Last modified on: 2011-02-26
Duplicates (1):
  • 6945 segfaults when adding/removing layouts and changing keys

People

Assignee:
Alexander Iliev
CC List:
3 users

Version

Version:
unspecified

Attachments

backtrace (14.35 KB, text/plain)
2010-01-06 15:54 CET , Christoph Wickert
no flags
Proposed patch (2.04 KB, patch)
2010-02-10 09:59 CET , Lionel Le Folgoc
no flags

Additional information