Bug 218441 - plasma-desktop crash when invoked from the commandline [QMetaObject::cast, TaskGroupItem::setGroup, TaskGroupItem::createAbstractItem]
Summary: plasma-desktop crash when invoked from the commandline [QMetaObject::cast, Ta...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-12 22:24 UTC by Arne Babenhauserheide
Modified: 2009-12-12 23:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Babenhauserheide 2009-12-12 22:24:13 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.30-gentoo-r5 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I tried starting plasma-desktop from the commandline and got a crash, too. 

$ plasma-desktop 
QDBusObjectPath: invalid path ""
plasma-desktop(18264)/plasma PlasmaApp::PlasmaApp: Setting the pixmap cache size to 20585 kilobytes
plasma-desktop(18264)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-arne/ksycoca4"                                                                                                                        
QFont::setPointSize: Point size <= 0 (0), must be greater than 0                                                              
plasma-desktop(18264)/libplasma Plasma::ContainmentPrivate::positionPanel: positioning non- horizontal panel; forced? false   
plasma-desktop(18264)/libplasma Plasma::ContainmentPrivate::positionPanel: moved to QPointF(11102, -46)                       
plasma-desktop(18264)/libplasma Plasma::ContainmentPrivate::positionPanel: positioning non- horizontal panel; forced? false   
plasma-desktop(18264)/libplasma Plasma::ContainmentPrivate::positionPanel: moved to QPointF(11102, -46)                       
plasma-desktop(18264)/libplasma Plasma::ContainmentPrivate::positionPanel: positioning  horizontal panel; forced? true        
plasma-desktop(18264)/libplasma Plasma::ContainmentPrivate::positionPanel: moved to QPointF(0, -46)                           
plasma-desktop(18264)/plasma SystemTray::DBusSystemTrayProtocol::registerWatcher: service appeared "org.kde.NotificationItemWatcher"                                                                                                                        
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout                                               
plasma-desktop(18264)/libplasma Plasma::Containment::restore: ()                                                              
plasma-desktop(18264)/libplasma Plasma::Containment::restore: ()                                                              
plasma-desktop(18264)/libplasma Plasma::Containment::restore: ()                                                              
plasma-desktop(18264)/libplasma Plasma::Containment::restore: ()                                                              
plasma-desktop(18264)/libplasma Plasma::Containment::restore: ()                                                              
QGraphicsLinearLayout::removeAt: invalid index 0                                                                              
QObject::connect: Connecting from COMPAT signal (KSycoca::databaseChanged())                                                  
plasma-desktop(18264)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/home/arne/.local/share//user-places.xbel"                                                                                                               
plasma-desktop(18264)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")                      
QObject::connect: Connecting from COMPAT signal (KSycoca::databaseChanged())                                                  
plasma-desktop(18264)/kdecore (KLibrary) kde4Factory: The library "/usr/lib64/kde4/solid_hal_power.so" does not offer a qt_plugin_instance function.                                                                                                        
plasma-desktop(18264) Solid::Control::ManagerBasePrivate::loadBackend: Backend loaded:  "HAL-Energieverwaltung"               
Object::connect: No such slot TaskManager::GroupManager::reconnect() in /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4/plasma/applets/tasks/tasks.cpp:97                                                                      
plasma-desktop(18264)/plasma TaskItemLayout::updatePreferredSize: Empty layout!!!!!!!!!!!!!!!!!!                              
plasma-desktop(18264)/plasma TaskManager::GroupManager::reconnect:                                                            
plasma-desktop(18264)/plasma TaskManager::GroupManager::reconnect:                                                            
plasma-desktop(18264)/plasma TaskManager::GroupManager::reconnect:
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-desktop path = /usr/bin pid = 18264
sock_file=/home/arne/.kde4/socket-fluss/kdeinit4__0
plasma-desktop(18263): Communication problem with  "plasma-desktop" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." "

arne@fluss ~ $ QDBusObjectPath: invalid path ""
plasma-desktop(18832)/plasma PlasmaApp::PlasmaApp: Setting the pixmap cache size to 20585 kilobytes
plasma-desktop(18832)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-arne/ksycoca4"
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
plasma-desktop(18832)/libplasma Plasma::ContainmentPrivate::positionPanel: positioning non- horizontal panel; forced? false
plasma-desktop(18832)/libplasma Plasma::ContainmentPrivate::positionPanel: moved to QPointF(11102, -46)
plasma-desktop(18832)/libplasma Plasma::ContainmentPrivate::positionPanel: positioning non- horizontal panel; forced? false
plasma-desktop(18832)/libplasma Plasma::ContainmentPrivate::positionPanel: moved to QPointF(11102, -46)
plasma-desktop(18832)/libplasma Plasma::ContainmentPrivate::positionPanel: positioning  horizontal panel; forced? true
plasma-desktop(18832)/libplasma Plasma::ContainmentPrivate::positionPanel: moved to QPointF(0, -46)
plasma-desktop(18832)/plasma SystemTray::DBusSystemTrayProtocol::registerWatcher: service appeared "org.kde.NotificationItemWatcher"
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
plasma-desktop(18832)/libplasma Plasma::Containment::restore: ()
plasma-desktop(18832)/libplasma Plasma::Containment::restore: ()
plasma-desktop(18832)/libplasma Plasma::Containment::restore: ()
plasma-desktop(18832)/libplasma Plasma::Containment::restore: ()
plasma-desktop(18832)/libplasma Plasma::Containment::restore: ()
QGraphicsLinearLayout::removeAt: invalid index 0
QObject::connect: Connecting from COMPAT signal (KSycoca::databaseChanged())
plasma-desktop(18832)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/home/arne/.local/share//user-places.xbel"
plasma-desktop(18832)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")
QObject::connect: Connecting from COMPAT signal (KSycoca::databaseChanged())
plasma-desktop(18832)/kdecore (KLibrary) kde4Factory: The library "/usr/lib64/kde4/solid_hal_power.so" does not offer a qt_plugin_instance function.
plasma-desktop(18832) Solid::Control::ManagerBasePrivate::loadBackend: Backend loaded:  "HAL-Energieverwaltung"
Object::connect: No such slot TaskManager::GroupManager::reconnect() in /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4/plasma/applets/tasks/tasks.cpp:97
plasma-desktop(18832)/plasma TaskItemLayout::updatePreferredSize: Empty layout!!!!!!!!!!!!!!!!!!
plasma-desktop(18832)/plasma TaskManager::GroupManager::reconnect:
plasma-desktop(18832)/plasma TaskManager::GroupManager::reconnect:
plasma-desktop(18832)/plasma TaskManager::GroupManager::reconnect:
plasma-desktop(18828): Communication problem with  "plasma-desktop" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." "

 -- Backtrace:
Application: Plasma-Arbeitsfläche (plasma-desktop), signal: Segmentation fault
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007fcf8fa702c9 in QMetaObject::cast (this=0x7fcf761775a0, obj=0x1033c40) at kernel/qmetaobject.cpp:266
#7  0x00007fcf75b1b2be in TaskGroupItem::setGroup (this=0x1035410, group=0x1033c40)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4/plasma/applets/tasks/taskgroupitem.cpp:336
#8  0x00007fcf75b1ac15 in TaskGroupItem::createAbstractItem (this=0x102d840, groupableItem=0x1033c40)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4/plasma/applets/tasks/taskgroupitem.cpp:427
#9  0x00007fcf75b1af4d in TaskGroupItem::itemAdded (this=0x102d840, groupableItem=0x1033c40)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4/plasma/applets/tasks/taskgroupitem.cpp:460
#10 0x00007fcf75b1b872 in TaskGroupItem::qt_metacall (this=0x102d840, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1b0f2ef0)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4_build/plasma/applets/tasks/taskgroupitem.moc:113
#11 0x00007fcf8fa7f1bf in QMetaObject::activate (sender=0x1034720, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1027260) at kernel/qobject.cpp:3286
#12 0x00007fcf75f5ba4f in TaskManager::TaskGroup::itemAdded (this=0x1033c40, _t1=0x1033c40)
    at /var/tmp/portage/kde-base/libtaskmanager-4.3.80/work/libtaskmanager-4.3.80_build/libs/taskmanager/taskgroup.moc:149
#13 0x00007fcf75f5d175 in TaskManager::TaskGroup::add (this=0x1034720, item=0x1033c40) at /var/tmp/portage/kde-base/libtaskmanager-4.3.80/work/libtaskmanager-4.3.80/libs/taskmanager/taskgroup.cpp:200
#14 0x00007fcf75f50754 in TaskManager::ProgramGroupingStrategy::handleItem (this=0x1033860, item=0x1033c40)
    at /var/tmp/portage/kde-base/libtaskmanager-4.3.80/work/libtaskmanager-4.3.80/libs/taskmanager/strategies/programgroupingstrategy.cpp:159
#15 0x00007fcf75f4a57c in TaskManager::GroupManagerPrivate::addTask (this=0x1020740, task={d = 0x7fff1b0f30d0})
    at /var/tmp/portage/kde-base/libtaskmanager-4.3.80/work/libtaskmanager-4.3.80/libs/taskmanager/groupmanager.cpp:286
#16 0x00007fcf75f4ab9a in TaskManager::GroupManagerPrivate::actuallyReloadTasks (this=0x1020740)
    at /var/tmp/portage/kde-base/libtaskmanager-4.3.80/work/libtaskmanager-4.3.80/libs/taskmanager/groupmanager.cpp:161
#17 0x00007fcf75f4ad87 in TaskManager::GroupManager::setGroupingStrategy (this=0x1020550, strategy=TaskManager::GroupManager::ProgramGrouping)
    at /var/tmp/portage/kde-base/libtaskmanager-4.3.80/work/libtaskmanager-4.3.80/libs/taskmanager/groupmanager.cpp:686
#18 0x00007fcf75b0c1f4 in Tasks::init (this=0xba7810) at /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4/plasma/applets/tasks/tasks.cpp:132
#19 0x00007fcf91b56659 in Plasma::Corona::loadLayout (this=0x745510, configName=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.80/work/kdelibs-4.3.80/plasma/corona.cpp:418
#20 0x00007fcf91b5696e in Plasma::Corona::initializeLayout (this=0x745510, configName=@0x7fff1b0f3580) at /var/tmp/portage/kde-base/kdelibs-4.3.80/work/kdelibs-4.3.80/plasma/corona.cpp:334
#21 0x00007fcf9218a10f in PlasmaApp::corona (this=0x61f260) at /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4/plasma/shells/desktop/plasmaapp.cpp:574
#22 0x00007fcf9218bcee in PlasmaApp::setupDesktop (this=0x61f260) at /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4/plasma/shells/desktop/plasmaapp.cpp:252
#23 0x00007fcf9218bfbe in PlasmaApp::qt_metacall (this=0x61f260, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1b0f3830)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4_build/plasma/shells/desktop/plasmaapp.moc:115
#24 0x00007fcf8fa7f1bf in QMetaObject::activate (sender=0x63d4d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1027260) at kernel/qobject.cpp:3286
#25 0x00007fcf8fa8773f in QSingleShotTimer::timerEvent (this=0x63d4d0) at kernel/qtimer.cpp:308
#26 0x00007fcf8fa7b6d3 in QObject::event (this=0x63d4d0, e=0x1033c40) at kernel/qobject.cpp:1216
#27 0x00007fcf8ea38776 in QApplicationPrivate::notify_helper (this=0x63ddd0, receiver=0x63d4d0, e=0x7fff1b0f3ff0) at kernel/qapplication.cpp:4242
#28 0x00007fcf8ea401f5 in QApplication::notify (this=0x61f260, receiver=0x63d4d0, e=0x7fff1b0f3ff0) at kernel/qapplication.cpp:4207
#29 0x00007fcf9069c5c1 in KApplication::notify (this=0x61f260, receiver=0x63d4d0, event=0x7fff1b0f3ff0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.80/work/kdelibs-4.3.80/kdeui/kernel/kapplication.cpp:302
#30 0x00007fcf8fa6a603 in QCoreApplication::notifyInternal (this=0x61f260, receiver=0x63d4d0, event=0x7fff1b0f3ff0) at kernel/qcoreapplication.cpp:704
#31 0x00007fcf8fa9a9bc in QTimerInfoList::activateTimers (this=0x641580) at kernel/qcoreapplication.h:215
#32 0x00007fcf8fa96fc4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#33 0x00007fcf88177fc1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007fcf8817b558 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#35 0x00007fcf8817b70c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007fcf8fa96cbc in QEventDispatcherGlib::processEvents (this=0x63cba0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#37 0x00007fcf8eade5df in QGuiEventDispatcherGlib::processEvents (this=0x1033c40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x00007fcf8fa68fe2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 453984864}) at kernel/qeventloop.cpp:149
#39 0x00007fcf8fa693b4 in QEventLoop::exec (this=0x7fff1b0f42a0, flags={i = 453984944}) at kernel/qeventloop.cpp:201
#40 0x00007fcf8fa6b844 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#41 0x00007fcf92176a1b in kdemain (argc=1, argv=0x7fff1b0f45b8) at /var/tmp/portage/kde-base/plasma-workspace-4.3.4/work/plasma-workspace-4.3.4/plasma/shells/desktop/main.cpp:50
#42 0x00007fcf8c7ce5c6 in __libc_start_main () from /lib/libc.so.6
#43 0x0000000000400929 in _start ()

This bug may be a duplicate of or related to bug 218439.

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-12 22:45:09 UTC
This could be related to bug 217392.
- Have you noticed that you are using kdelibs from KDE 4.4 and kdebase from 4.3.4 ? It is not an ilegal combination, but it will be best to have both modules at the same version.
Comment 2 Arne Babenhauserheide 2009-12-12 23:50:22 UTC
plasma-workspace 4.3.80 didn't build, because pykde4 4.3.80 didn't built. 

Building plasma without python allowed me to get version 4.3.80 and now it works. 

Also I updated kdebase-startkde to 4.3.80, which might be related, too. 

Sorry for the noise...