Bug 179729 - Krunner Locker crash when screen locked
Summary: Krunner Locker crash when screen locked
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kxkb
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords:
: 182329 183152 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-05 17:41 UTC by Jiri Tyr
Modified: 2009-02-04 19:09 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Tyr 2009-01-05 17:41:48 UTC
Version:            (using Devel)
Compiler:          gcc (GCC) 4.1.2 Gentoo 4.1.2 p1.1
OS:                Linux
Installed from:    Compiled sources

When I lock my screen with CTRL+ALT+L, the screensaver appears on the screen, but if I move with the mouse, the screensaver crashes with this error:

Application: KRunner Locker (krunner_lock), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007fa6f112b7e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 21847)]

Thread 2 (Thread 0x4103e950 (LWP 21848)):
#0  0x00007fa6f11530c2 in select () from /lib/libc.so.6
#1  0x00007fa6f2be316e in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fa6f2b23142 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fa6f28b3047 in start_thread () from /lib/libpthread.so.0
#4  0x00007fa6f115928d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa6edbd9750 (LWP 21847)):
[KCrash Handler]
#5  0x00007fa6eafbbf92 in xkl_process_error () from /usr/lib/libxklavier.so.12
#6  0x00007fa6f466066e in _XError () from /usr/lib/libX11.so.6
#7  0x00007fa6f466229b in _XReply () from /usr/lib/libX11.so.6
#8  0x00007fa6f464b45e in XInternAtom () from /usr/lib/libX11.so.6
#9  0x00007fa6eafbb8fd in ?? () from /usr/lib/libxklavier.so.12
#10 0x00007fa6ead7f7cf in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#11 0x00007fa6ead802ad in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#12 0x00007fa6ead80451 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#13 0x00007fa6eafbb6fd in xkl_engine_get_instance () from /usr/lib/libxklavier.so.12
#14 0x00007fa6eb1e04cc in ?? () from /usr/kde/4.2/lib64/libkdeinit4_kxkb.so
#15 0x00007fa6eb1e06c9 in ?? () from /usr/kde/4.2/lib64/libkdeinit4_kxkb.so
#16 0x00007fa6eb1da398 in ?? () from /usr/kde/4.2/lib64/libkdeinit4_kxkb.so
#17 0x00007fa6eb1e4819 in ?? () from /usr/kde/4.2/lib64/libkdeinit4_kxkb.so
#18 0x00007fa6eb1e4942 in ?? () from /usr/kde/4.2/lib64/libkdeinit4_kxkb.so
#19 0x00007fa6eb1e851a in ?? () from /usr/kde/4.2/lib64/libkdeinit4_kxkb.so
#20 0x00007fa6eb1e8f63 in KPluginFactory::createInstance<KxkbPart, QWidget> () from /usr/kde/4.2/lib64/libkdeinit4_kxkb.so
#21 0x00007fa6f3338a4c in KPluginFactory::create () from /usr/kde/4.2/lib64/libkdecore.so.5
#22 0x00000000004194b2 in _start ()

I'm using KDE 4.1.87 on Gentoo Linux where the packages are from kde-testing overlay. Then I'm using QT version 4.2.2 from the standard Gentoo Portage Tree.
Comment 1 Dario Andres 2009-01-05 22:16:43 UTC
If you can reproduce the crash at will, can you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 Jiri Tyr 2009-01-06 14:33:35 UTC
(In reply to comment #1)
> If you can reproduce the crash at will, can you read
> http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
> and post a complete backtrace here? Thanks :)

I have recompiled all QT and KDE packages after I modified the system settings to support proper debugging and this is the result of the same crash as described above:

Application: KRunner Locker (krunner_lock), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007fb8668497e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 29819)]

