Bug 271485

Summary: telepathy-kde-contactlist crashes on startup
Product: [Unmaintained] telepathy Reporter: Michał Zając <michal.zajac+kde.org>
Component: contactlistAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: drf, michal.zajac+kde.org, mklapetek
Priority: NOR    
Version: git-latest   
Target Milestone: 0.4.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Michał Zając 2011-04-22 14:36:25 UTC
Application: telepathy-kde-contactlist (0.1)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu Natty (development branch)

-- Information about the crash:
Instantly crashes after running it from both console and KMenu. It was compiled from GIT on 22 April 2011 along with the rest of Telepathy KDE sources.
Distro: Kubuntu Natty

The crash can be reproduced every time.

-- Backtrace:
Application: Telepathy KDE Contact List (telepathy-kde-contactlist), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f07d5af6780 (LWP 5364))]

Thread 2 (Thread 0x7f07c29e2700 (LWP 5369)):
#0  0x00007f07d1b94f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f07cea93104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f07cea93639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07d3414446 in QEventDispatcherGlib::processEvents (this=0x1944300, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f07d33e8882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f07d33e8abc in QEventLoop::exec (this=0x7f07c29e1dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f07d32ff924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f07d33cac2f in QInotifyFileSystemWatcherEngine::run (this=0x1b8cc00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f07d3302175 in QThreadPrivate::start (arg=0x1b8cc00) at thread/qthread_unix.cpp:320
#9  0x00007f07cfbe4d8c in start_thread (arg=0x7f07c29e2700) at pthread_create.c:304
#10 0x00007f07d1ba204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f07d5af6780 (LWP 5364)):
[KCrash Handler]
#6  0x00007f07d5500a90 in Tp::ContactManager::connection() const () from /usr/lib/libtelepathy-qt4.so.1
#7  0x00007f07d550302d in Tp::ContactManager::allKnownContacts() const () from /usr/lib/libtelepathy-qt4.so.1
#8  0x000000000042f633 in MainWidget::onContactManagerStateChanged (this=0x195ac20, state=<value optimized out>) at /home/quintasan/Sauce/telepathy/telepathy-contact-list/main-widget.cpp:357
#9  0x000000000042fc8f in MainWidget::monitorPresence (this=0x195ac20, account=...) at /home/quintasan/Sauce/telepathy/telepathy-contact-list/main-widget.cpp:346
#10 0x000000000042fd65 in MainWidget::onAccountReady (this=0x195ac20, operation=<value optimized out>) at /home/quintasan/Sauce/telepathy/telepathy-contact-list/main-widget.cpp:334
#11 0x00000000004301eb in MainWidget::qt_metacall (this=0x195ac20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff379e56d0) at /home/quintasan/Sauce/telepathy/telepathy-contact-list/build/main-widget.moc:163
#12 0x00007f07d33fe5f8 in QMetaObject::activate (sender=0x1c47750, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff379e56d0) at kernel/qobject.cpp:3287
#13 0x00007f07d55b2b3f in Tp::PendingOperation::finished(Tp::PendingOperation*) () from /usr/lib/libtelepathy-qt4.so.1
#14 0x00007f07d55b2c21 in ?? () from /usr/lib/libtelepathy-qt4.so.1
#15 0x00007f07d55b4f9c in Tp::PendingOperation::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libtelepathy-qt4.so.1
#16 0x00007f07d55b66a0 in Tp::PendingReady::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libtelepathy-qt4.so.1
#17 0x00007f07d33fd49a in QObject::event (this=0x1c47750, e=<value optimized out>) at kernel/qobject.cpp:1226
#18 0x00007f07d27aa9e4 in QApplicationPrivate::notify_helper (this=0x186ef00, receiver=0x1c47750, e=0x1c2e190) at kernel/qapplication.cpp:4462
#19 0x00007f07d27af3aa in QApplication::notify (this=<value optimized out>, receiver=0x1c47750, e=0x1c2e190) at kernel/qapplication.cpp:4341
#20 0x00007f07d4f5c866 in KApplication::notify (this=0x7fff379e6110, receiver=0x1c47750, event=0x1c2e190) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f07d33e949c in QCoreApplication::notifyInternal (this=0x7fff379e6110, receiver=0x1c47750, event=0x1c2e190) at kernel/qcoreapplication.cpp:731
#22 0x00007f07d33ecc25 in sendEvent (receiver=0x0, event_type=0, data=0x1817b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1817b60) at kernel/qcoreapplication.cpp:1372
#24 0x00007f07d3414253 in sendPostedEvents (s=0x18719c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=0x18719c0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f07cea92bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f07cea933a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f07cea93639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f07d34143ef in QEventDispatcherGlib::processEvents (this=0x1817340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f07d2851dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f07d33e8882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f07d33e8abc in QEventLoop::exec (this=0x7fff379e6090, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f07d33ececb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#34 0x0000000000427f3e in main (argc=1, argv=<value optimized out>) at /home/quintasan/Sauce/telepathy/telepathy-contact-list/main.cpp:88

Reported using DrKonqi
Comment 1 Michał Zając 2011-04-22 14:46:47 UTC
Created attachment 59205 [details]
New crash information added by DrKonqi

telepathy-kde-contactlist (0.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

Same as above, stack trace is after installing tp-qt4 debug stuff

-- Backtrace (Reduced):
#6  Tp::ContactManager::connection (this=0x0) at /build/buildd/telepathy-qt4-0.5.12/TelepathyQt4/contact-manager.cpp:139
#7  0x00007ffb8e67602d in Tp::ContactManager::allKnownContacts (this=0x0) at /build/buildd/telepathy-qt4-0.5.12/TelepathyQt4/contact-manager.cpp:198
#8  0x000000000042f633 in MainWidget::onContactManagerStateChanged (this=0x10eeff0, state=<value optimized out>) at /home/quintasan/Sauce/telepathy/telepathy-contact-list/main-widget.cpp:357
#9  0x000000000042fc8f in MainWidget::monitorPresence (this=0x10eeff0, account=...) at /home/quintasan/Sauce/telepathy/telepathy-contact-list/main-widget.cpp:346
#10 0x000000000042fd65 in MainWidget::onAccountReady (this=0x10eeff0, operation=<value optimized out>) at /home/quintasan/Sauce/telepathy/telepathy-contact-list/main-widget.cpp:334
Comment 2 Dario Freddi 2011-04-22 15:06:50 UTC
Slaughtered in 5e082bf