Bug 256405

Summary: kdeinit4 SEGV in KeyboardDaemon::unregisterListeners
Product: [Unmaintained] kxkb Reporter: Joe Harvell <joe.harvell.x>
Component: generalAssignee: Andriy Rysin <arysin>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 4.5.4
Sentry Crash Report:
Attachments: VNC log including output of startkde

Description Joe Harvell 2010-11-09 00:13:49 UTC
Application: kded4 ($Id: kded.cpp 1156841 2010-07-29 19:59:05Z zander $)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-gentoo-r2-cujo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

I logged out of a KDE Session started via startkde from a VNC Server

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#4  0x00007fab02c4c1e1 in KeyboardDaemon::unregisterListeners (this=0x20b2090) at /var/tmp/portage/kde-base/systemsettings-4.5.3/work/systemsettings-4.5.3/kcontrol/keyboard/keyboard_daemon.cpp:158
#5  0x00007fab02c4cd5a in KeyboardDaemon::~KeyboardDaemon (this=0x20b2090, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/systemsettings-4.5.3/work/systemsettings-4.5.3/kcontrol/keyboard/keyboard_daemon.cpp:74
#6  0x00007fab079c2b4c in Kded::~Kded (this=0x200fe40, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kded/kded.cpp:162
#7  0x00007fab079c61ec in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kded/kded.cpp:896
#8  0x0000000000407dc3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b10b "0") at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kinit/kinit.cpp:716
#9  0x0000000000409c7f in main (argc=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.3/work/kdelibs-4.5.3/kinit/kinit.cpp:1828

Reported using DrKonqi
Comment 1 Joe Harvell 2010-11-09 00:19:26 UTC
Created attachment 53260 [details]
VNC log including output of startkde

This log also contains an assertion failure in policy kit which is reported in another bug report.
Comment 2 Andriy Rysin 2010-11-09 01:38:35 UTC
SVN commit 1194451 by rysin:

Fix crash in destructor if xkb wasn't initialized
BUG: 256405
FIXED-IN: 4.5.4


 M  +2 -0      keyboard_daemon.cpp  
 M  +1 -1      keyboard_dbus.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1194451
Comment 3 Andriy Rysin 2010-11-09 01:41:19 UTC
SVN commit 1194454 by rysin:

Fix crash in destructor if xkb wasn't initialized
BUG: 256405
FIXED-IN: 4.5.4


 M  +2 -0      keyboard_daemon.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1194454