Bug 206076 - plasma workspace crashes on startup
Summary: plasma workspace crashes on startup
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 10:13 UTC by Kevin Lyons
Modified: 2009-09-04 14:14 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 Kevin Lyons 2009-09-03 10:13:13 UTC
Version:           4.3.1 (using KDE 4.3.0)
Compiler:          gcc-4.3.4 MAKEOPTS='-j3' and ccache enabled
OS:                Linux
Installed from:    Gentoo Packages

Every time I start KDE the loading splash screen takes an unusually long time, and this is followed by drkonqi reporting plasma workspace crashing.  That dialogue is always followed with drkonqi reporting a crash of the kde daemon.  After that I am left with a black screen, and I have to kill X to get out.  KDE 4.2.* worked fine for me, this bug appeared in both 4.3.0 and 4.3.1.  I'll post backtraces from both crashes.

Plasma workspace backtrace:
#0  0xb806b424 in __kernel_vsyscall ()
#1  0xb7e4cf5b in waitpid () from /lib/libpthread.so.0
#2  0xb7603c5f in KCrash::startDirectly (argv=0xbfc18cf8)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdeui/util/kcrash.cpp:436
#3  0xb7604b4d in KCrash::defaultCrashHandler (sig=11)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdeui/util/kcrash.cpp:340
#4  <signal handler called>
#5  QDataStream::operator>> (this=0x0, i=@0xbfc19348) at io/qdatastream.cpp:661
#6  0xb7d2504b in KServiceFactory (this=0x9799060)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdecore/services/kservicefactory.cpp:44
#7  0xb7d25354 in KServiceFactory::self ()
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdecore/sycoca/ksycocafactory.h:200
#8  0xb7d1b65f in KService::serviceByMenuId (_name=@0xbfc194d0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdecore/services/kservice.cpp:600
#9  0xb7d21e2f in KService::serviceByStorageId (_storageId=@0xbfc194d0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdecore/services/kservice.cpp:605
#10 0xb61f70e8 in Applet (this=0x97a12c8, parent=0x0, serviceID=@0xbfc194d0, 
    appletId=0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/plasma/applet.cpp:101
#11 0xb6201e63 in Containment (this=0x97a12c8, parent=0x0, 
    serviceId=@0xbfc194d0, containmentId=0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/plasma/containment.cpp:95
#12 0xb621342b in Plasma::CoronaPrivate::addContainment (this=0x95db100, 
    name=@0xbfc19708, args=@0xbfc19704, id=0, delayedInit=true)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/plasma/corona.cpp:203
#13 0xb620fca2 in Plasma::Corona::addContainmentDelayed (this=0x95dc7a0, 
    name=@0xbfc19708, args=@0xbfc19704)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/plasma/corona.cpp:430
#14 0xb6357d76 in DesktopCorona::loadDefaultLayout (this=0x95dc7a0)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.1/work/plasma-workspace-4.3.1/plasma/shells/desktop/desktopcorona.cpp:201
#15 0xb6212236 in Plasma::Corona::initializeLayout (this=0x95dc7a0, 
    configName=@0xbfc19824)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/plasma/corona.cpp:327
#16 0xb6374687 in PlasmaApp::corona (this=0x95822e0)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.1/work/plasma-workspace-4.3.1/plasma/shells/desktop/plasmaapp.cpp:574
#17 0xb6374834 in PlasmaApp::setupDesktop (this=0x95822e0)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.1/work/plasma-workspace-4.3.1/plasma/shells/desktop/plasmaapp.cpp:252
#18 0xb6378da0 in PlasmaApp::qt_metacall (this=0x95822e0, 
    _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfc19988)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.1/work/plasma-workspace-4.3.1_build/plasma/shells/desktop/plasmaapp.moc:115
#19 0xb7fb37b4 in QMetaObject::activate (sender=0x961fd80, 
    from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3101
#20 0xb7fb3d52 in QMetaObject::activate (sender=0x961fd80, m=0xb804a924, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3178
#21 0xb7fba167 in QSingleShotTimer::timeout (this=0x961fd80)
    at .moc/release-shared/qtimer.moc:76
#22 0xb7fba28c in QSingleShotTimer::timerEvent (this=0x961fd80)
    at kernel/qtimer.cpp:298
#23 0xb7fb079f in QObject::event (this=0x961fd80, e=0xbfc19e1c)
    at kernel/qobject.cpp:1066
#24 0xb6c8b3b4 in QApplicationPrivate::notify_helper (this=0x9589340, 
    receiver=0x961fd80, e=0xbfc19e1c) at kernel/qapplication.cpp:4056
#25 0xb6c93b9e in QApplication::notify (this=0x95822e0, receiver=0x961fd80, 
    e=0xbfc19e1c) at kernel/qapplication.cpp:3603