Thread 2 (Thread 0x419e3950 (LWP 29820)):
#0  0x00007fb8668710c2 in select () from /lib/libc.so.6
#1  0x00007fb86838a7ae in QProcessManager::run (this=0xdde2f0) at io/qprocess_unix.cpp:307
#2  0x00007fb8682bdf82 in QThreadPrivate::start (arg=0xdde2f0) at thread/qthread_unix.cpp:191
#3  0x00007fb86804a047 in start_thread () from /lib/libpthread.so.0
#4  0x00007fb86687728d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb8632f1750 (LWP 29819)):
[KCrash Handler]
#5  0x00007fb85ec2ff92 in xkl_process_error () from /usr/lib/libxklavier.so.12
#6  0x00007fb869e1c66e in _XError () from /usr/lib/libX11.so.6
#7  0x00007fb869e1e29b in _XReply () from /usr/lib/libX11.so.6
#8  0x00007fb869e0745e in XInternAtom () from /usr/lib/libX11.so.6
#9  0x00007fb85ec2f8fd in ?? () from /usr/lib/libxklavier.so.12
#10 0x00007fb85e9f37cf in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#11 0x00007fb85e9f42ad in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#12 0x00007fb85e9f4451 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#13 0x00007fb85ec2f6fd in xkl_engine_get_instance () from /usr/lib/libxklavier.so.12
#14 0x00007fb85ee561c3 in XKlavierAdaptor (this=0x112a6b0, dpy=0xdf5330) at /var/tmp/portage/kde-base/systemsettings-4.1.87/work/systemsettings-4.1.87/kcontrol/kxkb/xklavier_adaptor.cpp:62
#15 0x00007fb85ee56299 in XKlavierAdaptor::getInstance (dpy=0xdf5330) at /var/tmp/portage/kde-base/systemsettings-4.1.87/work/systemsettings-4.1.87/kcontrol/kxkb/xklavier_adaptor.cpp:289
#16 0x00007fb85ee4e9d4 in XkbRules::loadNewRules (this=0x1092d40, layoutsOnly=false) at /var/tmp/portage/kde-base/systemsettings-4.1.87/work/systemsettings-4.1.87/kcontrol/kxkb/rules.cpp:77
#17 0x00007fb85ee5805e in KxkbCore::settingsRead (this=0x1037340) at /var/tmp/portage/kde-base/systemsettings-4.1.87/work/systemsettings-4.1.87/kcontrol/kxkb/kxkbcore.cpp:213
#18 0x00007fb85ee58502 in KxkbCore::newInstance (this=0x1037340) at /var/tmp/portage/kde-base/systemsettings-4.1.87/work/systemsettings-4.1.87/kcontrol/kxkb/kxkbcore.cpp:109
#19 0x00007fb85ee5cf16 in KxkbPart (this=0xfeabe0, parent=0x7fff72cfd900, args=<value optimized out>)
    at /var/tmp/portage/kde-base/systemsettings-4.1.87/work/systemsettings-4.1.87/kcontrol/kxkb/kxkb_part.cpp:51
#20 0x00007fb85ee5d61d in KPluginFactory::createInstance<KxkbPart, QWidget> (parentWidget=<value optimized out>, parent=<value optimized out>, args=@0x7fff72cfd730)
    at /usr/kde/4.2/include/KDE/../kpluginfactory.h:461
#21 0x00007fb868af1a4c in KPluginFactory::create () from /usr/kde/4.2/lib64/libkdecore.so.5
#22 0x000000000041ad4f in KPluginFactory::create<QWidget> (this=0xf57fb0, parent=0x7fff72cfd900, args=@0x7fff72cfd730) at /usr/kde/4.2/include/KDE/../kpluginfactory.h:491
#23 0x000000000041970d in PasswordDlg (this=0x7fff72cfd900, parent=<value optimized out>, plugin=<value optimized out>, text=@0x7fff72cfdb70)
    at /var/tmp/portage/kde-base/krunner-4.1.87/work/krunner-4.1.87/krunner/lock/lockdlg.cc:120
