Bug 136739

Summary: [kyast] kcmshell crashed (SIGSEGV) upon launching Keyboard Layout app
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Dzmitry Prakapenka <4maillists>
Component: YaST2Assignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P3 - Medium    
Version: unspecified   
Target Milestone: RC 1   
Hardware: i686   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Loading the keyboard module
SIGSEGV crash window
Error message
Ldd kcmshell output
Strace kcmshell output

Description Dzmitry Prakapenka 2005-12-02 18:18:48 UTC
The application KDE Control Module (kcmshell) crashed and caused the signal 11 (SIGSEGV) upon launching Keyboard Layout app from Control Center. See the screenshot for more details: 
http://img209.imageshack.us/my.php?image=snapshot43du.png 


 Steps to reproduce: 
 1. As a regular user, launch Control Center. 
 2. Go to Yast2 Modules->System->Keyboard Layout. 
 3. Click on Administrator Mode button, enter the root password and click OK. 
 See screenshot for this window (contains some parameters): 
 http://img497.imageshack.us/my.php?image=snapshot56js.png 
 4. Verify the error occurs. 
 
 The error is reproducible every time I try it. The distro is Suse 10. Using KDE 3.5.0, installed from Suse RPMs via YOU. Even with the error occuring the Keyboard Preferences window is displayed: 
 http://img497.imageshack.us/my.php?image=snapshot56js.png 

