Bug 306887

Summary: Kopete crash while in the background
Product: [Unmaintained] kopete Reporter: Thomas Tanghus <thomas>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Tanghus 2012-09-16 14:37:28 UTC
Application: kopete (1.3.0)
KDE Platform Version: 4.9.00
Qt Version: 4.8.2
Operating System: Linux 3.2.0-30-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

So I didn't notice what it was actually doing.
I have two XMPP accounts which are online all the time. The jabber.org account is kinda flaky, so it often goes offline, but reconnects. My guess is that it was one of those times. I almost never have any crashes with Kopete otherwise.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffc84d16780 (LWP 5521))]

Thread 6 (Thread 0x7ffc6a836700 (LWP 5523)):
#0  0x00007ffc81096b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffc7c033036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffc7c03349a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffc6b75d406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffc7c0549e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffc7cb0de9a in start_thread (arg=0x7ffc6a836700) at pthread_create.c:308
#6  0x00007ffc810a24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffc63c37700 (LWP 5525)):
#0  0x00007fff32dff70c in ?? ()
#1  0x00007fff32dff959 in ?? ()
#2  0x00007ffc7c2e415d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#3  0x00007ffc8268bc64 in do_gettime (frac=0x7ffc63c36a98, sec=0x7ffc63c36a90) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007ffc8276414d in QTimerInfoList::updateCurrentTime (this=0x7ffc58002860) at kernel/qeventdispatcher_unix.cpp:343
#6  0x00007ffc82764483 in QTimerInfoList::timerWait (this=0x7ffc58002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#7  0x00007ffc82762f3c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7ffc63c36b6c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007ffc82762fe5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007ffc7c032846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffc7c032f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffc7c033164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffc827639e6 in QEventDispatcherGlib::processEvents (this=0x7ffc580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#13 0x00007ffc82732f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007ffc82733177 in QEventLoop::exec (this=0x7ffc580013c0, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007ffc68c509ba in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#16 0x00007ffc8263507b in QThreadPrivate::start (arg=0x26d4660) at thread/qthread_unix.cpp:307
#17 0x00007ffc7cb0de9a in start_thread (arg=0x7ffc63c37700) at pthread_create.c:308
#18 0x00007ffc810a24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffc63436700 (LWP 5526)):
#0  0x00007fff32dff90a in ?? ()
#1  0x00007ffc7c2e415d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007ffc8268bc64 in do_gettime (frac=0x7ffc63435c38, sec=0x7ffc63435c30) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007ffc8276414d in QTimerInfoList::updateCurrentTime (this=0x7ffc50002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007ffc82763e01 in timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:150
#6  timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:144
#7  0x00007ffc7c032b43 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffc7c032fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffc7c033164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffc827639e6 in QEventDispatcherGlib::processEvents (this=0x7ffc500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007ffc82732f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007ffc82733177 in QEventLoop::exec (this=0x7ffc500013c0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007ffc6908eea5 in XMPP::SyncThread::run (this=0x26db950) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#14 0x00007ffc8263507b in QThreadPrivate::start (arg=0x26db950) at thread/qthread_unix.cpp:307
#15 0x00007ffc7cb0de9a in start_thread (arg=0x7ffc63436700) at pthread_create.c:308
#16 0x00007ffc810a24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffc6b270700 (LWP 5531)):
#0  0x00007ffc7cb0ff69 in __pthread_mutex_lock (mutex=0x7ffc6400cff0) at pthread_mutex_lock.c:92
#1  0x00007ffc7c06e5a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffc7c032675 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffc7c032f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffc7c033164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffc827639e6 in QEventDispatcherGlib::processEvents (this=0x7ffc6400e160, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ffc82732f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ffc82733177 in QEventLoop::exec (this=0x7ffc6b26fdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ffc82632057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007ffc82712c2f in QInotifyFileSystemWatcherEngine::run (this=0x29552e0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007ffc8263507b in QThreadPrivate::start (arg=0x29552e0) at thread/qthread_unix.cpp:307
#11 0x00007ffc7cb0de9a in start_thread (arg=0x7ffc6b270700) at pthread_create.c:308
#12 0x00007ffc810a24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffc57fff700 (LWP 5831)):
#0  0x00007ffc81096b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffc7c033036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffc7c033164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffc827639e6 in QEventDispatcherGlib::processEvents (this=0x7ffc4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007ffc82732f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffc82733177 in QEventLoop::exec (this=0x7ffc57ffedd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffc82632057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007ffc82712c2f in QInotifyFileSystemWatcherEngine::run (this=0x66ef050) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ffc8263507b in QThreadPrivate::start (arg=0x66ef050) at thread/qthread_unix.cpp:307
#9  0x00007ffc7cb0de9a in start_thread (arg=0x7ffc57fff700) at pthread_create.c:308
#10 0x00007ffc810a24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffc84d16780 (LWP 5521)):
[KCrash Handler]
#6  0x00007ffc843cf509 in QList (l=..., this=0x7fff32c8e510) at /usr/include/qt4/QtCore/qlist.h:122
#7  QListIterator (container=..., this=0x7fff32c8e510) at /usr/include/qt4/QtCore/qlist.h:902
#8  Kopete::MetaContact::isOnline (this=0x9d3af70) at ../../../kopete/libkopete/kopetemetacontact.cpp:516
#9  0x00007ffc83cd6e9e in Kopete::UI::ContactListTreeModel::countConnected (this=<optimized out>, gmi=<optimized out>) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#10 0x00007ffc83cd70f3 in Kopete::UI::ContactListTreeModel::data (this=0x2180c10, index=..., role=138) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:318
#11 0x00007ffc83ce045a in Kopete::UI::ContactListProxyModel::filterAcceptsRow (this=0x2117140, sourceRow=<optimized out>, sourceParent=...) at ../../../../kopete/kopete/contactlist/contactlistproxymodel.cpp:139
#12 0x00007ffc81debe9a in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x21136b0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1131
#13 0x00007ffc82748841 in QMetaObject::activate (sender=0x2180c10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff32c8ebe0) at kernel/qobject.cpp:3547
#14 0x00007ffc82794ac7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#15 0x00007ffc83cdb0ab in Kopete::UI::ContactListTreeModel::addMetaContactToGroup (this=0x2180c10, mc=0x435ebe0, group=0x247f2f0) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:172
#16 0x00007ffc83cd8e50 in Kopete::UI::ContactListTreeModel::handleContactDataChange (this=0x2180c10, mc=0x435ebe0) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:602
#17 0x00007ffc82748841 in QMetaObject::activate (sender=0x435ebe0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff32c8ef10) at kernel/qobject.cpp:3547
#18 0x00007ffc843cded0 in Kopete::MetaContact::onlineStatusChanged (this=<optimized out>, _t1=0x435ebe0, _t2=Kopete::OnlineStatus::Offline) at ./kopetemetacontact.moc:269
#19 0x00007ffc843d0b54 in Kopete::MetaContact::updateOnlineStatus (this=0x435ebe0) at ../../../kopete/libkopete/kopetemetacontact.cpp:157
#20 0x00007ffc843d0bc1 in Kopete::MetaContact::slotContactStatusChanged (this=0x435ebe0, c=0x5c97f20, status=...) at ../../../kopete/libkopete/kopetemetacontact.cpp:607
#21 0x00007ffc843d376c in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kopetemetacontact.moc:166
#22 Kopete::MetaContact::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kopetemetacontact.moc:128
#23 0x00007ffc82748841 in QMetaObject::activate (sender=0x5c97f20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff32c8f120) at kernel/qobject.cpp:3547
#24 0x00007ffc843b7c99 in Kopete::Contact::onlineStatusChanged (this=<optimized out>, _t1=0x5c97f20, _t2=..., _t3=...) at ./kopetecontact.moc:221
#25 0x00007ffc843b845c in Kopete::Contact::setOnlineStatus (this=0x5c97f20, status=...) at ../../../kopete/libkopete/kopetecontact.cpp:172
#26 0x00007ffc68fa0ecf in JabberBaseContact::reevaluateStatus (this=0x5c97f20) at ../../../../kopete/protocols/jabber/jabberbasecontact.cpp:313
#27 0x00007ffc68f9abea in JabberResourcePool::notifyRelevantContacts (this=<optimized out>, jid=..., removed=true) at ../../../../kopete/protocols/jabber/jabberresourcepool.cpp:100
#28 0x00007ffc68f9b1a8 in JabberResourcePool::removeResource (this=0x22dec30, jid=..., resource=...) at ../../../../kopete/protocols/jabber/jabberresourcepool.cpp:158
#29 0x00007ffc68f90109 in JabberAccount::slotResourceUnavailable (this=0x2525990, jid=..., resource=...) at ../../../../kopete/protocols/jabber/jabberaccount.cpp:1625
#30 0x00007ffc68f97824 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x2525990, _c=<optimized out>) at ./jabberaccount.moc:153
#31 JabberAccount::qt_static_metacall (_o=0x2525990, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./jabberaccount.moc:115
#32 0x00007ffc82748841 in QMetaObject::activate (sender=0x2522ae0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff32c8f7a0) at kernel/qobject.cpp:3547
#33 0x00007ffc68fd0d2a in JabberClient::resourceUnavailable (this=<optimized out>, _t1=..., _t2=...) at ./jabberclient.moc:314
#34 0x00007ffc82748841 in QMetaObject::activate (sender=0xebf8700, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff32c8f8f0) at kernel/qobject.cpp:3547
#35 0x00007ffc68fd740a in XMPP::Client::resourceUnavailable (this=<optimized out>, _t1=..., _t2=...) at moc_xmpp_client.cpp:226
#36 0x00007ffc68fef736 in XMPP::Client::updatePresence (this=0xebf8700, i=0xed3a930, j=..., s=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:819
#37 0x00007ffc68ff2494 in XMPP::Client::ppPresence (this=0xebf8700, j=..., s=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:772
#38 0x00007ffc82748841 in QMetaObject::activate (sender=0xed23ac0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff32c902d0) at kernel/qobject.cpp:3547
#39 0x00007ffc68fd5307 in XMPP::JT_PushPresence::presence (this=<optimized out>, _t1=..., _t2=...) at moc_xmpp_tasks.cpp:441
#40 0x00007ffc69033daa in XMPP::JT_PushPresence::take (this=0xed23ac0, e=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:774
#41 0x00007ffc6902069d in XMPP::Task::take (this=<optimized out>, x=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#42 0x00007ffc68feace1 in XMPP::Client::distribute (this=0xebf8700, x=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#43 0x00007ffc68feb687 in XMPP::Client::streamReadyRead (this=0xebf8700) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#44 0x00007ffc82748841 in QMetaObject::activate (sender=0xec527d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#45 0x00007ffc8274da06 in QObject::event (this=0xec527d0, e=<optimized out>) at kernel/qobject.cpp:1195
#46 0x00007ffc818387b4 in notify_helper (e=0x9621600, receiver=0xec527d0, this=0x1fbd750) at kernel/qapplication.cpp:4556
#47 QApplicationPrivate::notify_helper (this=0x1fbd750, receiver=0xec527d0, e=0x9621600) at kernel/qapplication.cpp:4528
#48 0x00007ffc8183d583 in QApplication::notify (this=0x7fff32c91cf0, receiver=0xec527d0, e=0x9621600) at kernel/qapplication.cpp:4417
#49 0x00007ffc8319a456 in KApplication::notify (this=0x7fff32c91cf0, receiver=0xec527d0, event=0x9621600) at ../../kdeui/kernel/kapplication.cpp:311
#50 0x00007ffc827343ec in QCoreApplication::notifyInternal (this=0x7fff32c91cf0, receiver=0xec527d0, event=0x9621600) at kernel/qcoreapplication.cpp:915
#51 0x00007ffc827381ca in sendEvent (event=0x9621600, receiver=0xec527d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1f6a440) at kernel/qcoreapplication.cpp:1539
#53 0x00007ffc82763553 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#54 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#55 0x00007ffc7c032d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007ffc7c0330a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007ffc7c033164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007ffc8276397f in QEventDispatcherGlib::processEvents (this=0x1f6bd20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007ffc818e0cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007ffc82732f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007ffc82733177 in QEventLoop::exec (this=0x7fff32c91c70, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007ffc827384c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#63 0x000000000041418f in main (argc=3, argv=0x7fff32c92b78) at ../../../kopete/kopete/main.cpp:105

This bug may be a duplicate of or related to bug 306846, bug 298290.

Possible duplicates by query: bug 306846, bug 306758, bug 306397, bug 305344, bug 305064.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-04 21:35:34 UTC

*** This bug has been marked as a duplicate of bug 298290 ***