#24 0x000000000041016d in LockProcess::checkPass (this=0x7fff72cfe7d0) at /var/tmp/portage/kde-base/krunner-4.1.87/work/krunner-4.1.87/krunner/lock/lockprocess.cc:1134
#25 0x000000000041379a in LockProcess::x11Event (this=0x7fff72cfe7d0, event=0x7fff72cfe500) at /var/tmp/portage/kde-base/krunner-4.1.87/work/krunner-4.1.87/krunner/lock/lockprocess.cc:1317
#26 0x00007fb86a70230e in KApplication::x11EventFilter () from /usr/kde/4.2/lib64/libkdeui.so.5
#27 0x000000000041ce46 in MyApp::x11EventFilter (this=0x7fff72cfe940, ev=0x7fff72cfe500) at /var/tmp/portage/kde-base/krunner-4.1.87/work/krunner-4.1.87/krunner/lock/main.cc:53
#28 0x00007fb86747718f in qt_x11EventFilter (ev=0x7fff72cfe500) at kernel/qapplication_x11.cpp:367
#29 0x00007fb867484417 in QApplication::x11ProcessEvent (this=0x7fff72cfe940, event=0x7fff72cfe500) at kernel/qapplication_x11.cpp:2924
#30 0x00007fb8674a9c42 in QEventDispatcherX11::processEvents (this=0xddcc20, flags=@0x7fff72cfe6d0) at kernel/qeventdispatcher_x11.cpp:134
#31 0x00007fb8683aa7f5 in QEventLoop::processEvents (this=<value optimized out>, flags=@0x7fff72cfe710) at kernel/qeventloop.cpp:149
#32 0x00007fb8683aa95a in QEventLoop::exec (this=0x7fff72cfe750, flags=@0x7fff72cfe760) at kernel/qeventloop.cpp:200
#33 0x00007fb8683aca8e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#34 0x000000000041c927 in main (argc=2, argv=0x7fff72cfed98) at /var/tmp/portage/kde-base/krunner-4.1.87/work/krunner-4.1.87/krunner/lock/main.cc:171
#35 0x00007fb8667d4b74 in __libc_start_main () from /lib/libc.so.6
#36 0x000000000040eb09 in _start ()

