Bug 307524

Summary: kopete segfault after joining jabber group chat
Product: [Unmaintained] kopete Reporter: Andrew <travneff>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew 2012-09-28 11:26:22 UTC
Application: kopete (1.3.1)
KDE Platform Version: 4.9.1
Qt Version: 4.8.2
Operating System: Linux 3.5.4-1.fc17.x86_64 x86_64
Distribution: "RFRemix release 17 (Beefy Miracle)"

-- Information about the crash:
Kopete crashes in several seconds after I've added myself to group chat @ google talk and open the chat window. Server/room URL like this:
private-chat-7b7c32a9-a905-47f1-0000-000000000000@groupchat.google.com

Reproduced three times, happened always.

Reason can be related to the date of URL generation (tested at the next day after been invited).

SW: Fedora 17 x64, KDE 4.9.1

The crash can be reproduced every time.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fe3539d6880 (LWP 4122))]

Thread 4 (Thread 0x7fe3422b6700 (LWP 4123)):
#0  0x00000030368e8bcf in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003039047964 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003039047a84 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003365da4506 in QEventDispatcherGlib::processEvents (this=0x7fe33c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x0000003365d7513f in QEventLoop::processEvents (this=this@entry=0x7fe33c0013c0, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003365d753c8 in QEventLoop::exec (this=0x7fe33c0013c0, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003368e6e803 in QCA::SyncThread::run (this=0x28dafd0) at support/syncthread.cpp:195
#7  0x0000003365c7b5eb in QThreadPrivate::start (arg=0x28dafd0) at thread/qthread_unix.cpp:307
#8  0x0000003036c07d14 in start_thread (arg=0x7fe3422b6700) at pthread_create.c:309
#9  0x00000030368f167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fe341ab5700 (LWP 4124)):
#0  0x00000030390836f0 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#1  0x0000003039047485 in g_main_context_check () from /lib64/libglib-2.0.so.0
#2  0x0000003039047902 in ?? () from /lib64/libglib-2.0.so.0
#3  0x0000003039047a84 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x0000003365da4506 in QEventDispatcherGlib::processEvents (this=0x7fe3340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003365d7513f in QEventLoop::processEvents (this=this@entry=0x7fe3340013c0, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003365d753c8 in QEventLoop::exec (this=0x7fe3340013c0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe3444dc80f in XMPP::SyncThread::run (this=0x28e26d0) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#8  0x0000003365c7b5eb in QThreadPrivate::start (arg=0x28e26d0) at thread/qthread_unix.cpp:307
#9  0x0000003036c07d14 in start_thread (arg=0x7fe341ab5700) at pthread_create.c:309
#10 0x00000030368f167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fe333fff700 (LWP 4127)):
#0  0x00000030368ea9e3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fe344139500 in posix_timer_do () at posixtimer.c:70
#2  0x00007fe344139f85 in rtp_scheduler_schedule (psched=0x29eb660) at scheduler.c:130
#3  0x0000003036c07d14 in start_thread (arg=0x7fe333fff700) at pthread_create.c:309
#4  0x00000030368f167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fe3539d6880 (LWP 4122)):
[KCrash Handler]
#6  0x00000037336c09d9 in QList (l=..., this=0x7fff50a02580) at /usr/include/QtCore/qlist.h:122
#7  QListIterator (container=..., this=0x7fff50a02580) at /usr/include/QtCore/qlist.h:894
#8  Kopete::MetaContact::isOnline (this=0x286d8f0) at /usr/src/debug/kdenetwork-4.9.1/kopete/libkopete/kopetemetacontact.cpp:516
#9  0x0000003733e3bd4e in Kopete::UI::ContactListTreeModel::countConnected (this=this@entry=0x216cab0, gmi=gmi@entry=0x2767ef0) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#10 0x0000003733e3bfb3 in Kopete::UI::ContactListTreeModel::data (this=0x216cab0, index=..., role=138) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlisttreemodel.cpp:318
#11 0x0000003733e44dff in Kopete::UI::ContactListProxyModel::filterAcceptsRow (this=0x235b0a0, sourceRow=<optimized out>, sourceParent=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlistproxymodel.cpp:139
#12 0x000000372d75671c in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x216be90, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1131
#13 0x0000003365d8cb9f in QMetaObject::activate (sender=0x216cab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff50a02af0) at kernel/qobject.cpp:3547
#14 0x0000003365dd52a7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:163
#15 0x0000003733e3f983 in Kopete::UI::ContactListTreeModel::addMetaContactToGroup (this=0x216cab0, mc=0x2844ef0, group=0x2732b90) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlisttreemodel.cpp:172
#16 0x0000003733e3fc9b in Kopete::UI::ContactListTreeModel::handleContactDataChange (this=0x216cab0, mc=0x2844ef0) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlisttreemodel.cpp:602
#17 0x0000003365d8cb9f in QMetaObject::activate (sender=0x2844ef0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#18 0x00000037336c0102 in Kopete::MetaContact::setPhotoSourceContact (this=this@entry=0x2844ef0, contact=contact@entry=0x2688200) at /usr/src/debug/kdenetwork-4.9.1/kopete/libkopete/kopetemetacontact.cpp:880
#19 0x00000037336c4064 in Kopete::MetaContact::slotPropertyChanged (this=0x2844ef0, _subcontact=0x2688200, key=..., oldValue=..., newValue=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/libkopete/kopetemetacontact.cpp:919
#20 0x00000037336c531c in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/x86_64-redhat-linux-gnu/kopete/libkopete/kopetemetacontact.moc:166
#21 Kopete::MetaContact::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/x86_64-redhat-linux-gnu/kopete/libkopete/kopetemetacontact.moc:127
#22 0x0000003365d8cb9f in QMetaObject::activate (sender=0x2688200, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff50a030a0) at kernel/qobject.cpp:3547
#23 0x00000037336dce4e in Kopete::PropertyContainer::propertyChanged (this=this@entry=0x2688200, _t1=_t1@entry=0x2688200, _t2=..., _t3=..., _t4=...) at /usr/src/debug/kdenetwork-4.9.1/x86_64-redhat-linux-gnu/kopete/libkopete/kopetepropertycontainer.moc:99
#24 0x00000037336dd3cc in Kopete::PropertyContainer::removeProperty (this=0x2688200, tmpl=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/libkopete/kopetepropertycontainer.cpp:164
#25 0x00007fe3443f9317 in JabberBaseContact::setPropertiesFromVCard (this=0x2688200, vCard=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/jabberbasecontact.cpp:619
#26 0x00007fe3443fd6ec in JabberContact::slotGotVCard (this=0x2688200) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/jabbercontact.cpp:598
#27 0x00007fe3444055ea in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/x86_64-redhat-linux-gnu/kopete/protocols/jabber/jabbercontact.moc:124
#28 JabberContact::qt_static_metacall (_o=0x2688200, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/x86_64-redhat-linux-gnu/kopete/protocols/jabber/jabbercontact.moc:93
#29 0x0000003365d8cb9f in QMetaObject::activate (sender=0x304b7f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#30 0x00007fe34447987e in XMPP::Task::done (this=0x304b7f0) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:216
#31 0x00007fe34448de2b in XMPP::JT_VCard::take (this=0x304b7f0, x=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:1049
#32 0x00007fe34447a055 in XMPP::Task::take (this=<optimized out>, x=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#33 0x00007fe34444cef8 in XMPP::Client::distribute (this=this@entry=0x28df9c0, x=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#34 0x00007fe34444d7ca in XMPP::Client::streamReadyRead (this=0x28df9c0) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#35 0x0000003365d8cb9f in QMetaObject::activate (sender=0x28db720, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#36 0x0000003365d8acee in QObject::event (this=0x28db720, e=<optimized out>) at kernel/qobject.cpp:1195
#37 0x000000372d1ca37c in QApplicationPrivate::notify_helper (this=this@entry=0x21808c0, receiver=receiver@entry=0x28db720, e=e@entry=0x3036490) at kernel/qapplication.cpp:4551
#38 0x000000372d1ce7fa in QApplication::notify (this=0x7fff50a04600, receiver=0x28db720, e=0x3036490) at kernel/qapplication.cpp:4412
#39 0x000000372f246366 in KApplication::notify (this=0x7fff50a04600, receiver=0x28db720, event=0x3036490) at /usr/src/debug/kdelibs-4.9.1/kdeui/kernel/kapplication.cpp:311
#40 0x0000003365d763ee in QCoreApplication::notifyInternal (this=0x7fff50a04600, receiver=receiver@entry=0x28db720, event=event@entry=0x3036490) at kernel/qcoreapplication.cpp:915
#41 0x0000003365d79ea1 in sendEvent (event=0x3036490, receiver=0x28db720) at kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2107220) at kernel/qcoreapplication.cpp:1539
#43 0x0000003365da4353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=0x2174c10) at kernel/qeventdispatcher_glib.cpp:279
#45 0x0000003039047695 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#46 0x00000030390479c8 in ?? () from /lib64/libglib-2.0.so.0
#47 0x0000003039047a84 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#48 0x0000003365da44e6 in QEventDispatcherGlib::processEvents (this=0x2175070, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x000000372d26a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#50 0x0000003365d7513f in QEventLoop::processEvents (this=this@entry=0x7fff50a044d0, flags=...) at kernel/qeventloop.cpp:149
#51 0x0000003365d753c8 in QEventLoop::exec (this=0x7fff50a044d0, flags=...) at kernel/qeventloop.cpp:204
#52 0x0000003365d7a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#53 0x00000000004138bb in main (argc=3, argv=0x7fff50a04758) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/main.cpp:105

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-04 21:39:56 UTC

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