Bug 309200

Summary: Kopete crashes at startup
Product: [Unmaintained] kopete Reporter: Alexis Kauffmann <leh>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kim
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 Alexis Kauffmann 2012-10-29 15:08:48 UTC
Application: kopete (1.3.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed: Kopete is not starting at all. Clicking on its icon leads me directly to this crash report message.

-- 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 0x7f9a69e37780 (LWP 5994))]

Thread 4 (Thread 0x7f9a4f814700 (LWP 5996)):
#0  __pthread_mutex_lock (mutex=0x3) at pthread_mutex_lock.c:47
#1  0x00007f9a6102cc31 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9a60fef6eb in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9a60fefcf9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9a60ff01e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9a505053b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f9a61013645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f9a61acce9a in start_thread (arg=0x7f9a4f814700) at pthread_create.c:308
#8  0x00007f9a6624ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9a3f1a2700 (LWP 6003)):
#0  0x00007f9a66243303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9a60fefd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9a60fefea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9a678ebc16 in QEventDispatcherGlib::processEvents (this=0x7f9a300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9a678bc2bf in QEventLoop::processEvents (this=this@entry=0x7f9a300013c0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9a678bc548 in QEventLoop::exec (this=0x7f9a300013c0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9a4e2b6cda in QCA::SyncThread::run() () from /usr/lib/x86_64-linux-gnu/libqca.so.2
#7  0x00007f9a677c0aec in QThreadPrivate::start (arg=0x1e37330) at thread/qthread_unix.cpp:338
#8  0x00007f9a61acce9a in start_thread (arg=0x7f9a3f1a2700) at pthread_create.c:308
#9  0x00007f9a6624ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9a3e9a1700 (LWP 6004)):
#0  QTimerInfoList::updateCurrentTime (this=this@entry=0x7f9a34002860) at kernel/qeventdispatcher_unix.cpp:342
#1  0x00007f9a678ec763 in QTimerInfoList::timerWait (this=0x7f9a34002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#2  0x00007f9a678eb2cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f9a3e9a0c64) at kernel/qeventdispatcher_glib.cpp:136
#3  0x00007f9a60fef618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9a60fefcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9a60fefea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f9a678ebc16 in QEventDispatcherGlib::processEvents (this=0x7f9a340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f9a678bc2bf in QEventLoop::processEvents (this=this@entry=0x7f9a340013c0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f9a678bc548 in QEventLoop::exec (this=0x7f9a340013c0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f9a4e6dacaf in XMPP::SyncThread::run (this=0x1c91e70) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#10 0x00007f9a677c0aec in QThreadPrivate::start (arg=0x1c91e70) at thread/qthread_unix.cpp:338
#11 0x00007f9a61acce9a in start_thread (arg=0x7f9a3e9a1700) at pthread_create.c:308
#12 0x00007f9a6624ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9a69e37780 (LWP 5994)):
[KCrash Handler]
#6  Kopete::MetaContact::isOnline (this=<optimized out>) at ../../../kopete/libkopete/kopetemetacontact.cpp:519
#7  0x00007f9a68e00c5e in Kopete::UI::ContactListTreeModel::countConnected (this=this@entry=0x1303260, gmi=gmi@entry=0x1f2bf80) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#8  0x00007f9a68e00ec3 in Kopete::UI::ContactListTreeModel::data (this=0x1303260, index=..., role=138) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:318
#9  0x00007f9a68e09cef in Kopete::UI::ContactListProxyModel::filterAcceptsRow (this=0x1303ab0, sourceRow=<optimized out>, sourceParent=...) at ../../../../kopete/kopete/contactlist/contactlistproxymodel.cpp:139
#10 0x00007f9a66f7ac1c in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x112a150, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1132
#11 0x00007f9a678d2f5f in QMetaObject::activate (sender=0x1303260, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5222a320) at kernel/qobject.cpp:3547
#12 0x00007f9a6791caa7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#13 0x00007f9a68e04893 in Kopete::UI::ContactListTreeModel::addMetaContactToGroup (this=0x1303260, mc=0x1de9b20, group=0x15f3990) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:172
#14 0x00007f9a68e04bab in Kopete::UI::ContactListTreeModel::handleContactDataChange (this=0x1303260, mc=0x1de9b20) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:602
#15 0x00007f9a678d2f5f in QMetaObject::activate (sender=0x1de9b20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5222a620) at kernel/qobject.cpp:3547
#16 0x00007f9a694f1e50 in Kopete::MetaContact::onlineStatusChanged (this=this@entry=0x1de9b20, _t1=_t1@entry=0x1de9b20, _t2=Kopete::OnlineStatus::Offline) at ./kopetemetacontact.moc:269
#17 0x00007f9a694f27c1 in Kopete::MetaContact::updateOnlineStatus (this=this@entry=0x1de9b20) at ../../../kopete/libkopete/kopetemetacontact.cpp:157
#18 0x00007f9a694f5aa1 in Kopete::MetaContact::slotContactStatusChanged (this=0x1de9b20, c=0x1f9ba30, status=...) at ../../../kopete/libkopete/kopetemetacontact.cpp:607
#19 0x00007f9a694f71fc in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kopetemetacontact.moc:166
#20 Kopete::MetaContact::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kopetemetacontact.moc:128
#21 0x00007f9a678d2f5f in QMetaObject::activate (sender=0x1f9ba30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5222a820) at kernel/qobject.cpp:3547
#22 0x00007f9a694de149 in Kopete::Contact::onlineStatusChanged (this=this@entry=0x1f9ba30, _t1=_t1@entry=0x1f9ba30, _t2=..., _t3=...) at ./kopetecontact.moc:221
#23 0x00007f9a694de88a in Kopete::Contact::setOnlineStatus (this=0x1f9ba30, status=...) at ../../../kopete/libkopete/kopetecontact.cpp:172
#24 0x00007f9a4e601a34 in JabberBaseContact::reevaluateStatus (this=0x1f9ba30) at ../../../../kopete/protocols/jabber/jabberbasecontact.cpp:313
#25 0x00007f9a678d243e in QObject::event (this=0x1f9ba30, e=<optimized out>) at kernel/qobject.cpp:1195
#26 0x00007f9a669e9e9c in QApplicationPrivate::notify_helper (this=this@entry=0x1150cf0, receiver=receiver@entry=0x1f9ba30, e=e@entry=0x1f959e0) at kernel/qapplication.cpp:4562
#27 0x00007f9a669ee30a in QApplication::notify (this=0x7fff5222b520, receiver=0x1f9ba30, e=0x1f959e0) at kernel/qapplication.cpp:4423
#28 0x00007f9a682fb1d6 in KApplication::notify (this=0x7fff5222b520, receiver=0x1f9ba30, event=0x1f959e0) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f9a678bd56e in QCoreApplication::notifyInternal (this=0x7fff5222b520, receiver=receiver@entry=0x1f9ba30, event=event@entry=0x1f959e0) at kernel/qcoreapplication.cpp:915
#30 0x00007f9a678c13f1 in sendEvent (event=0x1f959e0, receiver=0x1f9ba30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10f31f0) at kernel/qcoreapplication.cpp:1539
#32 0x00007f9a678eba63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x1146170) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007f9a60fefab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f9a60fefde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9a60fefea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f9a678ebbf6 in QEventDispatcherGlib::processEvents (this=0x10f4ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007f9a66a8ec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f9a678bc2bf in QEventLoop::processEvents (this=this@entry=0x7fff5222b3f0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f9a678bc548 in QEventLoop::exec (this=0x7fff5222b3f0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f9a678c1708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#42 0x000000000041374b in main (argc=3, argv=0x7fff5222b678) at ../../../kopete/kopete/main.cpp:105

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

