Bug 193126 - Plasma crash on first start of KDE only
Summary: Plasma crash on first start of KDE only
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 17:07 UTC by Hamish Rodda
Modified: 2009-07-20 01:10 UTC (History)
2 users (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 Hamish Rodda 2009-05-18 17:07:27 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514))
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:
This crash has been occurring for me with various svn head versions for a month.  It consistently occurs once on kde start, and then plasma restarts and behaves normally.

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

Thread 3 (Thread 0x7f18ab887950 (LWP 7948)):
#0  0x00007f18cb4832e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f18cb707139 in QWaitConditionPrivate::wait (this=0x12150f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f18cb706c96 in QWaitCondition::wait (this=0x15968a0, mutex=0x1596898, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f18ca329863 in QHostInfoAgent::run (this=0x1596880) at kernel/qhostinfo.cpp:260
#4  0x00007f18cb7068ed in QThreadPrivate::start (arg=0x1596880) at thread/qthread_unix.cpp:189
#5  0x00007f18cb47f3ba in start_thread () from /lib/libpthread.so.0
#6  0x00007f18c7e34fcd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f18a6638950 (LWP 7955)):
#0  0x00007f18cb48356d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f18cb707123 in QWaitConditionPrivate::wait (this=0x1ba7510, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f18cb706c96 in QWaitCondition::wait (this=0x13ef1a8, mutex=0x13ef1a0, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f18cb6fa21b in QThreadPoolThread::run (this=0x1ba9170) at concurrent/qthreadpool.cpp:140
#4  0x00007f18cb7068ed in QThreadPrivate::start (arg=0x1ba9170) at thread/qthread_unix.cpp:189
#5  0x00007f18cb47f3ba in start_thread () from /lib/libpthread.so.0
#6  0x00007f18c7e34fcd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f18cbcec750 (LWP 7947)):
[KCrash Handler]
#5  0x00007f18c7d81fb5 in raise () from /lib/libc.so.6
#6  0x00007f18c7d83bc3 in abort () from /lib/libc.so.6
#7  0x00007f18cb6fc8e1 in qt_message_output (msgType=QtFatalMsg, buf=0x1b03568 "ASSERT: \"false\" in file qdbusintegrator.cpp, line 1954") at global/qglobal.cpp:2006
#8  0x00007f18cb6fca0b in qFatal (msg=0x7f18cb849458 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2201
#9  0x00007f18cb6fce3b in qt_assert (assertion=0x7f18c9820407 "false", file=0x7f18c98203f3 "qdbusintegrator.cpp", line=1954) at global/qglobal.cpp:1777
#10 0x00007f18c97e80d4 in QDBusConnectionPrivate::connectSignal (this=0xd9f6b0, key=@0x7fffd3d28f10, hook=@0x7fffd3d28e70) at qdbusintegrator.cpp:1954
#11 0x00007f18c97eeb23 in QDBusConnectionPrivate::connectRelay (this=0xd9f6b0, service=@0x1e9ced8, owner=@0x1e9cee0, path=@0x1e9cee8, interface=@0x1e9cef0, receiver=0x1b0cdf0, 
    signal=0x7f18ad1d0d8b "2NewIcon()") at qdbusintegrator.cpp:2041
#12 0x00007f18c97f9f21 in QDBusAbstractInterface::connectNotify (this=0x1b0cdf0, signal=0x7f18ad1d0d8b "2NewIcon()") at qdbusabstractinterface.cpp:516
#13 0x00007f18cb80e154 in QObject::connect (sender=0x1b0cdf0, signal=0x7f18ad1d0d8c "NewIcon()", receiver=0x1a38050, method=0x7f18ad1d0d81 "refresh()", type=Qt::AutoConnection)
    at kernel/qobject.cpp:2504
#14 0x00007f18ad1b182c in DBusSystemTrayTask (this=0x1a38050, service=@0x7fffd3d29400, parent=<value optimized out>)
    at /opt/kde4/src/kdebase/workspace/plasma/applets/systemtray/protocols/dbussystemtray/dbussystemtraytask.cpp:117