#26 0xb759527d in KApplication::notify (this=0x95822e0, receiver=0x961fd80, 
    event=0xbfc19e1c)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#27 0xb7fa16bb in QCoreApplication::notifyInternal (this=0x95822e0, 
    receiver=0x961fd80, event=0xbfc19e1c) at kernel/qcoreapplication.cpp:606
#28 0xb7fcbc31 in QTimerInfoList::activateTimers (this=0x958b524)
    at kernel/qcoreapplication.h:213
#29 0xb7fc8900 in timerSourceDispatch (source=0x958b4f0)
    at kernel/qeventdispatcher_glib.cpp:165
#30 0xb6841238 in IA__g_main_context_dispatch (context=0x958b430)
    at gmain.c:1824
#31 0xb6844793 in g_main_context_iterate (context=0x958b430, block=1, 
    dispatch=1, self=0x9588e28) at gmain.c:2455
#32 0xb6844918 in IA__g_main_context_iteration (context=0x958b430, may_block=1)
    at gmain.c:2518
#33 0xb7fc8858 in QEventDispatcherGlib::processEvents (this=0x9588f58, flags=
      {i = -1077829736}) at kernel/qeventdispatcher_glib.cpp:327
#34 0xb6d1a065 in QGuiEventDispatcherGlib::processEvents (this=0x9588f58, 
    flags={i = -1077829688}) at kernel/qguieventdispatcher_glib.cpp:202
#35 0xb7f9fe7a in QEventLoop::processEvents (this=0xbfc1a030, flags=
      {i = -1077829624}) at kernel/qeventloop.cpp:149
#36 0xb7fa0042 in QEventLoop::exec (this=0xbfc1a030, flags={i = -1077829576})
    at kernel/qeventloop.cpp:197
#37 0xb7fa2231 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0xb6c8b237 in QApplication::exec () at kernel/qapplication.cpp:3525
#39 0xb635d000 in kdemain (argc=1, argv=0x9569380)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.1/work/plasma-workspace-4.3.1/plasma/shells/desktop/main.cpp:50
#40 0x0804e54d in launch (argc=1, _name=0x957552c "/usr/bin/plasma-desktop", 
    args=0x9575544 "", cwd=0x0, envc=0, envs=0x9575548 "", reset_env=false, 
    tty=0x0, avoid_loops=false, startup_id_str=0x805151d "0")
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kinit/kinit.cpp:677
#41 0x0804ecdd in handle_launcher_request (sock=7, who=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kinit/kinit.cpp:1169
#42 0x0804f11b in handle_requests (waitForPid=6451)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kinit/kinit.cpp:1362
#43 0x0804ffd7 in main (argc=2, argv=0xbfc1a834, envp=0xbfc1a840)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kinit/kinit.cpp:1745



KDE Daemon backtrace:
#0  0xb8005424 in __kernel_vsyscall ()
#1  0xb7de6f5b in waitpid () from /lib/libpthread.so.0
#2  0xb759dc5f in KCrash::startDirectly (argv=0xbfb07118)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdeui/util/kcrash.cpp:436
#3  0xb759eb4d in KCrash::defaultCrashHandler (sig=11)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdeui/util/kcrash.cpp:340
#4  <signal handler called>
#5  QDataStream::operator>> (this=0x0, i=@0xbfb07768) at io/qdatastream.cpp:661
#6  0xb7cbf04b in KServiceFactory (this=0x8773e50)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdecore/services/kservicefactory.cpp:44
#7  0xb7cbf354 in KServiceFactory::self ()
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdecore/sycoca/ksycocafactory.h:200
#8  0xb7cb56af in KService::serviceByDesktopPath (_name=@0xbfb077f0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdecore/services/kservice.cpp:582
#9  0xb5386148 in Kded::loadModule (this=0x86d79d0, obj=@0xbfb07854, 
    onDemand=true)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kded/kded.cpp:333
#10 0xb538690b in Kded::messageFilter (message=@0xbfb07908)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kded/kded.cpp:195
#11 0xb7333827 in QDBusConnectionPrivate::handleMessage (this=0x86d7d28, 
    amsg=@0xbfb07908) at qdbusintegrator.cpp:526
#12 0xb733687e in qDBusSignalFilter (connection=0x86e0f98, message=0x8790d08, 
    data=0x86d7d28) at qdbusintegrator.cpp:517
#13 0xb659bef3 in dbus_connection_dispatch (connection=0x86e0f98)
    at dbus-connection.c:4558
#14 0xb7329a92 in QDBusConnectionPrivate::doDispatch (this=0x86d7d28)
    at ./qdbus_symbols_p.h:113
#15 0xb732a34b in QDBusConnectionPrivate::socketRead (this=0x86d7d28, fd=5)
    at qdbusintegrator.cpp:1087
