[Bug 1072785] Re: Kopete crash when moving or deleting contacts

Bug Watch Updater 1072785 at bugs.launchpad.net
Mon Oct 29 16:58:36 UTC 2012


Launchpad has imported 14 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=229996.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-03-08T21:20:50+00:00 sreque wrote:

Application that crashed: kopete
Version of the application: 0.80.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Using the jabber protocol. I got a notification that a user removed me from their list. I chose to remove them as well and delete them off of my list. Kopete crashed at that point.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f893ac3c750 (LWP 2727))]

Thread 3 (Thread 0x7f891b17f910 (LWP 2749)):
#0  0x00007f893725c3c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8932cdf37c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f8932cdf6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f89385291fe in QEventDispatcherGlib::processEvents (this=0x2a56710, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f89384ff532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f89384ff904 in QEventLoop::exec (this=0x2976710, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f891bc43123 in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#7  0x00007f893841a445 in QThreadPrivate::start (arg=0x2a5e4b0) at thread/qthread_unix.cpp:188
#8  0x00007f8932a8aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f893726880d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f891a97e910 (LWP 2750)):
#0  0x00007f893725c3c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=2746) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8932cdf37c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f8932cdf6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f89385291fe in QEventDispatcherGlib::processEvents (this=0x2959460, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f89384ff532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f89384ff904 in QEventLoop::exec (this=0x2b73f60, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f891c0937c2 in ?? () from /usr/lib/kde4/kopete_jabber.so
#7  0x00007f893841a445 in QThreadPrivate::start (arg=0x2b45550) at thread/qthread_unix.cpp:188
#8  0x00007f8932a8aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f893726880d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f893ac3c750 (LWP 2727)):
[KCrash Handler]
#5  0x00007f893a32ae34 in Kopete::Contact::account() const () from /usr/lib/libkopete.so.4
#6  0x00007f893a32b404 in Kopete::Contact::onlineStatus() const () from /usr/lib/libkopete.so.4
#7  0x00007f893a32b479 in Kopete::Contact::isOnline() const () from /usr/lib/libkopete.so.4
#8  0x00007f893a32b421 in Kopete::Contact::onlineStatus() const () from /usr/lib/libkopete.so.4
#9  0x00007f893a32b479 in Kopete::Contact::isOnline() const () from /usr/lib/libkopete.so.4
#10 0x00007f893a3461ef in Kopete::MetaContact::isOnline() const () from /usr/lib/libkopete.so.4
#11 0x00007f8939c34d53 in Kopete::UI::ContactListTreeModel::countConnected(Kopete::UI::GroupModelItem*) const () from /usr/lib/libkopetecontactlist.so.1
#12 0x00007f8939c381ab in Kopete::UI::ContactListTreeModel::data(QModelIndex const&, int) const () from /usr/lib/libkopetecontactlist.so.1
#13 0x00007f8937f00041 in QSortFilterProxyModel::data (this=<value optimized out>, index=..., role=0) at itemviews/qsortfilterproxymodel.cpp:1611
#14 0x00007f8937f243c6 in QModelIndex::data (this=<value optimized out>, option=0x7fff607aa280, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:378
#15 QStyledItemDelegate::initStyleOption (this=<value optimized out>, option=0x7fff607aa280, index=...) at itemviews/qstyleditemdelegate.cpp:379
#16 0x00007f8937f252ed in QStyledItemDelegate::paint (this=0x26a0d30, painter=0x7fff607aabd0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:419
#17 0x00007f8939c413ee in KopeteItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libkopetecontactlist.so.1
#18 0x00007f8937eb6719 in QTreeView::drawRow (this=<value optimized out>, painter=<value optimized out>, option=<value optimized out>, index=<value optimized out>) at itemviews/qtreeview.cpp:1640
#19 0x00007f8937ebe2d4 in QTreeView::drawTree (this=0x2676720, painter=<value optimized out>, region=<value optimized out>) at itemviews/qtreeview.cpp:1403
#20 0x00007f8937ebed83 in QTreeView::paintEvent (this=0x2676720, event=0x7fff607ab700) at itemviews/qtreeview.cpp:1281
#21 0x00007f89379f77a0 in QWidget::event (this=0x2676720, event=0x7fff607ab700) at kernel/qwidget.cpp:7687
#22 0x00007f8937d532a6 in QFrame::event (this=0x2676720, e=0x7fff607ab700) at widgets/qframe.cpp:559
#23 0x00007f8937e8621b in QAbstractItemView::viewportEvent (this=0x2676720, event=0x7fff607ab700) at itemviews/qabstractitemview.cpp:1476
#24 0x00007f8937ebd420 in QTreeView::viewportEvent (this=0x2676720, event=0x7fff607ab700) at itemviews/qtreeview.cpp:1266
#25 0x00007f89384fff47 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x267aaf0, event=0x7fff607ab700) at kernel/qcoreapplication.cpp:726
#26 0x00007f89379a8ecc in QApplicationPrivate::notify_helper (this=0x240dc50, receiver=0x267aaf0, e=0x7fff607ab700) at kernel/qapplication.cpp:4052
#27 0x00007f89379b01ce in QApplication::notify (this=0x7fff607ada90, receiver=0x267aaf0, e=0x7fff607ab700) at kernel/qapplication.cpp:4021
#28 0x00007f8939114ab6 in KApplication::notify (this=0x7fff607ada90, receiver=0x267aaf0, event=0x7fff607ab700) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00007f8938500c2c in QCoreApplication::notifyInternal (this=0x7fff607ada90, receiver=0x267aaf0, event=0x7fff607ab700) at kernel/qcoreapplication.cpp:610
#30 0x00007f89379feb93 in QCoreApplication::sendSpontaneousEvent (this=0x26af5c0, pdev=0x2601b38, rgn=..., offset=<value optimized out>, flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=0x2601c70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#31 QWidgetPrivate::drawWidget (this=0x26af5c0, pdev=0x2601b38, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=<value optimized out>, backingStore=0x2601c70)
    at kernel/qwidget.cpp:5079
