Bug 323778

Summary: libkscreen crashes when unloading xrandr1.1 backend
Product: [Plasma] KScreen Reporter: Michael Chalvatzis <glykos>
Component: libkscreenAssignee: Alex Fiestas <afiestas>
Status: RESOLVED FIXED    
Severity: crash CC: dvratil, glykos, lachs0r
Priority: NOR    
Version: 1.0.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.2
Sentry Crash Report:
Attachments: xorg.conf
Xorg.log

Description Michael Chalvatzis 2013-08-20 13:38:46 UTC
Created attachment 81804 [details]
xorg.conf

The kded daemon crashes during KDe startup. I could narrow it down to the point that disabling the xinerama option makes kded to run OK.

Outputs:
chalvatz@xxx:~$ kded4
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kded(12149)/KSharedDataCache KSharedDataCache::insert: Overwriting existing cached entry due to collision.
kded(12149)/KSharedDataCache KSharedDataCache::insert: Overwriting existing cached entry due to collision.
kded(12149)/KSharedDataCache KSharedDataCache::insert: Overwriting existing cached entry due to collision.
kded(12149)/KSharedDataCache KSharedDataCache::insert: Overwriting existing cached entry due to collision.
kded(12149)/KSharedDataCache KSharedDataCache::insert: Overwriting existing cached entry due to collision.
kded(12149)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-chalvatz/ksycoca4"
kded(12149)/networkstatus ntrackstate2solidstatus: ntrackstate2solidstatus changed status:  1
kded(12149)/networkstatus NetworkStatusModule::registerNetwork: "ntrack" , with status  4  is owned by  ""
kded(12149)/networkstatus NetworkStatusModule::registerNetwork: "SolidNetwork" , with status  4  is owned by  ":1.179"
kded(12149) KDEDModule::setModuleName: registerObject() successful for  "networkstatus"
kded(12149)/kded4 Kded::loadModule: Successfully loaded module "networkstatus"
kded(12149)/networkstatus NetworkStatusModule::status:  status:  4
kded(12149)/networkstatus NetworkStatusModule::status:  status:  4
kded(12149)/networkstatus NetworkStatusModule::status:  status:  4
kded(12149)/networkstatus NetworkStatusModule::status:  status:  4
kded(12149)/networkstatus NetworkStatusModule::status:  status:  4
kded(12149)/networkstatus NetworkStatusModule::status:  status:  4
kded(12149)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate: INotify available:  true
kded(12149)/kdecore (KStartupInfo) KStartupInfo::createNewStartupId: creating:  "shining;1377005738;826622;12149_TIME0" : "kded4"
kded(12149)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-chalvatz/ksycoca4"
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.kde/share/kde4/servicetypes" NotExisting for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.kde/share/kde4" for "/home/chalvatz/.kde/share/kde4/servicetypes" [""]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/servicetypes" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.local/share/mime" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.local/share/mime/packages" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.local/share/mime/video" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/all" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/application" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/audio" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/image" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/inode" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/message" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/model" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/multipart" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/packages" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/text" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/uri" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/video" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/x-content" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/x-epoc" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.kde/share/kde4/services" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/akonadi" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/akonadi/contact" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/akonadi/davgroupware-providers" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kded" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kexi" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kformdesigner" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kontact" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/korganizer" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kresources" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kresources/kabc" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kresources/kcal" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kresources/knotes" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kwin" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/phononbackends" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/qimageioplugins" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/ScreenSavers" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/searchproviders" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/ServiceMenus" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/solidbackends" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/useragentstrings" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/etc/xdg/menus" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/etc/xdg/menus/applications-merged" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.config/menus" NotExisting for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.config" for "/home/chalvatz/.config/menus" [""]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.local/share/applications" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/local/share/applications" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/applications" for "" ["KDirWatch-1"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/applications/kde4" for "" ["KDirWatch-1"]
kded(12149) ColorD::connectToDisplay: RandR extension missing 
kded(12149) ColorD::ColorD: Failed to connect to DISPLAY and get the needed resources 
kded(12149) KDEDModule::setModuleName: registerObject() successful for  "colord"
kded(12149)/kded4 Kded::loadModule: Successfully loaded module "colord"
kded(12149) KDEDModule::setModuleName: registerObject() successful for  "dnssdwatcher"
kded(12149)/kded4 Kded::loadModule: Successfully loaded module "dnssdwatcher"
kded(12149) KDEDModule::setModuleName: registerObject() successful for  "powerdevil"
kded(12149)/kded4 Kded::loadModule: Successfully loaded module "powerdevil"
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/usr/share/zoneinfo/zone.tab" for "" ["KDirWatch-2"]
kded(12149)/ktimezoned KTimeZoned::checkTimezone: /etc/timezone:  "Europe/Berlin"
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/etc/timezone" for "" ["KDirWatch-3"]
kded(12149)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/usr/share/zoneinfo/Europe/Berlin" for "" ["KDirWatch-3"]
kded(12149) KDEDModule::setModuleName: registerObject() successful for  "ktimezoned"
kded(12149)/kded4 Kded::loadModule: Successfully loaded module "ktimezoned"
kded(12149): BEGIN: Loading backend
Xlib:  extension "RANDR" missing on display ":0".
kded(12149)   XRandR::XRandR: XRandR extension not available or unsupported version
kded(12149)   BackendLoader::init: Skipping "XRandR" backend
Xlib:  extension "RANDR" missing on display ":0".
kded(12149)/KSRandr11   XRandRX11Helper::XRandRX11Helper: Detected XRandR 3014705.7274611
kded(12149)/KSRandr11   XRandRX11Helper::XRandRX11Helper: Event Base:  6553710
kded(12149)/KSRandr11   XRandRX11Helper::XRandRX11Helper: Event Error:  3211346
Xlib:  extension "RANDR" missing on display ":0".
Can't get XRandR version 
kded(12149)   BackendLoader::init: Skipping "XRandR 1.1" backend
kded4: Fatal IO error: client killed
kded(12148): Communication problem with  "kded" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 

chalvatz@shining:~$ kscreen-console bug
START                                                                                                                                                                              
Xlib:  extension "RANDR" missing on display ":0".                                                                                                                                  
Xlib:  extension "RANDR" missing on display ":0".                                                                                                                                  
kscreen-console(12212)/KSRandr11 XRandRX11Helper::XRandRX11Helper: Detected XRandR 3014705.7274611                                                                                 
kscreen-console(12212)/KSRandr11 XRandRX11Helper::XRandRX11Helper: Event Base:  6553710                                                                                            
kscreen-console(12212)/KSRandr11 XRandRX11Helper::XRandRX11Helper: Event Error:  3211346                                                                                           
Xlib:  extension "RANDR" missing on display ":0".                                                                                                                                  
Can't get XRandR version                                                                                                                                                           
kscreen-console: Fatal IO error: client killed
Comment 1 Michael Chalvatzis 2013-08-20 13:40:10 UTC
Created attachment 81805 [details]
Xorg.log
Comment 2 Jekyll Wu 2013-08-20 13:48:02 UTC
could you also provide the backtrace of the crashed kded ?
Comment 3 Michael Chalvatzis 2013-08-20 13:56:07 UTC
how can I provide the backtrace? sorry to ask you!
Comment 4 Jekyll Wu 2013-08-20 14:09:34 UTC
Normally, a dialog (known as Dr.Konqi) should appear after the crash, and you can get the backtrace in the second tab of the dialog.
Comment 5 Michael Chalvatzis 2013-08-20 14:10:42 UTC
nope I do not get the dialog. I tried it with gdb:
chalvatz@shining:~$ gdb kded4
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".                                                                                                                                                                                                                                 
For bug reporting instructions, please see:                                                                                                                                                                                                                                    
<http://www.gnu.org/software/gdb/bugs/>...                                                                                                                                                                                                                                     
Reading symbols from /usr/bin/kded4...Reading symbols from /usr/lib/debug/usr/bin/kded4...done.                                                                                                                                                                                
done.                                                                                                                                                                                                                                                                          
(gdb) run                                                                                                                                                                                                                                                                      
Starting program: /usr/bin/kded4                                                                                                                                                                                                                                               
[Thread debugging using libthread_db enabled]                                                                                                                                                                                                                                  
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".                                                                                                                                                                                                     
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.                                                                                                                                                                          
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.                                                                                                                                                                          
kded(12656)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-chalvatz/ksycoca4"                                                                                                                                                  
kded(12656) KDEDModule::setModuleName: registerObject() successful for  "networkstatus"                                                                                                                                                                                        
kded(12656)/kded4 Kded::loadModule: Successfully loaded module "networkstatus"                                                                                                                                                                                                 
kded(12656)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-chalvatz/ksycoca4"                                                                                                                                                  
kded(12656) ColorD::connectToDisplay: RandR extension missing                                                                                                                                                                                                                  
kded(12656) ColorD::ColorD: Failed to connect to DISPLAY and get the needed resources                                                                                                                                                                                          
kded(12656) KDEDModule::setModuleName: registerObject() successful for  "colord"                                                                                                                                                                                               
kded(12656)/kded4 Kded::loadModule: Successfully loaded module "colord"                                                                                                                                                                                                        
kded(12656) KDEDModule::setModuleName: registerObject() successful for  "dnssdwatcher"                                                                                                                                                                                         
kded(12656)/kded4 Kded::loadModule: Successfully loaded module "dnssdwatcher"                                                                                                                                                                                                  
kded(12656) KDEDModule::setModuleName: registerObject() successful for  "powerdevil"                                                                                                                                                                                           
kded(12656)/kded4 Kded::loadModule: Successfully loaded module "powerdevil"                                                                                                                                                                                                    
kded(12656) KDEDModule::setModuleName: registerObject() successful for  "ktimezoned"                                                                                                                                                                                           
kded(12656)/kded4 Kded::loadModule: Successfully loaded module "ktimezoned"                                                                                                                                                                                                    
kded(12656): BEGIN: Loading backend                                                                                                                                                                                                                                            
Xlib:  extension "RANDR" missing on display ":0".                                                                                                                                                                                                                              
kded(12656)   XRandR::XRandR: XRandR extension not available or unsupported version                                                                                                                                                                                            
kded(12656)   BackendLoader::init: Skipping "XRandR" backend                                                                                                                                                                                                                   
Xlib:  extension "RANDR" missing on display ":0".                                                                                                                                                                                                                              
kded(12656)/KSRandr11   XRandRX11Helper::XRandRX11Helper: Detected XRandR 3014705.7274611                                                                                                                                                                                      
kded(12656)/KSRandr11   XRandRX11Helper::XRandRX11Helper: Event Base:  6553710                                                                                                                                                                                                 
kded(12656)/KSRandr11   XRandRX11Helper::XRandRX11Helper: Event Error:  3211346
Xlib:  extension "RANDR" missing on display ":0".
Can't get XRandR version 
kded(12656)   BackendLoader::init: Skipping "XRandR 1.1" backend
kded4: Fatal IO error: client killed
kded(12652): Communication problem with  "kded" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 

[Inferior 1 (process 12652) exited with code 0377]
(gdb)
Comment 6 Christoph Feck 2013-08-20 16:18:14 UTC
Michael, please refresh the page, before adding a comment, so you are not overwriting the changes the bug triaging team does. You keep reassigning the bug to kdelibs.
Comment 7 Christoph Feck 2013-08-20 16:20:32 UTC
To get the backtrace, you have to type "bt" in gdb after receiving the crash. For more information, please see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 8 Jekyll Wu 2013-08-20 16:21:32 UTC
run it under gdb in this way to get the backtrace 

$ gdb kded4
> set args --nofrok
> run
....
> bt
Comment 9 Michael Chalvatzis 2013-08-20 16:31:03 UTC
guys, I do what ever you say, but there is no backtrace available:

chalvatz@shining:~$ gdb kded4
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/kded4...Reading symbols from /usr/lib/debug/usr/bin/kded4...done.
done.
(gdb) set args --nofork
(gdb) run
Starting program: /usr/bin/kded4 --nofork
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kded(4605)/KSharedDataCache KSharedDataCache::insert: Overwriting existing cached entry due to collision.
kded(4605)/KSharedDataCache KSharedDataCache::insert: Overwriting existing cached entry due to collision.
kded(4605)/KSharedDataCache KSharedDataCache::insert: Overwriting existing cached entry due to collision.
kded(4605)/KSharedDataCache KSharedDataCache::insert: Overwriting existing cached entry due to collision.
kded(4605)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate: INotify available:  true
kded(4605)/kdecore (KStartupInfo) KStartupInfo::createNewStartupId: creating:  "shining;1377016114;215706;4605_TIME0" : "kded4"
kded(4605)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-chalvatz/ksycoca4"
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.kde/share/kde4/servicetypes" NotExisting for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.kde/share/kde4" for "/home/chalvatz/.kde/share/kde4/servicetypes" [""]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/servicetypes" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.local/share/mime" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.local/share/mime/packages" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.local/share/mime/video" for "" ["KDirWatch-1"]                                                   
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime" for "" ["KDirWatch-1"]                                                                          
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/all" for "" ["KDirWatch-1"]                                                                      
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/application" for "" ["KDirWatch-1"]                                                              
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/audio" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/image" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/inode" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/message" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/model" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/multipart" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/packages" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/text" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/uri" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/video" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/x-content" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/mime/x-epoc" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.kde/share/kde4/services" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/akonadi" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/akonadi/contact" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/akonadi/davgroupware-providers" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kded" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kexi" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kformdesigner" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kontact" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/korganizer" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kresources" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kresources/kabc" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kresources/kcal" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kresources/knotes" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/kwin" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/phononbackends" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/qimageioplugins" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/ScreenSavers" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/searchproviders" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/ServiceMenus" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/solidbackends" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/kde4/services/useragentstrings" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/etc/xdg/menus" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/etc/xdg/menus/applications-merged" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.config/menus" NotExisting for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.config" for "/home/chalvatz/.config/menus" [""]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/chalvatz/.local/share/applications" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/local/share/applications" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/applications" for "" ["KDirWatch-1"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/applications/kde4" for "" ["KDirWatch-1"]
kded(4605) ColorD::connectToDisplay: RandR extension missing 
kded(4605) ColorD::ColorD: Failed to connect to DISPLAY and get the needed resources 
kded(4605) KDEDModule::setModuleName: registerObject() successful for  "colord"
kded(4605)/kded4 Kded::loadModule: Successfully loaded module "colord"
kded(4605) KDEDModule::setModuleName: registerObject() successful for  "dnssdwatcher"
kded(4605)/kded4 Kded::loadModule: Successfully loaded module "dnssdwatcher"
kded(4605) KDEDModule::setModuleName: registerObject() successful for  "powerdevil"
kded(4605)/kded4 Kded::loadModule: Successfully loaded module "powerdevil"
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/usr/share/zoneinfo/zone.tab" for "" ["KDirWatch-2"]
kded(4605)/ktimezoned KTimeZoned::checkTimezone: /etc/timezone:  "Europe/Berlin"
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/etc/timezone" for "" ["KDirWatch-3"]
kded(4605)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/usr/share/zoneinfo/Europe/Berlin" for "" ["KDirWatch-3"]
kded(4605) KDEDModule::setModuleName: registerObject() successful for  "ktimezoned"
kded(4605)/kded4 Kded::loadModule: Successfully loaded module "ktimezoned"
kded(4605): BEGIN: Loading backend
Xlib:  extension "RANDR" missing on display ":0".
kded(4605)   XRandR::XRandR: XRandR extension not available or unsupported version
kded(4605)   BackendLoader::init: Skipping "XRandR" backend
Xlib:  extension "RANDR" missing on display ":0".
kded(4605)/KSRandr11   XRandRX11Helper::XRandRX11Helper: Detected XRandR 3014705.7274611
kded(4605)/KSRandr11   XRandRX11Helper::XRandRX11Helper: Event Base:  6553710
kded(4605)/KSRandr11   XRandRX11Helper::XRandRX11Helper: Event Error:  3211346
Xlib:  extension "RANDR" missing on display ":0".
Can't get XRandR version 
kded(4605)   BackendLoader::init: Skipping "XRandR 1.1" backend
kded4: Fatal IO error: client killed
[Inferior 1 (process 4605) exited with code 01]
(gdb) bt
No stack.
(gdb)
Comment 10 Michael Chalvatzis 2013-08-20 16:34:38 UTC
(In reply to comment #6)
> Michael, please refresh the page, before adding a comment, so you are not
> overwriting the changes the bug triaging team does. You keep reassigning the
> bug to kdelibs.

Christoph I'm doing it as you say but when I submit my comment I'm forced to set a new value for the "Version" attribute because it seems that I'm not allowed to set the value "1.0" that is changed by Jekyll.
Comment 11 Michael Chalvatzis 2013-08-20 16:38:44 UTC
(In reply to comment #10)
> (In reply to comment #6)
> > Michael, please refresh the page, before adding a comment, so you are not
> > overwriting the changes the bug triaging team does. You keep reassigning the
> > bug to kdelibs.
> 
> Christoph I'm doing it as you say but when I submit my comment I'm forced to
> set a new value for the "Version" attribute because it seems that I'm not
> allowed to set the value "1.0" that is changed by Jekyll.

forget about! I set the correct values
Comment 12 Daniel Vrátil 2013-08-21 13:00:56 UTC
*** Bug 323832 has been marked as a duplicate of this bug. ***
Comment 13 Daniel Vrátil 2013-08-21 13:10:26 UTC
Git commit 06f1bf76f6f932b9b99cca990ed6d4e661d42740 by Dan Vrátil.
Committed on 21/08/2013 at 12:29.
Pushed by dvratil into branch 'master'.

Initialize member variables in XRandrX11Helper

Prevents showing bogus XRandR version in debug output when XRandR is not available and fixes a crash when unloading an invalid backend

M +6 -1 backends/xrandr/xrandrx11helper.cpp
M +0 -1 backends/xrandr/xrandrx11helper.h

http://commits.kde.org/libkscreen/06f1bf76f6f932b9b99cca990ed6d4e661d42740
Comment 14 Daniel Vrátil 2013-08-21 13:11:00 UTC
Can someone please test with this fix from libkscreen master?
Comment 15 Michael Chalvatzis 2013-08-21 13:55:37 UTC
I would love to test it, but I'm missing the build environment on my client to compile it. I got stuck at this point:
chalvatz@shining:~/Downloads/libkscreen$ cmake .
CMake Error at CMakeLists.txt:13 (qt4_automoc):
  Unknown CMake command "qt4_automoc".

What package do I need to install?

I'm running Kubuntu (raring)
Comment 16 Daniel Vrátil 2013-08-21 15:31:39 UTC
You need development packages of Qt, kdelibs, libX11, libXRandR and libXCB.
Comment 17 Michael Chalvatzis 2013-08-21 20:22:11 UTC
ok got it built. kded4 starts up now :-)
can I provide anything else?
I had to remove kubuntu package "libkscreen1" and "kscreen" to get it working. Installed my "libkscreen" in /usr/local/... did not know how to change the prefix.

here the success of kded4's startup:
chalvatz@shining:~/Downloads/libkscreen$ kded4
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kded(4477) ColorD::connectToDisplay: RandR extension missing 
kded(4477) ColorD::ColorD: Failed to connect to DISPLAY and get the needed resources 
"/org/freedesktop/UDisks2/drives/TSSTcorp_CDDVDW_SH_S223F_TSSTcorp_CDDVDW_SH_S223F" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/TSSTcorp_CDDVDW_SH_S223F_TSSTcorp_CDDVDW_SH_S223F" : property "Device" does not exist 
QDBusObjectPath: invalid path "/modules/muon-notifier"
kded(4477): The kded module name ' "muon-notifier" ' is invalid! 
Agent registered 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
chalvatz@shining:~/Downloads/libkscreen$ Xlib:  extension "RANDR" missing on display ":0".
RandR extension missing
Traceback (most recent call last):
  File "/usr/share/apport/apport-checkreports", line 17, in <module>
    from apport.fileutils import get_new_reports, get_new_system_reports
ImportError: No module named apport.fileutils
"/org/freedesktop/UDisks2/drives/TSSTcorp_CDDVDW_SH_S223F_TSSTcorp_CDDVDW_SH_S223F" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/Kingston_FCR_HS219_2f1_092101005868_3" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/ST31000524AS_9VPGF6KD" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/Kingston_FCR_HS219_2f1_092101005868" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/Kingston_FCR_HS219_2f1_092101005868_2" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/Kingston_FCR_HS219_2f1_092101005868_1" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/ST31000524AS_5VPD4CHT" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/Samsung_SSD_840_PRO_Series_S12SNEACC03308T" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/Samsung_SSD_840_PRO_Series_S12SNEACC03308T" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/Samsung_SSD_840_PRO_Series_S12SNEACC03308T" : property "Device" does not exist 
kded(4477)/Network Management (NetworkManager backend) ConnectionDbus::fromDbusMap: Setting  "ipv4" not initialized 
kded(4477)/Network Management (NetworkManager backend) ConnectionDbus::fromDbusMap: Setting  "ipv6" not initialized 
kded(4477)/Network Management (NetworkManager backend) ConnectionDbus::fromDbusMap: Setting  "802-1x" not initialized 
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Comment 18 Michael Chalvatzis 2013-08-21 20:26:50 UTC
one additional note for the reader that wasted a lot of useless time:
whenever you install a (kubuntu) package after a missing lib/header/whatever in the "cmake ." command remove the file "CMakeCache.txt" to have "fresh" lookup of the command cmake.
that was really a pain in the neck...
Comment 19 Daniel Vrátil 2013-08-22 06:08:41 UTC
If it does not crash anymore, then the bug is fixed :-) Thanks fro testing!
Comment 20 Michael Chalvatzis 2013-08-24 08:36:44 UTC
out of my curiosity: when do you expect to release 1.0.2?
I would like to get rid of my temporary solution and switch back to official packages. Thanks!
Comment 21 Daniel Vrátil 2013-08-24 16:56:00 UTC
I think we have planned on fixing one more issue and doing the release, so most probably some time during next week.