#16 0xb735ffcc in QDBusConnectionPrivate::qt_metacall (this=0x86d7d28, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfb07afc)
    at .moc/release-shared/moc_qdbusconnection_p.cpp:89
#17 0xb7f4d7b4 in QMetaObject::activate (sender=0x87568c8, 
    from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3101
#18 0xb7f4dd52 in QMetaObject::activate (sender=0x87568c8, m=0xb7fe58d0, 
    local_signal_index=0, argv=0xbfb07afc) at kernel/qobject.cpp:3178
#19 0xb7f848b3 in QSocketNotifier::activated (this=0x87568c8, _t1=5)
    at .moc/release-shared/moc_qsocketnotifier.cpp:83
#20 0xb7f53b07 in QSocketNotifier::event (this=0x87568c8, e=0xbfb07e90)
    at kernel/qsocketnotifier.cpp:316
#21 0xb6c253b4 in QApplicationPrivate::notify_helper (this=0x86e5668, 
    receiver=0x87568c8, e=0xbfb07e90) at kernel/qapplication.cpp:4056
#22 0xb6c2db9e in QApplication::notify (this=0xbfb0813c, receiver=0x87568c8, 
    e=0xbfb07e90) at kernel/qapplication.cpp:3603
#23 0xb752f27d in KApplication::notify (this=0xbfb0813c, receiver=0x87568c8, 
    event=0xbfb07e90)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#24 0xb7f3b6bb in QCoreApplication::notifyInternal (this=0xbfb0813c, 
    receiver=0x87568c8, event=0xbfb07e90) at kernel/qcoreapplication.cpp:606
#25 0xb7f62ae7 in socketNotifierSourceDispatch (source=0x86e7ca0)
    at kernel/qcoreapplication.h:213
#26 0xb67db238 in IA__g_main_context_dispatch (context=0x86e7c20)
    at gmain.c:1824
#27 0xb67de793 in g_main_context_iterate (context=0x86e7c20, block=1, 
    dispatch=1, self=0x86e5228) at gmain.c:2455
#28 0xb67de918 in IA__g_main_context_iteration (context=0x86e7c20, may_block=1)
    at gmain.c:2518
#29 0xb7f62858 in QEventDispatcherGlib::processEvents (this=0x86e5648, flags=
      {i = -1078951960}) at kernel/qeventdispatcher_glib.cpp:327
#30 0xb6cb4065 in QGuiEventDispatcherGlib::processEvents (this=0x86e5648, 
    flags={i = -1078951912}) at kernel/qguieventdispatcher_glib.cpp:202
#31 0xb7f39e7a in QEventLoop::processEvents (this=0xbfb08080, flags=
      {i = -1078951848}) at kernel/qeventloop.cpp:149
#32 0xb7f3a042 in QEventLoop::exec (this=0xbfb08080, flags={i = -1078951800})
    at kernel/qeventloop.cpp:197
#33 0xb7f3c231 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0xb6c25237 in QApplication::exec () at kernel/qapplication.cpp:3525
#35 0xb5388f6e in kdemain (argc=1, argv=0x86c3400)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kded/kded.cpp:938
#36 0x0804e54d in launch (argc=1, _name=0x8051651 "kded4", args=0x0, cwd=0x0, 
    envc=0, envs=0x0, reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x805151d "0")
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kinit/kinit.cpp:677
#37 0x0804ffcd in main (argc=2, argv=0xbfb08664, envp=0xbfb08670)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kinit/kinit.cpp:1740
Comment 1 Dario Andres 2009-09-04 00:11:58 UTC
Does running "kbuildsycoca4 --noincremental" as user fixes this issue. Are you sure the kde packages were properly installed ? 

The kded crash is probably bug 200446; but I guess the root of the problem is the same.

Thanks
Comment 2 Kevin Lyons 2009-09-04 12:42:11 UTC
Thanks Dario.  After running '$kbuildsycoca4 --noincremental' I got an error message basically saying I did not have write access to my /var/tmp/kdecache-$USER/ directory.  After changing permissions to the folder and running the command again, everything is working fine.

As long as you don't think this permissions problem is a kde issue I think the bug can safely be closed, but I'll leave that up to you.

Cheers,
Kevin

(In reply to comment #1)
> Does running "kbuildsycoca4 --noincremental" as user fixes this issue. Are you
> sure the kde packages were properly installed ? 
> 
> The kded crash is probably bug 200446; but I guess the root of the problem is
> the same.
> 
> Thanks
Comment 3 Dario Andres 2009-09-04 14:14:39 UTC
Mh, it is a faulty state of the permissions of the directory; so I guess I can't blame KDE for that. Thanks for showing us your discovery.