Bug 204711

Summary: Kopete crashed while changing user metadata (blank/empty name) [Kopete::PropertyContainer::hasProperty, Kopete::nameFromContact, Kopete::MetaContact::displayName]
Product: [Unmaintained] kopete Reporter: echounit
Component: Contact listAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: alfonsi.acosta, andrein_bio, andresbajotierra, j-avdeev, kde, tjaartblig
Priority: NOR Keywords: investigated, triaged
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description echounit 2009-08-21 23:14:54 UTC
Application that crashed: kopete
Version of the application: 0.70.90
KDE Version: 4.3.00 (KDE 4.3.0) "release 152"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.25-0.1-pae i686
Distribution: "openSUSE 11.1 (i586)"

What I was doing when the application crashed:
Kopete crashed while I was naming a Yahoo user profile which had appeared as blank/unnamed after being added.

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

Thread 4 (Thread 0xb26c1b90 (LWP 8508)):
#0  0xb5a353da in clock_gettime () from /lib/librt.so.1
#1  0xb6d046d4 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6d04912 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6d050e2 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6d02ca3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb59a88da in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb59a8d6a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb59a9241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6d02af7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb6cd545d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb6cd58a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb2ef0dc4 in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#12 0xb6bdf603 in ?? () from /usr/lib/libQtCore.so.4
#13 0xb6b7d1b5 in start_thread () from /lib/libpthread.so.0
#14 0xb5fd53be in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb1ec0b90 (LWP 8509)):
#0  0xb5a353da in clock_gettime () from /lib/librt.so.1
#1  0xb6d046d4 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6d04912 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6d02bf7 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb59a85d8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb59a8f6d in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb59a9241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#7  0xb6d02af7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb6cd545d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb6cd58a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb3158512 in ?? () from /usr/lib/kde4/kopete_jabber.so
#11 0xb6bdf603 in ?? () from /usr/lib/libQtCore.so.4
#12 0xb6b7d1b5 in start_thread () from /lib/libpthread.so.0
#13 0xb5fd53be in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb16bfb90 (LWP 8513)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6b80c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6be0730 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb752a584 in ?? () from /usr/lib/libQtNetwork.so.4
#4  0xb6bdf603 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6b7d1b5 in start_thread () from /lib/libpthread.so.0
#6  0xb5fd53be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb547b700 (LWP 8502)):
[KCrash Handler]
#6  0xb7d219e7 in Kopete::PropertyContainer::hasProperty(QString const&) const () from /usr/lib/libkopete.so.4
#7  0xb7d04c35 in Kopete::nameFromContact(Kopete::Contact*) () from /usr/lib/libkopete.so.4
#8  0xb7d06ead in Kopete::MetaContact::displayName() const () from /usr/lib/libkopete.so.4
#9  0xb7c081f7 in Kopete::UI::ContactListModel::metaContactData(Kopete::MetaContact const*, int) const () from /usr/lib/libkopetecontactlist.so.1
#10 0xb7c0ce5e in Kopete::UI::ContactListTreeModel::data(QModelIndex const&, int) const () from /usr/lib/libkopetecontactlist.so.1
#11 0xb687e866 in QSortFilterProxyModel::data(QModelIndex const&, int) const () from /usr/lib/libQtGui.so.4
#12 0xb7c17f93 in KopeteItemDelegate::paintItem(ContactList::LayoutItemConfig, QPainter*, QStyleOptionViewItem const&, QModelIndex const&, QList<QPair<QRect, Kopete::Contact*> >*) const ()
   from /usr/lib/libkopetecontactlist.so.1
#13 0xb7c19c4f in KopeteItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libkopetecontactlist.so.1
#14 0xb682f3cc in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#15 0xb6837544 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/libQtGui.so.4
#16 0xb6838016 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6303986 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb66a1145 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb674278c in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb67fa104 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb6836680 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb7bec191 in KopeteContactListView::viewportEvent(QEvent*) () from /usr/lib/libkopetecontactlist.so.1
#23 0xb6744de6 in ?? () from /usr/lib/libQtGui.so.4
#24 0xb6cd5fde in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb62ac920 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb62b42ee in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb726427d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xb6cd6e3e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#29 0xb630bbb9 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#30 0xb64a0874 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb62fc85e in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#32 0xb6303760 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0xb66bf154 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#34 0xb7348037 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#35 0xb738d91c in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#36 0xb62ac94c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb62b42ee in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb726427d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb6cd6e3e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#40 0xb6cd7aac in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#41 0xb6cd7c6c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#42 0xb6d02e9d in ?? () from /usr/lib/libQtCore.so.4
#43 0xb59a59c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb59a9083 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0xb59a9241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0xb6d02aa8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0xb634e23a in ?? () from /usr/lib/libQtGui.so.4
#48 0xb6cd545d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0xb6cd58a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb6cd7d40 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#51 0xb62ac7c4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#52 0x080597e3 in _start ()

This bug may be a duplicate of or related to bug 202994

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-22 15:08:47 UTC
- Is that contact still unnamed ? If you can reproduce the crash at will (or you experience this regularly), can you install the "kdenetwork4-debuginfo" package and post a complete backtrace here? Thanks
Comment 2 echounit 2009-08-23 04:24:59 UTC
Yes, contact is still unnamed. Installed kdenetwork4-debuginfo and reproduced the crash:

Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0xb53a5700 (LWP 16982))]

