Bug 305064

Summary: Kopete crash at startup.
Product: [Unmaintained] kopete Reporter: P. Varet <p.varet>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: thomas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description P. Varet 2012-08-13 07:44:45 UTC
Application: kopete (1.3.0)
KDE Platform Version: 4.9.00
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

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

Just tried to start it.

Note: this is subsequent to a crash that happened as I was trying to close Kopete. Kopete had been working as usual up to that point.

-- 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 0x7f7f95550780 (LWP 440))]

Thread 6 (Thread 0x7f7f7d6c8700 (LWP 442)):
#0  0x00007f7f8c89f5b8 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f7f8c863851 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f8c863f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f8c864164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7f92f92426 in QEventDispatcherGlib::processEvents (this=0x7f7f780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f7f92f61c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7f92f61ed7 in QEventLoop::exec (this=0x7f7f7d6c7dd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7f92e60fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f7f92f419ff in QInotifyFileSystemWatcherEngine::run (this=0x1746300) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f7f92e63fcb in QThreadPrivate::start (arg=0x1746300) at thread/qthread_unix.cpp:298
#10 0x00007f7f8d33ee9a in start_thread (arg=0x7f7f7d6c8700) at pthread_create.c:308
#11 0x00007f7f918d24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f7f76108700 (LWP 444)):
#0  0x00007f7f8d340f69 in __pthread_mutex_lock (mutex=0x7f7f7000c300) at pthread_mutex_lock.c:92
#1  0x00007f7f8c89f5a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f8c86401b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f8c86449a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7f7702f406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f7f8c8859e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f7f8d33ee9a in start_thread (arg=0x7f7f76108700) at pthread_create.c:308
#7  0x00007f7f918d24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7f6eeb7700 (LWP 446)):
#0  0x00007f7f918c6b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7f8c864036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f8c864164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f92f92426 in QEventDispatcherGlib::processEvents (this=0x7f7f640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7f92f61c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7f92f61ed7 in QEventLoop::exec (this=0x7f7f640013c0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7f74fe19ba in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#7  0x00007f7f92e63fcb in QThreadPrivate::start (arg=0x1b15a50) at thread/qthread_unix.cpp:298
#8  0x00007f7f8d33ee9a in start_thread (arg=0x7f7f6eeb7700) at pthread_create.c:308
#9  0x00007f7f918d24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7f6e6b6700 (LWP 447)):
#0  __libc_disable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:103
#1  0x00007f7f918c6b17 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0x00007f7f8c864036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f8c864164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7f92f92426 in QEventDispatcherGlib::processEvents (this=0x7f7f5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f7f92f61c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7f92f61ed7 in QEventLoop::exec (this=0x7f7f5c0013c0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7f7541fea5 in XMPP::SyncThread::run (this=0x1b1d550) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#8  0x00007f7f92e63fcb in QThreadPrivate::start (arg=0x1b1d550) at thread/qthread_unix.cpp:298
#9  0x00007f7f8d33ee9a in start_thread (arg=0x7f7f6e6b6700) at pthread_create.c:308
#10 0x00007f7f918d24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7f6deb5700 (LWP 448)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f7f92e6443f in wait (time=30000, this=0x1b507b0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b50758, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7f92e575bf in QThreadPoolThread::run (this=0x1b50a80) at concurrent/qthreadpool.cpp:141
#4  0x00007f7f92e63fcb in QThreadPrivate::start (arg=0x1b50a80) at thread/qthread_unix.cpp:298
#5  0x00007f7f8d33ee9a in start_thread (arg=0x7f7f6deb5700) at pthread_create.c:308
#6  0x00007f7f918d24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7f95550780 (LWP 440)):
[KCrash Handler]
#6  ref (this=0x7f7f6fffe320) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QList (l=..., this=0x7fff8d1c8a00) at /usr/include/qt4/QtCore/qlist.h:122
#8  QListIterator (container=..., this=0x7fff8d1c8a00) at /usr/include/qt4/QtCore/qlist.h:902
#9  Kopete::MetaContact::isOnline (this=0x1923bf0) at ../../../kopete/libkopete/kopetemetacontact.cpp:516
#10 0x00007f7f94504e9e in Kopete::UI::ContactListTreeModel::countConnected (this=<optimized out>, gmi=<optimized out>) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#11 0x00007f7f945050f3 in Kopete::UI::ContactListTreeModel::data (this=0x144f480, index=..., role=138) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:318
#12 0x00007f7f9450e45a in Kopete::UI::ContactListProxyModel::filterAcceptsRow (this=0x145c9f0, sourceRow=<optimized out>, sourceParent=...) at ../../../../kopete/kopete/contactlist/contactlistproxymodel.cpp:139
#13 0x00007f7f9261ba4a in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x14584e0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1131
#14 0x00007f7f92f77281 in QMetaObject::activate (sender=0x144f480, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8d1c90d0) at kernel/qobject.cpp:3547
#15 0x00007f7f92fc3507 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#16 0x00007f7f945090ab in Kopete::UI::ContactListTreeModel::addMetaContactToGroup (this=0x144f480, mc=0x171b330, group=0x190ed10) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:172
#17 0x00007f7f94506e50 in Kopete::UI::ContactListTreeModel::handleContactDataChange (this=0x144f480, mc=0x171b330) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:602
#18 0x00007f7f92f77281 in QMetaObject::activate (sender=0x171b330, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8d1c9400) at kernel/qobject.cpp:3547
#19 0x00007f7f94bfbed0 in Kopete::MetaContact::onlineStatusChanged (this=<optimized out>, _t1=0x171b330, _t2=Kopete::OnlineStatus::Offline) at ./kopetemetacontact.moc:269
#20 0x00007f7f94bfeb54 in Kopete::MetaContact::updateOnlineStatus (this=0x171b330) at ../../../kopete/libkopete/kopetemetacontact.cpp:157
#21 0x00007f7f94bfebc1 in Kopete::MetaContact::slotContactStatusChanged (this=0x171b330, c=0x181b150, status=...) at ../../../kopete/libkopete/kopetemetacontact.cpp:607
#22 0x00007f7f94c0176c in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kopetemetacontact.moc:166
#23 Kopete::MetaContact::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kopetemetacontact.moc:128
#24 0x00007f7f92f77281 in QMetaObject::activate (sender=0x181b150, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8d1c9610) at kernel/qobject.cpp:3547
#25 0x00007f7f94be5c99 in Kopete::Contact::onlineStatusChanged (this=<optimized out>, _t1=0x181b150, _t2=..., _t3=...) at ./kopetecontact.moc:221
#26 0x00007f7f94be5d39 in Kopete::Contact::slotAccountIsConnectedChanged (this=0x181b150) at ../../../kopete/libkopete/kopetecontact.cpp:214
#27 0x00007f7f94be92fd in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x181b150, _c=<optimized out>) at ./kopetecontact.moc:134
#28 Kopete::Contact::qt_static_metacall (_o=0x181b150, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kopetecontact.moc:106
#29 0x00007f7f92f77281 in QMetaObject::activate (sender=0x17b6cb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#30 0x00007f7f94bcfa9d in Kopete::Account::slotOnlineStatusChanged (this=0x17b6cb0, newStatus=..., oldStatus=...) at ../../../kopete/libkopete/kopeteaccount.cpp:584
#31 0x00007f7f94bcfedf in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x17b6cb0, _c=<optimized out>) at ./kopeteaccount.moc:137
#32 Kopete::Account::qt_static_metacall (_o=0x17b6cb0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kopeteaccount.moc:112
#33 0x00007f7f92f77281 in QMetaObject::activate (sender=0x195cbb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8d1c9a00) at kernel/qobject.cpp:3547
#34 0x00007f7f94be5c99 in Kopete::Contact::onlineStatusChanged (this=<optimized out>, _t1=0x195cbb0, _t2=..., _t3=...) at ./kopetecontact.moc:221
#35 0x00007f7f94be645c in Kopete::Contact::setOnlineStatus (this=0x195cbb0, status=...) at ../../../kopete/libkopete/kopetecontact.cpp:172
#36 0x00007f7f75331ecf in JabberBaseContact::reevaluateStatus (this=0x195cbb0) at ../../../../kopete/protocols/jabber/jabberbasecontact.cpp:313
#37 0x00007f7f7532bbea in JabberResourcePool::notifyRelevantContacts (this=<optimized out>, jid=..., removed=false) at ../../../../kopete/protocols/jabber/jabberresourcepool.cpp:100
#38 0x00007f7f7532c5a3 in JabberResourcePool::addResource (this=0x198d6e0, jid=..., resource=...) at ../../../../kopete/protocols/jabber/jabberresourcepool.cpp:120
#39 0x00007f7f75324011 in JabberAccount::setPresence (this=0x17b6cb0, status=...) at ../../../../kopete/protocols/jabber/jabberaccount.cpp:1080
#40 0x00007f7f753246f0 in JabberAccount::slotRosterRequestFinished (this=0x17b6cb0, success=<optimized out>) at ../../../../kopete/protocols/jabber/jabberaccount.cpp:638
#41 0x00007f7f75328721 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x17b6cb0, _c=<optimized out>) at ./jabberaccount.moc:138
#42 JabberAccount::qt_static_metacall (_o=0x17b6cb0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./jabberaccount.moc:115
#43 0x00007f7f92f77281 in QMetaObject::activate (sender=0x18996b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8d1ca530) at kernel/qobject.cpp:3547
#44 0x00007f7f75361be2 in JabberClient::rosterRequestFinished (this=<optimized out>, _t1=true) at ./jabberclient.moc:279
#45 0x00007f7f92f77281 in QMetaObject::activate (sender=0x1b1ae80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8d1ca680) at kernel/qobject.cpp:3547
#46 0x00007f7f75368315 in XMPP::Client::rosterRequestFinished (this=<optimized out>, _t1=true, _t2=0, _t3=...) at moc_xmpp_client.cpp:191
#47 0x00007f7f92f77281 in QMetaObject::activate (sender=0x1664f10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#48 0x00007f7f753b0e4e in done (this=0x1664f10) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:216
#49 XMPP::Task::done (this=0x1664f10) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:206
#50 0x00007f7f753ccdb8 in XMPP::JT_Roster::take (this=0x1664f10, x=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:480
#51 0x00007f7f753b169d in XMPP::Task::take (this=<optimized out>, x=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#52 0x00007f7f7537bce1 in XMPP::Client::distribute (this=0x1b1ae80, x=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#53 0x00007f7f7537c687 in XMPP::Client::streamReadyRead (this=0x1b1ae80) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#54 0x00007f7f92f77281 in QMetaObject::activate (sender=0x12583d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#55 0x00007f7f92f7c446 in QObject::event (this=0x12583d0, e=<optimized out>) at kernel/qobject.cpp:1195
#56 0x00007f7f92068894 in notify_helper (e=0x1bc6990, receiver=0x12583d0, this=0x12697e0) at kernel/qapplication.cpp:4559
#57 QApplicationPrivate::notify_helper (this=0x12697e0, receiver=0x12583d0, e=0x1bc6990) at kernel/qapplication.cpp:4531
#58 0x00007f7f9206d713 in QApplication::notify (this=0x7fff8d1cb7c0, receiver=0x12583d0, e=0x1bc6990) at kernel/qapplication.cpp:4420
#59 0x00007f7f939c8456 in KApplication::notify (this=0x7fff8d1cb7c0, receiver=0x12583d0, event=0x1bc6990) at ../../kdeui/kernel/kapplication.cpp:311
#60 0x00007f7f92f62e9c in QCoreApplication::notifyInternal (this=0x7fff8d1cb7c0, receiver=0x12583d0, event=0x1bc6990) at kernel/qcoreapplication.cpp:876
#61 0x00007f7f92f66c6a in sendEvent (event=0x1bc6990, receiver=0x12583d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#62 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1214440) at kernel/qcoreapplication.cpp:1500
#63 0x00007f7f92f91f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#64 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#65 0x00007f7f8c863d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f7f8c8640a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f7f8c864164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f7f92f923bf in QEventDispatcherGlib::processEvents (this=0x1215d20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#69 0x00007f7f92110d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x00007f7f92f61c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#71 0x00007f7f92f61ed7 in QEventLoop::exec (this=0x7fff8d1cb740, flags=...) at kernel/qeventloop.cpp:204
#72 0x00007f7f92f66f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#73 0x000000000041418f in main (argc=3, argv=0x7fff8d1cc648) at ../../../kopete/kopete/main.cpp:105

