Bug 310129 - Kopete crashes after adding new contact to contact list
Summary: Kopete crashes after adding new contact to contact list
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-15 07:33 UTC by Murz
Modified: 2012-12-06 13:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.9.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murz 2012-11-15 07:33:05 UTC
Application: kopete (1.3.3)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-18-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
All works well without crashes long time. But when I try to add new contact, fill all fields and press OK, I got the crash.
After restart Kopete I see that contact was successfully added, and I can talk with him.

The crash can be reproduced every time.

-- 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 0x7fccced8a780 (LWP 20966))]

Thread 4 (Thread 0x7fccca113700 (LWP 20989)):
#0  0x000000376560ed2d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000031e468415f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000031e4647914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00000031e4647d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00000031e4647ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00000031e57a6c16 in QEventDispatcherGlib::processEvents (this=0x7fccc40079d0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00000031e57772bf in QEventLoop::processEvents (this=this@entry=0x7fccca112dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00000031e5777548 in QEventLoop::exec (this=0x7fccca112dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00000031e5678b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00000031e57579af in QInotifyFileSystemWatcherEngine::run (this=0x2b73a00) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00000031e567baec in QThreadPrivate::start (arg=0x2b73a00) at thread/qthread_unix.cpp:338
#11 0x0000003765607e9a in start_thread (arg=0x7fccca113700) at pthread_create.c:308
#12 0x0000003764ef3cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fccc19b0700 (LWP 21006)):
#0  0x0000003764ee8303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000031e4647d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000031e4647ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00000031e57a6c16 in QEventDispatcherGlib::processEvents (this=0x7fccb40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00000031e57772bf in QEventLoop::processEvents (this=this@entry=0x7fccb40013c0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000031e5777548 in QEventLoop::exec (this=0x7fccb40013c0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00000031f2a4dcda in QCA::SyncThread::run() () from /usr/lib/x86_64-linux-gnu/libqca.so.2
#7  0x00000031e567baec in QThreadPrivate::start (arg=0x23d3c80) at thread/qthread_unix.cpp:338
#8  0x0000003765607e9a in start_thread (arg=0x7fccc19b0700) at pthread_create.c:308
#9  0x0000003764ef3cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fccc11af700 (LWP 21007)):
#0  0x00000031e4647c99 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00000031e4647ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000031e57a6c16 in QEventDispatcherGlib::processEvents (this=0x7fccb80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00000031e57772bf in QEventLoop::processEvents (this=this@entry=0x7fccb80013c0, flags=...) at kernel/qeventloop.cpp:149
#4  0x00000031e5777548 in QEventLoop::exec (this=0x7fccb80013c0, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007fccc32aecaf in XMPP::SyncThread::run (this=0x25ac7a0) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#6  0x00000031e567baec in QThreadPrivate::start (arg=0x25ac7a0) at thread/qthread_unix.cpp:338
#7  0x0000003765607e9a in start_thread (arg=0x7fccc11af700) at pthread_create.c:308
#8  0x0000003764ef3cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fccced8a780 (LWP 20966)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x1968660, source_parent=..., parent_mapping=parent_mapping@entry=0x196a820, orient=orient@entry=Qt::Vertical, start=start@entry=29, end=end@entry=29, delta_item_count=delta_item_count@entry=1, remove=remove@entry=false) at itemviews/qsortfilterproxymodel.cpp:948
#7  0x00000031e6f5bdbe in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x1968660, source_parent=..., start=29, end=29, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:745
#8  0x00000031e6f5c2bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1968660, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1281
#9  0x00000031e578df5f in QMetaObject::activate (sender=0x196fce0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2d1e0ca0) at kernel/qobject.cpp:3547
#10 0x00000031e57d7be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=29, _t3=29) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#11 0x00000031e5772e6a in QAbstractItemModel::endInsertRows (this=0x196fce0) at kernel/qabstractitemmodel.cpp:2433
#12 0x0000003cf643e903 in Kopete::UI::ContactListTreeModel::addMetaContactToGroup (this=0x196fce0, mc=0x57dffc0, group=0x196f7d0) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:168
#13 0x0000003cf643de19 in Kopete::UI::ContactListTreeModel::addMetaContact (this=0x196fce0, contact=0x57dffc0) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:59
#14 0x00000031e578df5f in QMetaObject::activate (sender=0x196dab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2d1e0f90) at kernel/qobject.cpp:3547
#15 0x0000003cf4ca5b7f in Kopete::ContactList::metaContactAdded (this=this@entry=0x196dab0, _t1=_t1@entry=0x57dffc0) at ./kopetecontactlist.moc:175
#16 0x0000003cf4ca65ba in Kopete::ContactList::addMetaContact (this=0x196dab0, mc=0x57dffc0) at ../../../kopete/libkopete/kopetecontactlist.cpp:244
#17 0x00007fccc31c8031 in JabberAccount::slotContactUpdated (this=0x299ef70, item=...) at ../../../../kopete/protocols/jabber/jabberaccount.cpp:1324
#18 0x00007fccc31cc46e in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./jabberaccount.moc:150
#19 JabberAccount::qt_static_metacall (_o=0x299ef70, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./jabberaccount.moc:115
#20 0x00000031e578df5f in QMetaObject::activate (sender=0x2948c80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2d1e1230) at kernel/qobject.cpp:3547
#21 0x00007fccc3202925 in JabberClient::newContact (this=<optimized out>, _t1=...) at ./jabberclient.moc:286
#22 0x00000031e578df5f in QMetaObject::activate (sender=0x27a9860, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2d1e1370) at kernel/qobject.cpp:3547
#23 0x00007fccc320a795 in XMPP::Client::rosterItemAdded (this=<optimized out>, _t1=...) at moc_xmpp_client.cpp:198
#24 0x00007fccc3224d68 in XMPP::Client::importRosterItem (this=this@entry=0x27a9860, item=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:970
#25 0x00007fccc3224df7 in XMPP::Client::importRoster (this=0x27a9860, r=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:919
#26 0x00000031e578df5f in QMetaObject::activate (sender=0x29b5d80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2d1e1750) at kernel/qobject.cpp:3547
#27 0x00007fccc320e1f2 in XMPP::JT_PushRoster::roster (this=<optimized out>, _t1=...) at moc_xmpp_tasks.cpp:297
#28 0x00007fccc3264bfb in XMPP::JT_PushRoster::take (this=0x29b5d80, e=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:528
#29 0x00007fccc324c475 in XMPP::Task::take (this=<optimized out>, x=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#30 0x00007fccc321f278 in XMPP::Client::distribute (this=this@entry=0x27a9860, x=...) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#31 0x00007fccc321fb4a in XMPP::Client::streamReadyRead (this=0x27a9860) at ../../../../../kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#32 0x00000031e578df5f in QMetaObject::activate (sender=0x1f396c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#33 0x00000031e578d43e in QObject::event (this=0x1f396c0, e=<optimized out>) at kernel/qobject.cpp:1195
#34 0x00000031e69cbe9c in QApplicationPrivate::notify_helper (this=this@entry=0x19b9c30, receiver=receiver@entry=0x1f396c0, e=e@entry=0x57d4c20) at kernel/qapplication.cpp:4562
#35 0x00000031e69d030a in QApplication::notify (this=0x7fff2d1e25a0, receiver=0x1f396c0, e=0x57d4c20) at kernel/qapplication.cpp:4423
#36 0x0000003cf12281d6 in KApplication::notify (this=0x7fff2d1e25a0, receiver=0x1f396c0, event=0x57d4c20) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00000031e577856e in QCoreApplication::notifyInternal (this=0x7fff2d1e25a0, receiver=receiver@entry=0x1f396c0, event=event@entry=0x57d4c20) at kernel/qcoreapplication.cpp:915
#38 0x00000031e577c3f1 in sendEvent (event=0x57d4c20, receiver=0x1f396c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x19111f0) at kernel/qcoreapplication.cpp:1539
#40 0x00000031e57a6a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=0x1955cf0) at kernel/qeventdispatcher_glib.cpp:279
#42 0x00000031e4647ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00000031e4647de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00000031e4647ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00000031e57a6bf6 in QEventDispatcherGlib::processEvents (this=0x1912ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00000031e6a70c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00000031e57772bf in QEventLoop::processEvents (this=this@entry=0x7fff2d1e2470, flags=...) at kernel/qeventloop.cpp:149
#48 0x00000031e5777548 in QEventLoop::exec (this=0x7fff2d1e2470, flags=...) at kernel/qeventloop.cpp:204
#49 0x00000031e577c708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#50 0x000000000041374b in main (argc=3, argv=0x7fff2d1e26f8) at ../../../kopete/kopete/main.cpp:105

Possible duplicates by query: bug 307877, bug 289310, bug 277822, bug 276643.

Reported using DrKonqi
Comment 1 Murz 2012-12-04 14:26:26 UTC
Seems this issue is fixed on Kopete Version: 4:4.9.3-0ubuntu0.1 - can't reproduce after upgrade.