Thread 4 (Thread 0xb25ebb90 (LWP 16987)):
#0  0xb595f3da in clock_gettime () from /lib/librt.so.1
#1  0xb6c2e6d4 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6c2e912 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6c2f0e2 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6c2cca3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb58d28da in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb58d2d6a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb58d3241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6c2caf7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb6bff45d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb6bff8a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb2e1adc4 in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#12 0xb6b09603 in ?? () from /usr/lib/libQtCore.so.4
#13 0xb6aa71b5 in start_thread () from /lib/libpthread.so.0
#14 0xb5eff3be in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb1deab90 (LWP 16988)):
#0  0xb595f3da in clock_gettime () from /lib/librt.so.1
#1  0xb6c2e6d4 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6c2e912 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6c2cbf7 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb58d25d8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb58d2f6d in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb58d3241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#7  0xb6c2caf7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb6bff45d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb6bff8a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb3082512 in ?? () from /usr/lib/kde4/kopete_jabber.so
#11 0xb6b09603 in ?? () from /usr/lib/libQtCore.so.4
#12 0xb6aa71b5 in start_thread () from /lib/libpthread.so.0
#13 0xb5eff3be in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb15e9b90 (LWP 16991)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6aaac35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6b0a730 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb7454584 in ?? () from /usr/lib/libQtNetwork.so.4
#4  0xb6b09603 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6aa71b5 in start_thread () from /lib/libpthread.so.0
#6  0xb5eff3be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb53a5700 (LWP 16982)):
[KCrash Handler]
#6  0xb7c4b9e7 in Kopete::PropertyContainer::hasProperty(QString const&) const () from /usr/lib/libkopete.so.4
#7  0xb7c2ec35 in Kopete::nameFromContact(Kopete::Contact*) () from /usr/lib/libkopete.so.4
#8  0xb7c30ead in Kopete::MetaContact::displayName() const () from /usr/lib/libkopete.so.4
#9  0xb7b321f7 in Kopete::UI::ContactListModel::metaContactData(Kopete::MetaContact const*, int) const () from /usr/lib/libkopetecontactlist.so.1
#10 0xb7b36e5e in Kopete::UI::ContactListTreeModel::data(QModelIndex const&, int) const () from /usr/lib/libkopetecontactlist.so.1
#11 0xb67a8866 in QSortFilterProxyModel::data(QModelIndex const&, int) const () from /usr/lib/libQtGui.so.4
#12 0xb7b41f93 in KopeteItemDelegate::paintItem(ContactList::LayoutItemConfig, QPainter*, QStyleOptionViewItem const&, QModelIndex const&, QList<QPair<QRect, Kopete::Contact*> >*) const ()
   from /usr/lib/libkopetecontactlist.so.1
#13 0xb7b43c4f in KopeteItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libkopetecontactlist.so.1
#14 0xb67593cc in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#15 0xb6761544 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/libQtGui.so.4
#16 0xb6762016 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb622d986 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb65cb145 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb666c78c in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb6724104 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb6760680 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb7b16191 in KopeteContactListView::viewportEvent(QEvent*) () from /usr/lib/libkopetecontactlist.so.1
#23 0xb666ede6 in ?? () from /usr/lib/libQtGui.so.4
#24 0xb6bfffde in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb61d6920 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb61de2ee in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb718e27d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xb6c00e3e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#29 0xb6235bb9 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#30 0xb63ca874 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb622685e in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#32 0xb622d760 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0xb65e9154 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#34 0xb7272037 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#35 0xb72b791c in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#36 0xb61d694c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb61de2ee in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb718e27d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#39 0xb6c00e3e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#40 0xb6c01aac in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#41 0xb6c01c6c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#42 0xb6c2ce9d in ?? () from /usr/lib/libQtCore.so.4
#43 0xb58cf9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb58d3083 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0xb58d3241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0xb6c2caa8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0xb627823a in ?? () from /usr/lib/libQtGui.so.4
#48 0xb6bff45d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0xb6bff8a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb6c01d40 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#51 0xb61d67c4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#52 0x080597e3 in main (argc=1, argv=0xbfbafa84) at /usr/src/debug/kdenetwork-4.3.0/kopete/kopete/main.cpp:104
Comment 3 Dario Andres 2009-08-26 18:16:59 UTC
Mh, I wonder why the debuginfo package didn't installed the all proper information. 
How did you installed Kopete ? just using the OpenSuse packages?
Thanks
Comment 4 Dario Andres 2009-09-04 21:45:58 UTC
*** Bug 206278 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-12-06 23:03:14 UTC
*** Bug 209321 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-12-17 00:22:14 UTC
*** Bug 218882 has been marked as a duplicate of this bug. ***
Comment 7 Nicolas L. 2010-06-18 15:06:03 UTC
#7  0xb7c2ec35 in Kopete::nameFromContact(Kopete::Contact*) () from
/usr/lib/libkopete.so.4
#8  0xb7c30ead in Kopete::MetaContact::displayName() const () from
/usr/lib/libkopete.so.4
#9  0xb7b321f7 in
Kopete::UI::ContactListModel::metaContactData(Kopete::MetaContact const*, int)
const () from /usr/lib/libkopetecontactlist.so.1


sound like your debug package is wrong, or not the same version as the same as the kdenetwork package.

what gives rpm -qa | grep kdenetwork        ?
Comment 8 Christoph Feck 2010-09-28 23:31:43 UTC
*** Bug 246935 has been marked as a duplicate of this bug. ***
Comment 9 Andrew Crouthamel 2018-09-20 22:04:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Andrew Crouthamel 2018-10-21 05:23:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!