This bug may be a duplicate of or related to bug 304661.

Possible duplicates by query: bug 304926, bug 304661, bug 304316, bug 303034, bug 301989.

Reported using DrKonqi
Comment 1 P. Varet 2012-08-13 08:02:17 UTC
Alright. I managed to get Kopete to start by 1/ running it with --noconnect and 2/ disabling the Bonjour protocol. If I keep only my 3 GMail accounts and my Yahoo account online, then the crash doesn't occur.
Comment 2 Thomas Tanghus 2012-08-23 02:15:39 UTC
Created attachment 73407 [details]
New crash information added by DrKonqi

kopete (1.3.0) on KDE Platform 4.9.00 using Qt 4.8.1

- What I was doing when the application crashed:

I had recently deleted a GTalk account. After ~½ an hour Kopete crashed. No idea if it's related.

-- Backtrace (Reduced):
#7  QList (l=..., this=0x7fff08c36d80) at /usr/include/qt4/QtCore/qlist.h:122
#8  QListIterator (container=..., this=0x7fff08c36d80) at /usr/include/qt4/QtCore/qlist.h:902
#9  Kopete::MetaContact::isOnline (this=0xe96f20) at ../../../kopete/libkopete/kopetemetacontact.cpp:516
#10 0x00007fe257542e9e in Kopete::UI::ContactListTreeModel::countConnected (this=<optimized out>, gmi=<optimized out>) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#11 0x00007fe2575430f3 in Kopete::UI::ContactListTreeModel::data (this=0x975500, index=..., role=138) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:318
Comment 3 Jekyll Wu 2012-10-04 21:33:01 UTC

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