Bug 296077

Summary: Kded crashes when enabling/disabling account with pending subscription requests
Product: [Unmaintained] telepathy Reporter: Martin Klapetek <mklapetek>
Component: kded-moduleAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: git-latest   
Target Milestone: 0.4.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Klapetek 2012-03-15 15:24:51 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.8.1 (4.8.1) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-18-generic x86_64
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
Apparently I have 2 subscription requests on one yahoo account, whenever I enable or disable the account, kded goes down.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fef02528780 (LWP 6826))]

Thread 3 (Thread 0x7feee45ac700 (LWP 6829)):
#0  0x00007fff92ed18de in ?? ()
#1  0x00007feefb53515d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007feeff6d8f76 in do_gettime (sec=0x7feee45ab950, frac=0x7feee45ab958) at tools/qelapsedtimer_unix.cpp:123
#3  0x00007feeff6d8fd2 in qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007feeff7dc9c2 in QTimerInfoList::updateCurrentTime (this=0x7feedc002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007feeff7dce76 in QTimerInfoList::timerWait (this=0x7feedc002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007feeff7d9707 in timerSourcePrepareHelper (src=0x7feedc002800, timeout=0x7feee45aba9c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007feeff7d98a6 in timerSourcePrepare (source=0x7feedc002800, timeout=0x7feee45aba9c) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007feefcb0d85e in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007feefcb0e05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007feefcb0e264 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007feeff7da402 in QEventDispatcherGlib::processEvents (this=0x7feedc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007feeff79bad8 in QEventLoop::processEvents (this=0x7feee45abca0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007feeff79bc62 in QEventLoop::exec (this=0x7feee45abca0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007feeff668217 in QThread::exec (this=0x209bbd0) at thread/qthread.cpp:501
#15 0x00007feeff776e9f in QInotifyFileSystemWatcherEngine::run (this=0x209bbd0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007feeff66ab44 in QThreadPrivate::start (arg=0x209bbd0) at thread/qthread_unix.cpp:298
#17 0x00007feee9b3e354 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#18 0x00007feefd2f2e9a in start_thread (arg=0x7feee45ac700) at pthread_create.c:308
#19 0x00007fef01e6274d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7feed7a83700 (LWP 6835)):
#0  0x00007fef01e56d93 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007feefcb0e136 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feefcb0e59a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feed7d76426 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007feefcb2f7f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007feee9b3e354 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007feefd2f2e9a in start_thread (arg=0x7feed7a83700) at pthread_create.c:308
#7  0x00007fef01e6274d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fef02528780 (LWP 6826)):
[KCrash Handler]
#6  0x00007feee4925fa0 in Tp::Connection::status (this=0x0) at /home/mck182/Work/Telepathy/telepathy-qt-0.9.0/TelepathyQt/connection.cpp:1097
#7  0x00007feee1cc67ce in ContactRequestHandler::onConnectionChanged (this=0x2362c20, connection=...) at /home/mck182/Work/Telepathy/telepathy-kded-module/contact-request-handler.cpp:91
#8  0x00007feee1cc96e4 in ContactRequestHandler::qt_static_metacall (_o=0x2362c20, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff92e6ec20) at /home/mck182/Work/Telepathy/telepathy-kded-module/build/contact-request-handler.moc:78
#9  0x00007feeff7bc5e8 in QMetaObject::activate (sender=0x1f89690, m=0x7feee4db7400, local_signal_index=20, argv=0x7fff92e6ec20) at kernel/qobject.cpp:3547
#10 0x00007feee486c3a1 in Tp::Account::connectionChanged (this=0x1f89690, _t1=...) at /home/mck182/Work/Telepathy/telepathy-qt-0.9.0/build/TelepathyQt/_gen/account.moc.hpp:448
#11 0x00007feee4880a45 in Tp::Account::Private::processConnQueue (this=0x1e8a260) at /home/mck182/Work/Telepathy/telepathy-qt-0.9.0/TelepathyQt/account.cpp:3820
#12 0x00007feee487e8a1 in Tp::Account::Private::updateProperties (this=0x1e8a260, props=...) at /home/mck182/Work/Telepathy/telepathy-qt-0.9.0/TelepathyQt/account.cpp:3712
#13 0x00007feee48822fb in Tp::Account::onPropertyChanged (this=0x1f89690, delta=...) at /home/mck182/Work/Telepathy/telepathy-qt-0.9.0/TelepathyQt/account.cpp:3988
#14 0x00007feee486b39c in Tp::Account::qt_static_metacall (_o=0x1f89690, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff92e700b0) at /home/mck182/Work/Telepathy/telepathy-qt-0.9.0/build/TelepathyQt/_gen/account.moc.hpp:207
#15 0x00007feeff7bc5e8 in QMetaObject::activate (sender=0x21f48f0, m=0x7feee4db7440, local_signal_index=1, argv=0x7fff92e700b0) at kernel/qobject.cpp:3547
#16 0x00007feee486c87b in Tp::Client::AccountInterface::AccountPropertyChanged (this=0x21f48f0, _t1=...) at /home/mck182/Work/Telepathy/telepathy-qt-0.9.0/build/TelepathyQt/_gen/cli-account.moc.hpp:134
#17 0x00007feee486c460 in Tp::Client::AccountInterface::qt_static_metacall (_o=0x21f48f0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff92e70300) at /home/mck182/Work/Telepathy/telepathy-qt-0.9.0/build/TelepathyQt/_gen/cli-account.moc.hpp:65
#18 0x00007feee486c7fe in Tp::Client::AccountInterface::qt_metacall (this=0x21f48f0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff92e70300) at /home/mck182/Work/Telepathy/telepathy-qt-0.9.0/build/TelepathyQt/_gen/cli-account.moc.hpp:118
#19 0x00007feeffb73802 in QDBusConnectionPrivate::deliverCall (this=0x1d2f370, object=0x21f48f0, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:947
#20 0x00007feeffb7f7f2 in QDBusCallDeliveryEvent::placeMetaCall (this=0x28b0a90, object=0x21f48f0) at qdbusintegrator_p.h:103
#21 0x00007feeff7b7259 in QObject::event (this=0x21f48f0, e=0x28b0a90) at kernel/qobject.cpp:1195
#22 0x00007fef00532b0a in QApplicationPrivate::notify_helper (this=0x1d40fa0, receiver=0x21f48f0, e=0x28b0a90) at kernel/qapplication.cpp:4554
#23 0x00007fef00530128 in QApplication::notify (this=0x7fff92e71040, receiver=0x21f48f0, e=0x28b0a90) at kernel/qapplication.cpp:3936
#24 0x00007fef01543517 in KApplication::notify (this=0x7fff92e71040, receiver=0x21f48f0, event=0x28b0a90) at /build/buildd/project-neon-kdelibs-2+git20120313+r92501/kdeui/kernel/kapplication.cpp:311
#25 0x00007feeff79e20e in QCoreApplication::notifyInternal (this=0x7fff92e71040, receiver=0x21f48f0, event=0x28b0a90) at kernel/qcoreapplication.cpp:876
#26 0x00007feeff7a1d81 in QCoreApplication::sendEvent (receiver=0x21f48f0, event=0x28b0a90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 0x00007feeff79f222 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1d122b0) at kernel/qcoreapplication.cpp:1500
#28 0x00007feeff79ee43 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#29 0x00007feeff7dab2f in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 0x00007feeff7d9b30 in postEventSourceDispatch (s=0x1d3ec30) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007feefcb0ddda in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007feefcb0e1a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007feefcb0e264 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007feeff7da3df in QEventDispatcherGlib::processEvents (this=0x1d13770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fef0060b4e4 in QGuiEventDispatcherGlib::processEvents (this=0x1d13770, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007feeff79bad8 in QEventLoop::processEvents (this=0x7fff92e70fa0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007feeff79bc62 in QEventLoop::exec (this=0x7fff92e70fa0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007feeff79e88e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#39 0x00007fef0052fd12 in QApplication::exec () at kernel/qapplication.cpp:3815
#40 0x00007fef02136fc6 in kdemain (argc=1, argv=0x7fff92e71358) at /build/buildd/project-neon-kdelibs-2+git20120313+r92501/kded/kded.cpp:924
#41 0x0000000000400786 in main (argc=1, argv=0x7fff92e71358) at /build/buildd/project-neon-kdelibs-2+git20120313+r92501/obj-x86_64-linux-gnu/kded/kded4_dummy.cpp:3

Report to https://bugs.kde.org
Comment 1 Martin Klapetek 2012-03-15 15:41:48 UTC
I'm an idiot, sorry.