Possible duplicates by query: bug 308869, bug 308861, bug 308660, bug 308609, bug 308429.

Reported using DrKonqi
Comment 1 Alexis Kauffmann 2012-10-29 15:59:28 UTC
I started kopete via command line using the --noconnect option. Then I tried to manually connect each of my accounts. MSN, AIM and Facebook connected with no problems. When I tried to connect to my G-Talk accounts, the application crashed again.
Comment 2 Alexis Kauffmann 2012-10-29 16:04:33 UTC
To be even more specific: the problem seems to lie in the authorization to my company's Google Apps account. I had to renew it earlier to access it via other applications and Kopete only crashes when trying to access "myusername@mydomain.com" which is a Google Account. However, accessing myusername@gmail.com causes no harm.
Comment 3 Jekyll Wu 2012-10-29 22:16:01 UTC

*** This bug has been marked as a duplicate of bug 298290 ***
Comment 4 Kim Foder 2012-10-31 20:26:07 UTC
Created attachment 74909 [details]
New crash information added by DrKonqi

kopete (1.3.2) on KDE Platform 4.9.2 using Qt 4.8.3

- What I was doing when the application crashed:

Startup, contacts are shown then program crashes.

-- Backtrace (Reduced):
#6  Kopete::MetaContact::isOnline (this=<optimized out>) at ../../../kopete/libkopete/kopetemetacontact.cpp:519
#7  0x00007fe070a8cc5e in Kopete::UI::ContactListTreeModel::countConnected (this=this@entry=0x103a9e0, gmi=gmi@entry=0x1752030) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#8  0x00007fe070a8cec3 in Kopete::UI::ContactListTreeModel::data (this=0x103a9e0, index=..., role=138) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:318
#9  0x00007fe070a95cef in Kopete::UI::ContactListProxyModel::filterAcceptsRow (this=0x103c9a0, sourceRow=<optimized out>, sourceParent=...) at ../../../../kopete/kopete/contactlist/contactlistproxymodel.cpp:139
#10 0x00007fe06ec06c1c in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x10a93d0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1132