Please let me know if it is useful or not to I can change the system settings back to the standard.
Comment 3 Jiri Tyr 2009-01-06 14:35:46 UTC
I'm not sure, but maybe it's important to mention that I'm running amd64.
Comment 4 Dario Andres 2009-01-06 14:39:04 UTC
It seems to be a KXkb/XKlavier bug 
Comment 5 Jiri Tyr 2009-01-06 14:54:57 UTC
(In reply to comment #4)
> It seems to be a KXkb/XKlavier bug 

Well, it happen either when I press CTRL+ALT+L or when I press "Lock icon" on the Lock/Logout widget.
Comment 6 Andriy Rysin 2009-01-08 04:38:41 UTC
I am not sure I'll be abel to help much here, the problem seems not in kxkb but rather somewhere between libxklavier/glib/libX11.
I'd suggest to make sure that all those libs were compiled properly but I am not familiar with Gentoo so I am not sure how to do it. I guess you could try to upgrade those libs to the latest versions available.
Comment 7 Jiri Tyr 2009-01-09 15:57:52 UTC
(In reply to comment #6)
> I am not sure I'll be abel to help much here, the problem seems not in kxkb but
> rather somewhere between libxklavier/glib/libX11.
> I'd suggest to make sure that all those libs were compiled properly but I am
> not familiar with Gentoo so I am not sure how to do it. I guess you could try
> to upgrade those libs to the latest versions available.
 
I have recompiled all packages in the system with USE="debug". This should give complete backtrace of the error if any system crashes. I recompiled also all x11 libs and apps so I'm pretty sure that everything is compiled properly.

The conclusion is that the Lock Screen is still crashing but I have got one more indication. When I'm trying to logout of the KDE, the screensaver appears on the screen for few seconds and then the KDM is normally shown.

This behavior was not present in KDE 4.1.85, it comes up with KDE 4.1.87.

Please try to investigate a bit more, because it costed me a lot of effort to recompile all the system and give you as precise information as possible.
Comment 8 Jiri Tyr 2009-01-09 21:03:03 UTC
Maybe some more information would help you:

$ krunner
krunner(28018) SaverEngine::enable: Saver Engine disabled  
krunner(28018)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-tyr/ksycoca4"
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                           
krunner(28018)/plasma RecentDocuments::loadRecentDocuments:  Refreshing recent documents.                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate: Available methods:  ("Stat", "FAM", "INotify")           
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/tyr/.kde4.2/share/apps/RecentDocuments" for "" ["KDirWatch-1"]
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/apps/RecentDocuments/1225218210--550x420.JPG.desktop" for "" ["KDirWatch-1"]
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                          
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                      
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/apps/RecentDocuments/49652A8B2DB3C197A8270200.jpg.desktop" for "" ["KDirWatch-1"]
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                               
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                           
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/apps/RecentDocuments/dejiny-mezinarodnich-vztahu-11980605.desktop" for "" ["KDirWatch-1"]                                                                                                                                                                                
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/apps/RecentDocuments/krunner_lock.kcrash.desktop" for "" ["KDirWatch-1"]             
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/apps/RecentDocuments/lcd4010_lcd4610.pdf.desktop" for "" ["KDirWatch-1"]             
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/apps/RecentDocuments/m3c57eaf9.desktop" for "" ["KDirWatch-1"]                       
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/apps/RecentDocuments/opengl-4-zakladni-geometricke-utvary.desktop" for "" ["KDirWatch-1"]                                                                                                                                                                                
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/apps/RecentDocuments/profile.fcgi.desktop" for "" ["KDirWatch-1"]                    
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/apps/RecentDocuments/watch.desktop" for "" ["KDirWatch-1"]                           
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Recent Documents"                                                                              
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Web Shortcuts"                                                                                 
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Bookmarks"                                                                                     
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Desktop Sessions"                                                                              
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.local/share//user-places.xbel" for "" ["KDirWatch-2"]                                             
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/home/tyr/.local/share//user-places.xbel"                                               
krunner(28018)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")                                                                                   
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Places"                                                                                        
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
krunner(28018) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath:  not found"                                                                                    
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Applications"                                                                                  
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Command Line"                                                                                  
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
krunner(28018) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath:  not found"                                                                                    
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/tyr/.kde4.2/share/config/powerdevilprofilesrc" for "" ["KDirWatch-4"]                                  
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                                   
krunner(28018)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                               
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "PowerDevil"                                                                                    
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
"/usr/kde/4.2/bin/krunner(28018)" Error in thread 139947620927312 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                                                               
"/usr/kde/4.2/bin/krunner(28018)" Error in thread 139947620927312 : "QLocalSocket::connectToServer: Invalid name"                                                                   
krunner(28018) <unnamed>::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/tyr/.kde4.2/share/apps/nepomuk/socket"                            
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Nepomuk Desktop Search Runner"                                                                 
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Calculator"                                                                                    
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: tryExec is ""                                                                                                   
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: loading runner: "Locations"                                                                                     
krunner(28018)/libplasma Plasma::RunnerManagerPrivate::loadRunners: All runners loaded, total: 11                                                                                   
krunner(28018)/kio (Slave) KIO::Slave::createSlave: createSlave "trash" for KUrl("trash:/")                                                                                         
krunner(28018)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-tyr/krunnerT28018.slave-socket"                                        
krunner(28018)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x20e3390) )                                            
krunner(28018)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("trash:/")                              
krunner(28018) SaverEngine::startLockProcess: SaverEngine: starting saver                                                                                                           
krunner_lock(28021)/krunner main: app  0   0   false   0   0                                                                                                                        
krunner_lock(28021)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-tyr/ksycoca4"                                                   
krunner_lock(28021)/plasma LockProcess::readSaver: mForbidden:  false                                                                                                               
krunner_lock(28021)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "krunner_lock"                                                                                          
krunner_lock(28021)/plasma LockProcess::createSaverWindow: Saver window Id:  54525958                                                                                               
krunner_lock(28021)/plasma LockProcess::startHack: Starting hack: "kscience.kss -root"                                                                                              
krunner_lock(28021)/plasma LockProcess::loadGreetPlugin: GreeterPlugin  "classic"  ( classic ,  Username + password (classic) ) loaded                                              
krunner(28018) SaverEngine::saverLockReady: Saver Lock Ready                                                                                                                        
krunner_lock(28021)/krunner LockProcess::x11Event: MapNotify: 54525958                                                                                                              
krunner_lock(28021)/krunner LockProcess::x11Event: not fully obscured                                                                                                               
krunner_lock(28021)/krunner LockProcess::x11Event: not fully obscured                                                                                                               
X Error: BadAccess (attempt to access private resource denied) 10                                                                                                                   
  Major opcode: 2 (X_ChangeWindowAttributes)                                                                                                                                        
  Resource id:  0x3400006                                                                                                                                                           
