Bug 195730

Summary: Plasma crash on startup
Product: [Unmaintained] plasma4 Reporter: Hamish Rodda <rodda>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hamish Rodda 2009-06-09 02:07:32 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.0
Operating System: Linux 2.6.27-7-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
After updating kdesupport, kdelibs, kdepimlibs and kdebase from svn yesterday, plasma crashed on startup.  The backtrace is the same as the other bug report but contains more debugging information.

 -- Backtrace:
Application: Plasma Workspace (kdeinit), signal: Aborted
[Current thread is 1 (Thread 0x7fb8852d0750 (LWP 22803))]

Thread 3 (Thread 0x7fb864e80950 (LWP 22804)):
#0  0x00007fb884a672e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb884ceb139 in QWaitConditionPrivate::wait (this=0x15c7840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fb884ceac96 in QWaitCondition::wait (this=0x15f4cb0, mutex=0x15f4ca8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb883923863 in QHostInfoAgent::run (this=0x15f4c90) at kernel/qhostinfo.cpp:260
#4  0x00007fb884cea8ed in QThreadPrivate::start (arg=0x15f4c90) at thread/qthread_unix.cpp:189
#5  0x00007fb884a633ba in start_thread () from /lib/libpthread.so.0
#6  0x00007fb88142efcd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb85fb08950 (LWP 22811)):
#0  0x00007fb884a6756d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb884ceb123 in QWaitConditionPrivate::wait (this=0x1be4960, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007fb884ceac96 in QWaitCondition::wait (this=0x1be9c18, mutex=0x1be9c10, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb884cde21b in QThreadPoolThread::run (this=0x1ae1e10) at concurrent/qthreadpool.cpp:140
#4  0x00007fb884cea8ed in QThreadPrivate::start (arg=0x1ae1e10) at thread/qthread_unix.cpp:189
#5  0x00007fb884a633ba in start_thread () from /lib/libpthread.so.0
#6  0x00007fb88142efcd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb8852d0750 (LWP 22803)):
[KCrash Handler]
#5  0x00007fb88137bfb5 in raise () from /lib/libc.so.6
#6  0x00007fb88137dbc3 in abort () from /lib/libc.so.6
#7  0x00007fb884ce08e1 in qt_message_output (msgType=QtFatalMsg, buf=0x20244b8 "QDBusArgument: read from a write-only object") at global/qglobal.cpp:2006
#8  0x00007fb884ce0a0b in qFatal (msg=0x7fb882e1d628 "QDBusArgument: read from a write-only object") at global/qglobal.cpp:2201
#9  0x00007fb882e0b5a4 in QDBusArgumentPrivate::checkRead (d=0x20243d0) at qdbusargument.cpp:142
#10 0x00007fb882e0b65d in QDBusArgumentPrivate::checkReadAndDetach (d=@0x7fff8d30cec0) at qdbusargument.cpp:152
#11 0x00007fb882e0b8a3 in QDBusArgument::beginArray (this=0x7fff8d30cec0) at qdbusargument.cpp:964
#12 0x00007fb8667b2d89 in operator>> (argument=@0x5913, iconVector=@0x5913) at /opt/kde4/src/kdebase/workspace/plasma/applets/systemtray/protocols/dbussystemtray/systemtraytypes.cpp:74
#13 0x00007fb8667ac69d in SystemTray::DBusSystemTrayTaskPrivate::refreshCallback (this=0x1dd96c0, call=0x1ab8be0)
    at /opt/kde4/src/kdebase/workspace/plasma/applets/systemtray/protocols/dbussystemtray/dbussystemtraytask.cpp:236
#14 0x00007fb8667ada81 in SystemTray::DBusSystemTrayTask::qt_metacall (this=0x1bd1540, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8d30d170)
    at /opt/kde4/build/kdebase/workspace/plasma/applets/systemtray/dbussystemtraytask.moc:78