#15 0x00007f18ad1b6513 in SystemTray::DBusSystemTrayProtocol::newTask (this=0x12c99c0, service=
      {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13708}, alloc = 0, size = 0, data = 0x60b57a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 233}, alloc = 0, size = 0, data = 0x7f18cbb0979a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7fffd3d29400, static codecForCStrings = 0x0}) at /opt/kde4/src/kdebase/workspace/plasma/applets/systemtray/protocols/dbussystemtray/dbussystemtrayprotocol.cpp:74
#16 0x00007f18ad1b7bd3 in SystemTray::DBusSystemTrayProtocol::registerWatcher (this=0x12c99c0, service=<value optimized out>)
    at /opt/kde4/src/kdebase/workspace/plasma/applets/systemtray/protocols/dbussystemtray/dbussystemtrayprotocol.cpp:148
#17 0x00007f18ad1b8145 in SystemTray::DBusSystemTrayProtocol::serviceChange (this=0x12c99c0, name=@0x1da6fa0, oldOwner=@0x1daeec0, newOwner=@0x1db1090)
    at /opt/kde4/src/kdebase/workspace/plasma/applets/systemtray/protocols/dbussystemtray/dbussystemtrayprotocol.cpp:125
#18 0x00007f18ad1b82ec in SystemTray::DBusSystemTrayProtocol::qt_metacall (this=0x12c99c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd3d29720)
    at /opt/kde4/build/kdebase/workspace/plasma/applets/systemtray/dbussystemtrayprotocol.moc:76
