Summary: | Kopete crash after deleting contact in response to contact deleting me | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | sreque <seanthenewt> |
Component: | general | Assignee: | Pali Rohár <pali.rohar> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | Chain, fire, housegregory299, kamikazow, lamarque, lazylew, livio, oleg.atamanenko+kde, pali.rohar, travneff |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.9.3 | |
Sentry Crash Report: | |||
Attachments: |
Valgrind log of the crash
New crash information added by DrKonqi New crash information added by DrKonqi patch which fix crashing |
Description
sreque
2010-03-08 21:20:50 UTC
*** Bug 301989 has been marked as a duplicate of this bug. *** *** Bug 307950 has been marked as a duplicate of this bug. *** *** Bug 307986 has been marked as a duplicate of this bug. *** *** Bug 298290 has been marked as a duplicate of this bug. *** Created attachment 74390 [details]
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.
This also happens when adding a contact to a metacontact :( Created attachment 74448 [details]
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
Created attachment 74502 [details]
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
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 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.
(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 =:) 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 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 |