Note:
Reported this as a KDE bug first to the KDE team, but as per their comments this is a problem with YAST (bug# 117487 at bugs.kde.org).
 
 Here's the backtrace info: 
 
 (no debugging symbols found) 
 Using host libthread_db library "/lib/tls/libthread_db.so.1". 
 (no debugging symbols found) 
 `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. 
 (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 1096193088 (LWP 14715)] 
 (no debugging symbols found) 
 (no debugging symbols found) 
 [KCrash handler] 
 #4  0x40197d29 in KCModuleProxy::realModule () 
    from /opt/kde3/lib/libkutils.so.1 
 #5  0x40031d2a in kdemain () from /opt/kde3/lib/libkdeinit_kcmshell.so 
 #6  0x4004aea0 in __libc_start_main () from /lib/tls/libc.so.6 
 #7  0x08048451 in ?? ()
Comment 1 Michael Gross 2005-12-05 17:20:27 UTC
I was not able to reproduce this on my test machine, it works fine.

Sorry but the backtrace is not very useful without the debug symbols, which can be found in the *-debuginfo packages which are available via FTP.

Does this happen only with the keyboard module or with other modules, too? You might provide more information about your hardware (hwinfo --keyboard).
Comment 2 Dzmitry Prakapenka 2005-12-07 16:38:19 UTC
This issue seems to occur only with this module on my machine.

Could you specify which specific debuginfo packages I would need to install to provide you with the debugging symbols? I cannot install all available due to space limitations... 

Here's the output of hwinfo --keyboard:

hwinfo --keyboard
23: PS/2 00.0: 10800 Keyboard
  [Created at input.137]
  UDI: /org/freedesktop/Hal/devices/computer_i8042_Kbd_Port_logicaldev_input
  Unique ID: EXC1.TBWTwSuMeW2
  Hardware Class: keyboard
  Model: "AT Translated Set 2 keyboard"
  Vendor: int 0x0211
  Device: int 0x0001 "AT Translated Set 2 keyboard"
  Device File: /dev/input/event1
  Device Number: char 13:65
  Driver Info #0:
    XkbRules: xfree86
    XkbModel: pc104
  Config Status: cfg=no, avail=yes, need=no, active=unknown

I reproduced the issue and this time an additional error message was displayed:

http://img496.imageshack.us/my.php?image=snapshot111zq.png

As per the error message, I'm including the additional info:

xprop -root | grep XKB

_XKB_RULES_NAMES_BACKUP(STRING) = "xfree86", "pc104", "us", "", ""
_XKB_RULES_NAMES(STRING) = "xfree86", "pc104", "us", "", ""


gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd

 layouts = []
 model =
 overrideSettings = true
 options = []

Comment 3 Michael Gross 2005-12-08 13:58:59 UTC
Please don't use links to refer to external sources. Always use the attachment-feature of bugzilla (see below). Could you please attach the used screenshots and all further ones here? This ensures the availibility of these sources. Thanks.

As for the debug packages: You should install the kdelibs3-debuginfo package, this should do fine. Recreate the backtrace afterwards. Thanks.
Comment 4 Dzmitry Prakapenka 2005-12-08 22:03:45 UTC
Created attachment 60143 [details]
Loading the keyboard module
Comment 5 Dzmitry Prakapenka 2005-12-08 22:04:25 UTC
Created attachment 60144 [details]
SIGSEGV crash window
Comment 6 Dzmitry Prakapenka 2005-12-08 22:04:54 UTC
Created attachment 60145 [details]
Error message
Comment 7 Dzmitry Prakapenka 2005-12-08 22:08:18 UTC
I re-attached the screenshots. 
I installed the kdelibs3-debuginfo package but the backtrace is without the debugging symbols again:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/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)
[Thread debugging using libthread_db enabled]
[New Thread 1096193088 (LWP 16362)]
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#7  0x40197d29 in KCModuleProxy::realModule ()
   from /opt/kde3/lib/libkutils.so.1
#8  0x40031d2a in kdemain () from /opt/kde3/lib/libkdeinit_kcmshell.so
#9  0x4004aea0 in __libc_start_main () from /lib/tls/libc.so.6
#10 0x08048451 in ?? ()
Comment 8 Michael Gross 2005-12-09 04:34:53 UTC
OK, this would require libthread_db-debuginfo, but before we spend ages here: Just use ltrace to create a backtrace and attach the output here. This should be sufficient, thanks.
Comment 9 Dzmitry Prakapenka 2005-12-14 13:12:43 UTC
The output from ltrace:

__libc_start_main(0x80484f0, 6, 0xbf9c0de4, 0x8048510, 0x8048580 <unfinished ...>
kdemain(6, 0xbf9c0de4, 0xbf9c0e00, 1, 0x40150ff4kbuildsycoca running...
 <unfinished ...>
--- SIGCHLD (Child exited) ---
QObject::connect: Cannot connect (null)::changed( bool ) to KCModuleProxy::moduleChanged(bool)
QObject::connect: Cannot connect (null)::destroyed() to KCModuleProxy::moduleDestroyed()
QObject::connect: Cannot connect (null)::quickHelpChanged() to KCModuleProxy::quickHelpChanged()
--- SIGSEGV (Segmentation fault) ---
KCrash: Application 'kcmshell' crashing...
KWrited - Listening on Device /dev/pts/0
--- SIGCHLD (Child exited) ---
+++ exited (status 253) +++
Comment 10 Michael Gross 2005-12-14 13:19:53 UTC
OK, I'll reassign it now ;) We need help from the KDE maintainers, though.
Comment 11 Dirk Mueller 2005-12-14 15:43:19 UTC
ltrace -f would have been more interesting..

strace and ldd are intersting as well. 

Comment 12 Dzmitry Prakapenka 2005-12-14 21:07:27 UTC
ltrace -f produced the following output:

__libc_start_main(0x80484c0, 6, 0xbf8c54d4, 0x80484e0, 0x8048550 <unfinished ...>
kdemain(6, 0xbf8c54d4, 0xbf8c54f0, 1, 0x40150ff4QObject::connect: Cannot connect (null)::changed( bool ) to KCModuleProxy::moduleChanged(bool)
QObject::connect: Cannot connect (null)::destroyed() to KCModuleProxy::moduleDestroyed()
QObject::connect: Cannot connect (null)::quickHelpChanged() to KCModuleProxy::quickHelpChanged()
 <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
KCrash: Application 'kcmshell' crashing...
Segmentation fault

The ldd output and strace outputs are saved as attachments.


Comment 13 Dzmitry Prakapenka 2005-12-14 21:08:42 UTC
Created attachment 60788 [details]
Ldd kcmshell output
Comment 14 Dzmitry Prakapenka 2005-12-14 21:09:23 UTC
Created attachment 60789 [details]
Strace kcmshell output
Comment 15 Stephan Kulow 2006-02-06 10:49:50 UTC
we do no longer support yast modules in kcontrol

*** This bug has been marked as a duplicate of 139343 ***