#19 0x00007f18cb80c5b4 in QMetaObject::activate (sender=0xddc2e0, from_signal_index=7, to_signal_index=7, argv=0x7fffd3d29720) at kernel/qobject.cpp:3066
#20 0x00007f18cb80d903 in QMetaObject::activate (sender=0xddc2e0, m=0x7f18c9a3c8e0, local_signal_index=2, argv=0x7fffd3d29720) at kernel/qobject.cpp:3143
#21 0x00007f18c981dccb in QDBusConnectionInterface::serviceOwnerChanged (this=0xddc2e0, _t1=@0x1da6fa0, _t2=@0x1daeec0, _t3=@0x1db1090) at .moc/debug-shared/moc_qdbusconnectioninterface.cpp:204
#22 0x00007f18c981de37 in QDBusConnectionInterface::qt_metacall (this=0xddc2e0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffd3d29930) at .moc/debug-shared/moc_qdbusconnectioninterface.cpp:131
#23 0x00007f18cb80c5b4 in QMetaObject::activate (sender=0xddc2e0, from_signal_index=11, to_signal_index=11, argv=0x7fffd3d29930) at kernel/qobject.cpp:3066
#24 0x00007f18cb80d903 in QMetaObject::activate (sender=0xddc2e0, m=0x7f18c9a3c8e0, local_signal_index=6, argv=0x7fffd3d29930) at kernel/qobject.cpp:3143
#25 0x00007f18c981db7f in QDBusConnectionInterface::NameOwnerChanged (this=0xddc2e0, _t1=@0x1da6fa0, _t2=@0x1daeec0, _t3=@0x1db1090) at .moc/debug-shared/moc_qdbusconnectioninterface.cpp:232
#26 0x00007f18c981ded1 in QDBusConnectionInterface::qt_metacall (this=0xddc2e0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffd3d29b80) at .moc/debug-shared/moc_qdbusconnectioninterface.cpp:135
#27 0x00007f18c97ebfd7 in QDBusConnectionPrivate::deliverCall (this=0xd9f6b0, object=0xddc2e0, msg=@0x1d334d8, metaTypes=@0x1d334e0, slotIdx=11) at qdbusintegrator.cpp:891
#28 0x00007f18c97f721c in QDBusCallDeliveryEvent::placeMetaCall (this=0x1d33490, object=0xddc2e0) at qdbusintegrator_p.h:101
#29 0x00007f18cb80a450 in QObject::event (this=0xddc2e0, e=0x1d33490) at kernel/qobject.cpp:1115
#30 0x00007f18c8a632e9 in QApplicationPrivate::notify_helper (this=0xddef90, receiver=0xddc2e0, e=0x1d33490) at kernel/qapplication.cpp:4084
#31 0x00007f18c8a6368b in QApplication::notify (this=0xd9df40, receiver=0xddc2e0, e=0x1d33490) at kernel/qapplication.cpp:3631
#32 0x00007f18c9c635cb in KApplication::notify (this=0xd9df40, receiver=0xddc2e0, event=0x1d33490) at /opt/kde4/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#33 0x00007f18cb7f6209 in QCoreApplication::notifyInternal (this=0xd9df40, receiver=0xddc2e0, event=0x1d33490) at kernel/qcoreapplication.cpp:598
#34 0x00007f18cb7f9ca7 in QCoreApplication::sendEvent (receiver=0xddc2e0, event=0x1d33490) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#35 0x00007f18cb7f675b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xd48560) at kernel/qcoreapplication.cpp:1236
#36 0x00007f18cb7f6932 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#37 0x00007f18cb82585b in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#38 0x00007f18cb824a9c in postEventSourceDispatch (s=0xde2d30) at kernel/qeventdispatcher_glib.cpp:209
#39 0x00007f18c749f20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007f18c74a28e0 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007f18c74a2a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007f18cb823dde in QEventDispatcherGlib::processEvents (this=0xdde8b0, flags={i = -741169472}) at kernel/qeventdispatcher_glib.cpp:323
#43 0x00007f18c8b0b2e3 in QGuiEventDispatcherGlib::processEvents (this=0xdde8b0, flags={i = -741169376}) at kernel/qguieventdispatcher_glib.cpp:202
#44 0x00007f18cb7f34b7 in QEventLoop::processEvents (this=0x7fffd3d2a7f0, flags={i = -741169248}) at kernel/qeventloop.cpp:149
#45 0x00007f18cb7f36c4 in QEventLoop::exec (this=0x7fffd3d2a7f0, flags={i = -741169136}) at kernel/qeventloop.cpp:196
#46 0x00007f18cb7f6a54 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#47 0x00007f18c8a63046 in QApplication::exec () at kernel/qapplication.cpp:3553
#48 0x00007f18bf1cb2ab in kdemain (argc=1, argv=0xd47d90) at /opt/kde4/src/kdebase/workspace/plasma/shells/desktop/main.cpp:50
#49 0x000000000040715e in launch (argc=1, _name=0xd6fca8 "/opt/kde4/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=0xd6fccd "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40a2f0 "0") at /opt/kde4/src/kdelibs/kinit/kinit.cpp:667
#50 0x0000000000407988 in handle_launcher_request (sock=7, who=<value optimized out>) at /opt/kde4/src/kdelibs/kinit/kinit.cpp:1159
#51 0x0000000000407f35 in handle_requests (waitForPid=0) at /opt/kde4/src/kdelibs/kinit/kinit.cpp:1352
#52 0x0000000000408a52 in main (argc=2, argv=0x7fffd3d2b678, envp=0x7fffd3d2b690) at /opt/kde4/src/kdelibs/kinit/kinit.cpp:1779
Comment 1 Hamish Rodda 2009-05-18 17:08:52 UTC
All config files available on request.
Comment 2 Aaron J. Seigo 2009-05-18 18:43:53 UTC
it's dieing on connecting to a dbus signal (NewIcon(), which then gets changed in QObject::connect to 2NewIcon()?) ... there should be a line in the logs somewhere (.xsession-errors perhaps?) that starts with:

QDBusConnectionPrivate::connectSignal: received error from D-Bus server

can you find that entry?
Comment 3 Marco Martin 2009-05-18 20:55:38 UTC
SVN commit 969716 by mart:

don't try to connect on an invalid DBus interface, does this fixes bug
193126?

CCBUG: 193126?


 M  +8 -5      dbussystemtraytask.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=969716
Comment 4 Dario Andres 2009-07-18 20:40:17 UTC
@Hamish: can you check if this is still happening with an updated build? Thanks