#15 0x00007fb884df05b4 in QMetaObject::activate (sender=0x1ab8be0, from_signal_index=4, to_signal_index=4, argv=0x7fff8d30d170) at kernel/qobject.cpp:3066
#16 0x00007fb884df1903 in QMetaObject::activate (sender=0x1ab8be0, m=0x7fb883036780, local_signal_index=0, argv=0x7fff8d30d170) at kernel/qobject.cpp:3143
#17 0x00007fb882e163f3 in QDBusPendingCallWatcher::finished (this=0x1ab8be0, _t1=0x1ab8be0) at .moc/debug-shared/moc_qdbuspendingcall.cpp:86
#18 0x00007fb882e17312 in QDBusPendingCallWatcherPrivate::_q_finished (this=0x1daefe0) at qdbuspendingcall.cpp:424
#19 0x00007fb882e16474 in QDBusPendingCallWatcher::qt_metacall (this=0x1ab8be0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x1e827c0) at .moc/debug-shared/moc_qdbuspendingcall.cpp:74
#20 0x00007fb884de9e1f in QMetaCallEvent::placeMetaCall (this=0x171a370, object=0x1ab8be0) at kernel/qobject.cpp:489
#21 0x00007fb884dee450 in QObject::event (this=0x1ab8be0, e=0x171a370) at kernel/qobject.cpp:1115
#22 0x00007fb88205d2e9 in QApplicationPrivate::notify_helper (this=0xe24f90, receiver=0x1ab8be0, e=0x171a370) at kernel/qapplication.cpp:4084
#23 0x00007fb88205d68b in QApplication::notify (this=0xde3ea0, receiver=0x1ab8be0, e=0x171a370) at kernel/qapplication.cpp:3631
#24 0x00007fb88325d23b in KApplication::notify (this=0xde3ea0, receiver=0x1ab8be0, event=0x171a370) at /opt/kde4/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#25 0x00007fb884dda209 in QCoreApplication::notifyInternal (this=0xde3ea0, receiver=0x1ab8be0, event=0x171a370) at kernel/qcoreapplication.cpp:598
#26 0x00007fb884dddca7 in QCoreApplication::sendEvent (receiver=0x1ab8be0, event=0x171a370) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#27 0x00007fb884dda75b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xd8e560) at kernel/qcoreapplication.cpp:1236
#28 0x00007fb884dda932 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#29 0x00007fb884e0985b in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 0x00007fb884e08a9c in postEventSourceDispatch (s=0xe28c90) at kernel/qeventdispatcher_glib.cpp:209
#31 0x00007fb880a9920a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007fb880a9c8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007fb880a9ca7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007fb884e07dde in QEventDispatcherGlib::processEvents (this=0xe24420, flags={i = -1926177648}) at kernel/qeventdispatcher_glib.cpp:323
#35 0x00007fb8821052e3 in QGuiEventDispatcherGlib::processEvents (this=0xe24420, flags={i = -1926177552}) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007fb884dd74b7 in QEventLoop::processEvents (this=0x7fff8d30ddc0, flags={i = -1926177424}) at kernel/qeventloop.cpp:149
#37 0x00007fb884dd76c4 in QEventLoop::exec (this=0x7fff8d30ddc0, flags={i = -1926177312}) at kernel/qeventloop.cpp:196
#38 0x00007fb884ddaa54 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#39 0x00007fb88205d046 in QApplication::exec () at kernel/qapplication.cpp:3553
#40 0x00007fb8787c42ab in kdemain (argc=1, argv=0xd8cf40) at /opt/kde4/src/kdebase/workspace/plasma/shells/desktop/main.cpp:50
#41 0x00000000004071ae in launch (argc=1, _name=0xda8608 "/opt/kde4/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=0xda862d "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40a368 "0") at /opt/kde4/src/kdelibs/kinit/kinit.cpp:672
#42 0x00000000004079d8 in handle_launcher_request (sock=7, who=<value optimized out>) at /opt/kde4/src/kdelibs/kinit/kinit.cpp:1164
#43 0x0000000000407f85 in handle_requests (waitForPid=0) at /opt/kde4/src/kdelibs/kinit/kinit.cpp:1357
#44 0x0000000000408ac6 in main (argc=2, argv=0x7fff8d30ec58, envp=0x7fff8d30ec70) at /opt/kde4/src/kdelibs/kinit/kinit.cpp:1784

This bug may be a duplicate of or related to bug 195087
Comment 1 Dario Andres 2009-06-09 02:17:35 UTC
Thanks

*** This bug has been marked as a duplicate of bug 195087 ***
Comment 2 Hamish Rodda 2009-06-09 08:23:11 UTC
Whilst I appreciate this bug is a duplicate, the other bug is closed as WORKSFORME.

I found that by killing the following four processes:

 7589 ?        S      0:00 /opt/kde4/bin/nepomukservicestub nepomukontologyloader                                       
 7590 ?        SNl    0:00 /opt/kde4/bin/nepomukservicestub nepomukstrigiservice                                        
 7591 ?        Sl     0:00 /opt/kde4/bin/nepomukservicestub nepomukfilewatch                                            
 7592 ?        S      0:00 /opt/kde4/bin/nepomukservicestub nepomukqueryservice

... that the crash would not occur.

Shouldn't the bug get fixed?
Comment 3 Dario Andres 2009-06-09 14:10:22 UTC
Bug 195087 has a comment reporting it works now on a current build of "2009-06-04" (kde4.3beta2 was tagged on 2009-06-02; so if it was fixed, 4.3beta2 missed that fix). That is my logic to determine the duplicate and leave the other bug as WORKSFORME. But, let's wait a bit before reopening it. Thanks