#32 0x00007f8937b70dbe in QWidgetBackingStore::sync (this=0x2601c70) at painting/qbackingstore.cpp:1261
#33 0x00007f8937b71159 in QWidgetBackingStore::sync (this=0x2601c70, exposedWidget=0x25f8190, exposedRegion=...) at painting/qbackingstore.cpp:1074
#34 0x00007f8937a072ca in QETWidget::translatePaintEvent (this=0x25f8190, event=<value optimized out>) at kernel/qapplication_x11.cpp:5109
#35 0x00007f8937a14abb in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff607ad6b0) at kernel/qapplication_x11.cpp:3450
#36 0x00007f8937a3dd0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007f8932cdbbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x00007f8932cdf598 in ?? () from /lib/libglib-2.0.so.0
#39 0x00007f8932cdf6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x00007f89385291a6 in QEventDispatcherGlib::processEvents (this=0x23c6560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#41 0x00007f8937a3d4be in QGuiEventDispatcherGlib::processEvents (this=0x289fea0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#42 0x00007f89384ff532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#43 0x00007f89384ff904 in QEventLoop::exec (this=0x7fff607ad9e0, flags=) at kernel/qeventloop.cpp:201
#44 0x00007f8938501ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#45 0x00000000004157f6 in _start ()

Reported using DrKonqi

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/0

------------------------------------------------------------------------
On 2012-10-04T21:30:06+00:00 adaptee wrote:

*** Bug 301989 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/1

------------------------------------------------------------------------
On 2012-10-06T22:16:37+00:00 Lamarque wrote:

*** Bug 307950 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/2

------------------------------------------------------------------------
On 2012-10-06T22:17:09+00:00 Lamarque wrote:

*** Bug 307986 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/3

------------------------------------------------------------------------
On 2012-10-06T22:36:12+00:00 Lamarque wrote:

*** Bug 298290 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/4

------------------------------------------------------------------------
On 2012-10-07T17:16:01+00:00 Lamarque wrote:

Created attachment 74390
Valgrind log of the crash

This is a valgrind log for the crash. It shows the crash but I could not
see why it crases. I hope somebody else is able to interpret the
valgrind log better than me.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/5

------------------------------------------------------------------------
On 2012-10-09T08:21:04+00:00 Chain wrote:

This also happens when adding a contact to a metacontact :(

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/6

------------------------------------------------------------------------
On 2012-10-09T21:33:07+00:00 Oleg-atamanenko+kde wrote:

Created attachment 74448
New crash information added by DrKonqi

kopete (1.3.2) on KDE Platform 4.9.2 using Qt 4.8.2

- What I was doing when the application crashed:

Grouped contact to the meta-contact. Kopete crashed.

-- Backtrace (Reduced):
#6  0x00007fa6ec72f509 in QList (l=..., this=0x7fffbb751460) at /usr/include/qt4/QtCore/qlist.h:122
#7  QListIterator (container=..., this=0x7fffbb751460) at /usr/include/qt4/QtCore/qlist.h:902
#8  Kopete::MetaContact::isOnline (this=0x2d73260) at ../../../kopete/libkopete/kopetemetacontact.cpp:516
#9  0x00007fa6ec036e9e in Kopete::UI::ContactListTreeModel::countConnected (this=<optimized out>, gmi=<optimized out>) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#10 0x00007fa6ec0370f3 in Kopete::UI::ContactListTreeModel::data (this=0x22c41e0, index=..., role=138) at ../../../../kopete/kopete/contactlist/contactlisttreemodel.cpp:318

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/7

------------------------------------------------------------------------
On 2012-10-12T17:04:37+00:00 Dr Gregory House wrote:

Created attachment 74502
New crash information added by DrKonqi

kopete (1.3.2) on KDE Platform 4.9.2 using Qt 4.8.2

It happens when I add xmpp contact to kopete.

-- Backtrace (Reduced):
#6  0x00007f93f06bbdba in Kopete::MetaContact::isOnline() const () from /usr/lib64/libkopete.so.4
#7  0x00007f93effb33d6 in Kopete::UI::ContactListTreeModel::countConnected(Kopete::UI::GroupModelItem*) const () from /usr/lib64/libkopetecontactlist.so.1
#8  0x00007f93effb3635 in Kopete::UI::ContactListTreeModel::data(QModelIndex const&, int) const () from /usr/lib64/libkopetecontactlist.so.1
#9  0x00007f93effbcb29 in Kopete::UI::ContactListProxyModel::filterAcceptsRow(int, QModelIndex const&) const () from /usr/lib64/libkopetecontactlist.so.1
#10 0x00007f93ee059f45 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/qt4/libQtGui.so.4

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/8

------------------------------------------------------------------------
On 2012-10-22T12:31:36+00:00 Pali wrote:

Relevant part of kopete svn1316028 backtrace crash when moving subcontact to another metacontact:
#6  0x00007fdbc4195529 in QList (l=..., this=0x7fffa9809e40) at /usr/include/qt4/QtCore/qlist.h:122
#7  QListIterator (container=..., this=0x7fffa9809e40) at /usr/include/qt4/QtCore/qlist.h:902
#8  Kopete::MetaContact::isOnline (this=0x2de17d0) at /build/buildd/kopete-4.10-svn1316028/kopete/libkopete/kopetemetacontact.cpp:516
#9  0x00007fdbc3a9ce4e in Kopete::UI::ContactListTreeModel::countConnected (this=<optimized out>, gmi=<optimized out>) at /build/buildd/kopete-4.10-svn1316028/kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#10 0x00007fdbc3a9d0a3 in Kopete::UI::ContactListTreeModel::data (this=0x1f6d980, index=..., role=138) at /build/buildd/kopete-4.10-svn1316028/kopete/kopete/contactlist/contactlisttreemodel.cpp:318
#11 0x00007fdbc3aa640a in Kopete::UI::ContactListProxyModel::filterAcceptsRow (this=0x1f6f0c0, sourceRow=<optimized out>, sourceParent=...) at /build/buildd/kopete-4.10-svn1316028/kopete/kopete/contactlist/contactlistproxymodel.cpp:139

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/9

------------------------------------------------------------------------
On 2012-10-24T16:38:49+00:00 Pali wrote:

Created attachment 74779
patch which fix crashing

With this patch I'm not able to reproduce crash again. Please test it if
it really fixing this bug.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/10

------------------------------------------------------------------------
On 2012-10-24T17:09:15+00:00 Dr Gregory House wrote:

(In reply to comment #10)
> Created attachment 74779 [details]
> patch which fix crashing
> 
> With this patch I'm not able to reproduce crash again. Please test it if it
> really fixing this bug.

I confirm. I can not reproduce crash with this patch on Gentoo Amd64 KDE 4.9.2/Kopete 1.3.2.
Thanks Pali for submitting your patch =:)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/11

------------------------------------------------------------------------
On 2012-10-25T12:19:33+00:00 Pali wrote:

SVN commit 1322413 by pali:

Fix crashing Kopete when moving or deleting contact


 M  +6 -3      contactlisttreemodel.cpp  
 M  +3 -1      contactlisttreemodel_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1322413

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/12

------------------------------------------------------------------------
On 2012-10-25T12:22:14+00:00 Pali wrote:

SVN commit 1322414 by pali:

Backport r1322413 to 4.9 branch:

Fix crashing Kopete when moving or deleting contact


 M  +6 -3      contactlisttreemodel.cpp  
 M  +3 -1      contactlisttreemodel_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1322414

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/1072785/comments/13


** Changed in: kdenetwork
       Status: Unknown => Fix Released

** Changed in: kdenetwork
   Importance: Unknown => High

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdenetwork in Ubuntu.
https://bugs.launchpad.net/bugs/1072785

Title:
  Kopete crash when moving or deleting contacts

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdenetwork/+bug/1072785/+subscriptions




More information about the kubuntu-bugs mailing list