QEventDispatcherUNIX::unregisterTimer: invalid argument                                                                                                                             
krunner_lock(28021)/kdecore (KLibLoader) findLibraryInternal: plugins should not have a 'lib' prefix: "libkdeinit4_kxkb.so"                                                         
krunner_lock(28021)/kdecore (KLibLoader) findLibraryInternal: library "libkdeinit4_kxkb.so" not found under 'module' but under 'lib'                                                
krunner_lock(28021) XKBExtension::init: XKB inited                                                                                                                                  
krunner_lock(28021) X11Helper::registerForNewDeviceEvent: Registered for new device events from XInput, class 116                                                                   
krunner_lock(28021) KxkbConfig::load: Use kxkb true                                                                                                                                 
krunner_lock(28021) KxkbConfig::load: Indicator only false                                                                                                                          
krunner_lock(28021) KxkbConfig::load: Model: "pc104"                                                                                                                                
krunner_lock(28021) KxkbConfig::load:  added layout "us"                                                                                                                            
krunner_lock(28021) KxkbConfig::load:  added layout "cz"                                                                                                                            
krunner_lock(28021) KxkbConfig::load: Layout owner mode "Window"                                                                                                                    
krunner_lock(28021) KxkbConfig::load: Xkb options: ("compose:win")                                                                                                                  
KCrash: crashing... crashRecursionCounter = 2                                                                                                                                       
KCrash: Application Name = krunner_lock path = <unknown> pid = 28021                                                                                                                
sock_file=/home/tyr/.kde4.2/socket-videosrv1/kdeinit4__0                                                                                                                            
X Error: BadDrawable (invalid Pixmap or Window parameter) 9                                                                                                                         
  Major opcode: 72 (X_PutImage)                                                                                                                                                     
  Resource id:  0x3400006                                                                                                                                                           
X Error: BadDrawable (invalid Pixmap or Window parameter) 9                                                                                                                         
  Major opcode: 72 (X_PutImage)                                                                                                                                                     
  Resource id:  0x3400006                                                                                                                                                           
X Error: BadDrawable (invalid Pixmap or Window parameter) 9                                                                                                                         
  Major opcode: 72 (X_PutImage)                                                                                                                                                     
  Resource id:  0x3400006                                                                                                                                                           
X Error: BadDrawable (invalid Pixmap or Window parameter) 9                                                                                                                         
  Major opcode: 72 (X_PutImage)                                                                                                                                                     
  Resource id:  0x3400006


... and this repeats untill I kill the screensaver (killall -9 kscience.kss). Krunner stays running even after the kill of the screensaver and it is giving some more messages:


krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4197cec0) "k"
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4197cec0) waiting for match cnt 1                                
krunner(28018)/kdeui (KNotification) KNotification::slotReceivedId: 0                                                                        
krunner(28018)/kdeui (KNotification) KNotification::close: 0                                                                                 
krunner(28018)/kdeui (KNotification) KNotification::~KNotification: -2                                                                       
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4197cec0) running match cnt 1                                    
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4197cec0) "kw"                                                   
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4197cec0) waiting for match cnt 2                                
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x42e70ec0) "kwrite"                                               
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x42e70ec0) waiting for match cnt 3
QObject: Do not delete object, 'unnamed', during its event handler!
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4117bec0) "kwr"
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4117bec0) waiting for match cnt 4
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4197cec0) deprecated match cnt 2
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4197cec0) "kwrite"
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4197cec0) waiting for match cnt 5
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x42e70ec0) deprecated match cnt 3
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x42e70ec0) "kwri"
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x42e70ec0) waiting for match cnt 6
QObject: Do not delete object, 'unnamed', during its event handler!
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4117bec0) deprecated match cnt 4
krunner(28018)/libplasma Plasma::AbstractRunner::performMatch: "" runner is faster than we thought, kicking it up a notch
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4117bec0) "kwrite"
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4117bec0) waiting for match cnt 7
QObject: Do not delete object, 'unnamed', during its event handler!
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4197cec0) deprecated match cnt 5
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x42e70ec0) deprecated match cnt 6
krunner(28018)/plasma Nepomuk::SearchRunner::match: Plasma::RunnerContext(0x4117bec0) running match cnt 7
Comment 9 Andriy Rysin 2009-01-10 17:04:28 UTC
could you please also compile libxklavier with debug flags and try again? the problem seems to be in libxklavier, but currently there's no clear info where exactly
Comment 10 Jiri Tyr 2009-01-12 17:55:34 UTC
(In reply to comment #9)
> could you please also compile libxklavier with debug flags and try again? the
> problem seems to be in libxklavier, but currently there's no clear info where
> exactly

Sorry, but the libxklavier can not be compilet with the debug USE flag.
Comment 11 Andriy Rysin 2009-01-15 01:07:05 UTC
Well one more thing I could suggest is to compile glib with debug flags, as it's actually loosing stack trace in glib call.

I've talked to libxklavier maintainer and he could not suggest anything, it's an init call so there's not much parameters besides display so it's hard to imagine what's failing here.
Comment 12 Jiri Tyr 2009-01-22 18:21:12 UTC
(In reply to comment #11)
> Well one more thing I could suggest is to compile glib with debug flags, as
> it's actually loosing stack trace in glib call.

Glib is already compiled with the debug flag.

I just wanna mention that the problem persist even in KDE 4.1.96 on both of my machines (x86 and amd64, both with nvidia driver and xorg 7.2).
Comment 13 thelema 2009-01-29 17:24:39 UTC
I can confirm this problem as well. Compiled 4.2 yesterday, on a x86 Gentoo installation. I've upgraded libxklavier, glib and libX11 to recent versions. Could this be a Gentoo specific issue?
Comment 14 Jiri Tyr 2009-01-29 20:18:17 UTC
(In reply to comment #13)
> Could this be a Gentoo specific issue?

As far it looks like to me :o( I tried to consult this problem with the Gentoo KDE Team on the IRC channel #gentoo-kde but without any result. It looks like we are the only two people fighting with this problem :o( For the time being, I'm using xlock as a replacement of the KDE screensaver. But I would like to have my nice OpenGL screensaver back again! ;o)
Comment 15 Dario Andres 2009-01-29 22:22:26 UTC
*** Bug 182329 has been marked as a duplicate of this bug. ***
Comment 16 Andrey "Zed" Zaikin 2009-01-30 09:36:11 UTC
Hey, I have this problem too! :(
Tried to change permissions on kcheckpass and krunner_lock, but no luck.
Comment 17 Jiri Tyr 2009-01-30 17:11:08 UTC
I have discussed the problem on #gentoo-desktop channel and even if they did not help me to solve the problem, I have got at least a better backtrace.

make.conf setting:
* add -ggdb into the CFLAGS
* add splitdebug and installsources into the FEATURES
* USE="debug" is not really necessary
* installed dev-util/debugedit

--------------

Application: KRunner Locker (krunner_lock), signal SIGSEGV
0x00007ff1df2927e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 28293)]

Thread 2 (Thread 0x4138d950 (LWP 28294)):
#0  0x00007ff1df2ba0c2 in select () from /lib/libc.so.6
#1  0x00007ff1e0d4a13e in QProcessManager::run (this=0x14645e0) at io/qprocess_unix.cpp:307
#2  0x00007ff1e0c8a142 in QThreadPrivate::start (arg=0x14645e0) at thread/qthread_unix.cpp:191
#3  0x00007ff1e0a1a047 in start_thread (arg=<value optimized out>) at pthread_create.c:296
#4  0x00007ff1df2c028d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff1e3762750 (LWP 28293)):
[KCrash Handler]
#5  xkl_process_error (dpy=0x147b600, evt=0x7fffeb89eb40) at xklavier_evt.c:487
#6  0x00007ff1e29bc5ce in _XError (dpy=0x147b600, rep=<value optimized out>) at XlibInt.c:2905
#7  0x00007ff1e29be1fb in _XReply (dpy=0x147b600, rep=0x7fffeb89ec80, extra=0, discard=1) at XlibInt.c:1831
#8  0x00007ff1e29a73be in XInternAtom (dpy=0x147b600, name=0x7ff1d915c127 "WM_NAME", onlyIfExists=<value optimized out>) at IntAtom.c:184
#9  0x00007ff1d91538fd in xkl_engine_constructor (type=<value optimized out>, n_construct_properties=<value optimized out>, construct_properties=0x1561250) at xklavier.c:644
#10 0x00007ff1d8f177cf in IA__g_object_newv (object_type=22953648, n_parameters=1, parameters=0x15aeb40) at gobject.c:937
#11 0x00007ff1d8f182ad in IA__g_object_new_valist (object_type=22953648, first_property_name=0x0, var_args=0x7fffeb89ef00) at gobject.c:1027
#12 0x00007ff1d8f18451 in IA__g_object_new (object_type=22953648, first_property_name=0x7ff1d915bec4 "display") at gobject.c:795
#13 0x00007ff1d91536fd in xkl_engine_get_instance (display=0x147b600) at xklavier.c:213
#14 0x00007ff1d93784cc in XKlavierAdaptor (this=0x16f0090, dpy=0x147b600) at /usr/src/debug/kde-base/systemsettings-4.2.0/systemsettings-4.2.0/kcontrol/kxkb/xklavier_adaptor.cpp:62
#15 0x00007ff1d93786c9 in XKlavierAdaptor::getInstance (dpy=0x147b600) at /usr/src/debug/kde-base/systemsettings-4.2.0/systemsettings-4.2.0/kcontrol/kxkb/xklavier_adaptor.cpp:289
#16 0x00007ff1d9372398 in XkbRules::loadNewRules (this=0x1529eb0, layoutsOnly=false) at /usr/src/debug/kde-base/systemsettings-4.2.0/systemsettings-4.2.0/kcontrol/kxkb/rules.cpp:77
#17 0x00007ff1d937c819 in KxkbCore::settingsRead (this=0x15def60) at /usr/src/debug/kde-base/systemsettings-4.2.0/systemsettings-4.2.0/kcontrol/kxkb/kxkbcore.cpp:213
#18 0x00007ff1d937c942 in KxkbCore::newInstance (this=0x15def60) at /usr/src/debug/kde-base/systemsettings-4.2.0/systemsettings-4.2.0/kcontrol/kxkb/kxkbcore.cpp:109
#19 0x00007ff1d938051a in KxkbPart (this=0x15b8af0, parent=<value optimized out>, args=<value optimized out>)
    at /usr/src/debug/kde-base/systemsettings-4.2.0/systemsettings-4.2.0/kcontrol/kxkb/kxkb_part.cpp:51
#20 0x00007ff1d9380f63 in KPluginFactory::createInstance<KxkbPart, QWidget> (parentWidget=<value optimized out>, parent=<value optimized out>, args=@0x7fffeb89f490)
    at /usr/kde/4.2/include/kpluginfactory.h:461
#21 0x00007ff1e14a212c in KPluginFactory::create () from /usr/kde/4.2/lib64/libkdecore.so.5
#22 0x00000000004194a2 in _start ()
Comment 18 Jiri Tyr 2009-01-30 17:16:15 UTC
I have forgotten to mention the version of the libraries. So here it goes:

libxklavier-3.6
glib-2.16.5
glibc-2.6.1
qt-4.4.2
kde-4.2.0
Comment 19 thelema 2009-01-30 20:09:26 UTC
Fixed the problem today! An ebuild with ~x86 dependencies forced me to upgrade xorg, mesa etc. I'm normally running a x86 environment, but alas, there's always an application that one desire to be as current as possible; henceforth I'd suggest that one or a combination of the following packages is/are the culprit(s):


x11-proto/inputproto-1.5.0
x11-libs/xtrans-1.2.3
x11-proto/renderproto-0.9.3
x11-proto/xf86driproto-2.0.4
x11-proto/xextproto-7.0.4
x11-libs/libXext-1.0.4
x11-libs/libXrender-0.9.4
x11-libs/libXxf86vm-1.0.2
x11-libs/goffice-0.6.4
x11-base/xorg-server-1.4.2
x11-drivers/xf86-input-keyboard-1.3.2
x11-drivers/nvidia-drivers-180.25
x11-drivers/xf86-input-mouse-1.2.3
x11-drivers/synaptics-0.14.6

Please report back if you can narrow the list!
Comment 20 thelema 2009-01-30 20:28:12 UTC
Forgot an ebuild:

media-libs/mesa-7.2

(And btw, by "culprit", I mean these are the upgraded versions installed today.)

;P
Comment 21 Jiri Tyr 2009-01-31 01:26:48 UTC
(In reply to comment #20)
> Forgot an ebuild:
> 
> media-libs/mesa-7.2
> 
> (And btw, by "culprit", I mean these are the upgraded versions installed
> today.)
> 
> ;P

I can confirm that upgrade of the xorg-x11 to the version 7.4 fixes the problem!
Comment 22 Andriy Rysin 2009-02-01 06:10:18 UTC
glad it works, shall we close the bug?
Comment 23 Larry Sanderson 2009-02-01 15:31:09 UTC
(In reply to comment #21)
> (In reply to comment #20)
> > Forgot an ebuild:
> > 
> > media-libs/mesa-7.2
> > 
> > (And btw, by "culprit", I mean these are the upgraded versions installed
> > today.)
> > 
> > ;P
> 
> I can confirm that upgrade of the xorg-x11 to the version 7.4 fixes the
> problem!
> 

Confirmed for me as well.
Comment 24 thelema 2009-02-01 17:44:22 UTC
(In reply to comment #22)
> glad it works, shall we close the bug?
> 

Go ahead, seems to be identified and resolved. Thank you all for your input and assistance!
Comment 25 Dario Andres 2009-02-01 18:07:51 UTC
I'm glad it works now
Comment 26 Dario Andres 2009-02-04 19:09:56 UTC
*** Bug 183152 has been marked as a duplicate of this bug. ***