Bug 248256 - When I unsubscribe a newgroup KNode crashes [KPIM::FolderTreeWidgetItemLabelColumnDelegate::paint, QTreeView::drawRow, ..., KNCollectionView::paintEvent]
Summary: When I unsubscribe a newgroup KNode crashes [KPIM::FolderTreeWidgetItemLabelC...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 244770 249411 256226 257595 257821 260819 261493 262279 281816 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-18 15:46 UTC by Kurt
Modified: 2018-09-04 18:36 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.4.10


Attachments
New crash information added by DrKonqi (19.39 KB, text/plain)
2010-09-05 20:21 UTC, Raphael Kubo da Costa
Details
New crash information added by DrKonqi (20.05 KB, text/plain)
2010-09-28 12:07 UTC, greatbunzinni
Details
New crash information added by DrKonqi (21.72 KB, text/plain)
2011-04-01 11:20 UTC, Reinhard
Details
New crash information added by DrKonqi (18.58 KB, text/plain)
2011-04-20 13:36 UTC, Volker Lanz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt 2010-08-18 15:46:31 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
When I unsubscribe a newgroup KNode crashes. After the restart the group is removed from the subscribed list of the news server.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f29dabfa780 (LWP 6904))]

Thread 2 (Thread 0x7f29b3197710 (LWP 6920)):
#0  0x00007f29d7bf6f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f29d091e4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f29d091e8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f29d834dbd6 in QEventDispatcherGlib::processEvents (this=0x24dcaa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f29d83207b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f29d8320b9c in QEventLoop::exec (this=0x7f29b3196d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f29d822c23d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f29d83006d8 in QInotifyFileSystemWatcherEngine::run (this=0x2a29c30) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f29d822f1be in QThreadPrivate::start (arg=0x2a29c30) at thread/qthread_unix.cpp:266
#9  0x00007f29d2cab9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f29d7c036fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f29dabfa780 (LWP 6904)):
[KCrash Handler]
#6  0x0000000000606450 in vtable for __cxxabiv1::__si_class_type_info ()
#7  0x00007f29da55b825 in KPIM::FolderTreeWidgetItemLabelColumnDelegate::paint (this=0x2e93560, painter=0x7fffd8c98360, option=<value optimized out>, index=<value optimized out>)
    at ../../libkdepim/foldertreewidget.cpp:177
#8  0x00007f29d92840a9 in QTreeView::drawRow (this=<value optimized out>, painter=<value optimized out>, option=<value optimized out>, index=<value optimized out>) at itemviews/qtreeview.cpp:1678
#9  0x00007f29d927ec9a in QTreeView::drawTree (this=0x2e845d0, painter=<value optimized out>, region=<value optimized out>) at itemviews/qtreeview.cpp:1441
#10 0x00007f29d927f763 in QTreeView::paintEvent (this=0x2e845d0, event=0x7fffd8c99060) at itemviews/qtreeview.cpp:1274
#11 0x00007f29b1923313 in KNCollectionView::paintEvent (this=0x7fffd8c97ae0, event=0x21b5dc0) at ../../knode/kncollectionview.cpp:342
#12 0x00007f29d8d4627e in QWidget::event (this=0x2e845d0, event=0x7fffd8c99060) at kernel/qwidget.cpp:8303
#13 0x00007f29d910ab06 in QFrame::event (this=0x2e845d0, e=0x7fffd8c99060) at widgets/qframe.cpp:557
#14 0x00007f29d92427ab in QAbstractItemView::viewportEvent (this=0x2e845d0, event=0x7fffd8c99060) at itemviews/qabstractitemview.cpp:1619
#15 0x00007f29d9280565 in QTreeView::viewportEvent (this=0x2e845d0, event=0x7fffd8c99060) at itemviews/qtreeview.cpp:1256
#16 0x00007f29d83212b7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2e7d330, event=0x7fffd8c99060) at kernel/qcoreapplication.cpp:847
#17 0x00007f29d8cf0cac in QApplicationPrivate::notify_helper (this=0x1ae1020, receiver=0x2e7d330, e=0x7fffd8c99060) at kernel/qapplication.cpp:4385
#18 0x00007f29d8cf67cd in QApplication::notify (this=0x7fffd8c9fcf0, receiver=0x2e7d330, e=0x7fffd8c99060) at kernel/qapplication.cpp:4270
#19 0x00007f29d9a45eb6 in KApplication::notify (this=0x7fffd8c9fcf0, receiver=0x2e7d330, event=0x7fffd8c99060) at ../../kdeui/kernel/kapplication.cpp:310
#20 0x00007f29d8321a8c in QCoreApplication::notifyInternal (this=0x7fffd8c9fcf0, receiver=0x2e7d330, event=0x7fffd8c99060) at kernel/qcoreapplication.cpp:732
#21 0x00007f29d8d4cd8d in QCoreApplication::sendSpontaneousEvent (this=0x2e7d370, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1e27770) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 QWidgetPrivate::drawWidget (this=0x2e7d370, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1e27770)
    at kernel/qwidget.cpp:5390
#23 0x00007f29d8d4da28 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=0, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5597
#24 0x00007f29d8d4d859 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=6, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5584
#25 0x00007f29d8d4d859 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=7, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5584
#26 0x00007f29d8d4caea in QWidgetPrivate::drawWidget (this=0x2e84650, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1e27770) at kernel/qwidget.cpp:5443
#27 0x00007f29d8d4da28 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=0, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5597
#28 0x00007f29d8d4d859 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=1, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5584
#29 0x00007f29d8d4d859 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=2, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5584
#30 0x00007f29d8d4caea in QWidgetPrivate::drawWidget (this=0x2de0c40, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1e27770) at kernel/qwidget.cpp:5443
#31 0x00007f29d8d4da28 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=4, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5597
#32 0x00007f29d8d4caea in QWidgetPrivate::drawWidget (this=0x2dd6980, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1e27770) at kernel/qwidget.cpp:5443
#33 0x00007f29d8d4da28 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=0, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5597
#34 0x00007f29d8d4caea in QWidgetPrivate::drawWidget (this=0x2ddc300, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1e27770) at kernel/qwidget.cpp:5443
#35 0x00007f29d8d4da28 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=6, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5597
#36 0x00007f29d8d4caea in QWidgetPrivate::drawWidget (this=0x1c93ee0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1e27770) at kernel/qwidget.cpp:5443
#37 0x00007f29d8d4da28 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=0, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5597
#38 0x00007f29d8d4caea in QWidgetPrivate::drawWidget (this=0x1c58e70, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1e27770) at kernel/qwidget.cpp:5443
#39 0x00007f29d8d4da28 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=1, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5597
#40 0x00007f29d8d4caea in QWidgetPrivate::drawWidget (this=0x1c88e30, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1e27770) at kernel/qwidget.cpp:5443
#41 0x00007f29d8d4da28 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=6, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5597
#42 0x00007f29d8d4d859 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=7, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5584
#43 0x00007f29d8d4d859 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=16, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5584
#44 0x00007f29d8d4d859 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=20, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1e27770) at kernel/qwidget.cpp:5584
#45 0x00007f29d8d4caea in QWidgetPrivate::drawWidget (this=0x1ad94c0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1e27770) at kernel/qwidget.cpp:5443
#46 0x00007f29d8f1d4f8 in QWidgetBackingStore::sync (this=0x1e27770) at painting/qbackingstore.cpp:1328
#47 0x00007f29d8d40300 in QWidgetPrivate::syncBackingStore (this=0x1ad94c0) at kernel/qwidget.cpp:1775
#48 0x00007f29d8d46945 in QWidget::event (this=0x1c58900, event=0x312e8a0) at kernel/qwidget.cpp:8450
#49 0x00007f29d91267cb in QMainWindow::event (this=0x1c58900, event=0x312e8a0) at widgets/qmainwindow.cpp:1417
#50 0x00007f29d9b62103 in KXmlGuiWindow::event (this=0x7fffd8c97ae0, ev=0x21b5dc0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:130
#51 0x00007f29d8cf0cdc in QApplicationPrivate::notify_helper (this=0x1ae1020, receiver=0x1c58900, e=0x312e8a0) at kernel/qapplication.cpp:4389
#52 0x00007f29d8cf67cd in QApplication::notify (this=0x7fffd8c9fcf0, receiver=0x1c58900, e=0x312e8a0) at kernel/qapplication.cpp:4270
#53 0x00007f29d9a45eb6 in KApplication::notify (this=0x7fffd8c9fcf0, receiver=0x1c58900, event=0x312e8a0) at ../../kdeui/kernel/kapplication.cpp:310
#54 0x00007f29d8321a8c in QCoreApplication::notifyInternal (this=0x7fffd8c9fcf0, receiver=0x1c58900, event=0x312e8a0) at kernel/qcoreapplication.cpp:732
#55 0x00007f29d83249b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1aada90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1aada90) at kernel/qcoreapplication.cpp:1373
#57 0x00007f29d834e043 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#58 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#59 0x00007f29d091a8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#60 0x00007f29d091e748 in ?? () from /lib/libglib-2.0.so.0
#61 0x00007f29d091e8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#62 0x00007f29d834db83 in QEventDispatcherGlib::processEvents (this=0x1aad590, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#63 0x00007f29d8da27ee in QGuiEventDispatcherGlib::processEvents (this=0x7fffd8c97ae0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f29d8324dbf in QCoreApplication::processEvents (flags=) at kernel/qcoreapplication.cpp:924
#65 0x00007f29b1912bc8 in KNMainWidget::secureProcessEvents (this=0x2dd4e20) at ../../knode/knmainwidget.cpp:377
#66 0x00007f29b18d5219 in KNArticleManager::showHdrs (this=0x2e95230, clear=<value optimized out>) at ../../knode/knarticlemanager.cpp:191
#67 0x00007f29b18ac266 in KNGroupManager::setCurrentGroup (this=0x2e95c80, g=0x2e98760) at ../../knode/kngroupmanager.cpp:571
#68 0x00007f29b191e886 in KNMainWidget::slotCollectionSelected (this=0x2dd4e20) at ../../knode/knmainwidget.cpp:1199
#69 0x00007f29b19201de in KNMainWidget::qt_metacall (this=0x2dd4e20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd8c9d200) at ./knmainwidget.moc:236
#70 0x00007f29d83397a7 in QMetaObject::activate (sender=0x2e845d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xe5) at kernel/qobject.cpp:3280
#71 0x00007f29d92b38f8 in QTreeWidgetPrivate::_q_selectionChanged (this=0x3, selected=<value optimized out>, deselected=...) at itemviews/qtreewidget.cpp:2312
#72 0x00007f29d92b9d40 in QTreeWidget::qt_metacall (this=0x2e845d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd8c9d440) at .moc/release-shared/moc_qtreewidget.cpp:160
#73 0x00007f29da4dfe80 in KPIM::TreeWidget::qt_metacall (this=0x7fffd8c97ae0, _c=35347904, _id=-657884256, _a=0xe5) at moc_treewidget.cpp:74
#74 0x00007f29da55a950 in KPIM::FolderTreeWidget::qt_metacall (this=0x7fffd8c97ae0, _c=35347904, _id=-657884256, _a=0xe5) at ./foldertreewidget.moc:74
#75 0x00007f29b1924970 in KNCollectionView::qt_metacall (this=0x7fffd8c97ae0, _c=35347904, _id=-657884256, _a=0xe5) at ./kncollectionview.moc:100
#76 0x00007f29d83397a7 in QMetaObject::activate (sender=0x2e932b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xe5) at kernel/qobject.cpp:3280
#77 0x00007f29d928dda7 in QItemSelectionModel::selectionChanged (this=0x7fffd8c97ae0, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#78 0x00007f29d9290e87 in QItemSelectionModel::emitSelectionChanged (this=<value optimized out>, newSelection=<value optimized out>, oldSelection=...) at itemviews/qitemselectionmodel.cpp:1581
#79 0x00007f29d92927fb in QItemSelectionModel::select (this=0x2e932b0, selection=<value optimized out>, command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1088
#80 0x00007f29d928f661 in QItemSelectionModel::select (this=0x2e932b0, index=<value optimized out>, command=) at itemviews/qitemselectionmodel.cpp:976
#81 0x00007f29d928dfff in QItemSelectionModel::setCurrentIndex (this=0x2e932b0, index=..., command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1155
#82 0x00007f29d923afef in QAbstractItemView::setCurrentIndex (this=0x2e845d0, index=...) at itemviews/qabstractitemview.cpp:1007
#83 0x00007f29d923c0c3 in QAbstractItemView::rowsAboutToBeRemoved (this=0x2e845d0, parent=<value optimized out>, start=3, end=<value optimized out>) at itemviews/qabstractitemview.cpp:3227
#84 0x00007f29d927693f in QTreeView::rowsAboutToBeRemoved (this=0x7fffd8c97ae0, parent=..., start=-657884256, end=229) at itemviews/qtreeview.cpp:2492
#85 0x00007f29d923d1cf in QAbstractItemView::qt_metacall (this=0x2e845d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd8c9dbf0)
    at .moc/release-shared/moc_qabstractitemview.cpp:236
#86 0x00007f29d9285c45 in QTreeView::qt_metacall (this=0x7fffd8c97ae0, _c=35347904, _id=-657884256, _a=0xe5) at .moc/release-shared/moc_qtreeview.cpp:119
#87 0x00007f29d92b9c85 in QTreeWidget::qt_metacall (this=0x7fffd8c97ae0, _c=35347904, _id=-657884256, _a=0xe5) at .moc/release-shared/moc_qtreewidget.cpp:129
#88 0x00007f29da4dfe80 in KPIM::TreeWidget::qt_metacall (this=0x7fffd8c97ae0, _c=35347904, _id=-657884256, _a=0xe5) at moc_treewidget.cpp:74
#89 0x00007f29da55a950 in KPIM::FolderTreeWidget::qt_metacall (this=0x7fffd8c97ae0, _c=35347904, _id=-657884256, _a=0xe5) at ./foldertreewidget.moc:74
#90 0x00007f29b1924970 in KNCollectionView::qt_metacall (this=0x7fffd8c97ae0, _c=35347904, _id=-657884256, _a=0xe5) at ./kncollectionview.moc:100
#91 0x00007f29d83397a7 in QMetaObject::activate (sender=0x2e77120, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xe5) at kernel/qobject.cpp:3280
#92 0x00007f29d8384874 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x7fffd8c97ae0, _t1=<value optimized out>, _t2=3, _t3=3) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#93 0x00007f29d8319483 in QAbstractItemModel::beginRemoveRows (this=0x2e77120, parent=..., first=3, last=3) at kernel/qabstractitemmodel.cpp:2450
#94 0x00007f29d92bb24a in QTreeModel::beginRemoveItems (this=0x2e77120, parent=0x2e997a0, row=<value optimized out>, count=<value optimized out>) at itemviews/qtreewidget.cpp:814
#95 0x00007f29d92bb9c9 in ~QTreeWidgetItem (this=0x21b5dc0, __in_chrg=<value optimized out>) at itemviews/qtreewidget.cpp:1488
#96 0x00007f29b18a7d8e in ~FolderTreeWidgetItem (this=0x21b5dc0, __in_chrg=<value optimized out>) at ../../libkdepim/foldertreewidget.h:226
#97 ~KNCollectionViewItem (this=0x21b5dc0, __in_chrg=<value optimized out>) at ../../knode/kncollectionviewitem.cpp:44
#98 0x00007f29b19236d3 in KNCollectionView::removeGroup (this=<value optimized out>, g=0x2e993c0) at ../../knode/kncollectionview.cpp:175
#99 0x00007f29b1924b54 in KNCollectionView::qt_metacall (this=0x2e845d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd8c9deb0) at ./kncollectionview.moc:111
#100 0x00007f29d83397a7 in QMetaObject::activate (sender=0x2e95c80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xe5) at kernel/qobject.cpp:3280
#101 0x00007f29b18aab02 in KNGroupManager::groupRemoved (this=0x7fffd8c97ae0, _t1=0x2e993c0) at ./kngroupmanager.moc:119
#102 0x00007f29b18ad500 in KNGroupManager::unsubscribeGroup (this=0x2e95c80, g=0x2e993c0) at ../../knode/kngroupmanager.cpp:491
#103 0x00007f29b191f0d0 in KNMainWidget::slotGrpUnsubscribe (this=0x2dd4e20) at ../../knode/knmainwidget.cpp:1514
#104 0x00007f29b192036d in KNMainWidget::qt_metacall (this=0x2dd4e20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd8c9e390) at ./knmainwidget.moc:259
#105 0x00007f29d83397a7 in QMetaObject::activate (sender=0x2eca930, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xe5) at kernel/qobject.cpp:3280
#106 0x00007f29d8ce9622 in QAction::triggered (this=0x7fffd8c97ae0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#107 0x00007f29d8cead1b in QAction::activate (this=0x2eca930, event=<value optimized out>) at kernel/qaction.cpp:1256
#108 0x00007f29d9149e11 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x2eca930, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#109 0x00007f29d914f7ba in QMenuPrivate::activateAction (this=0x2517f20, action=0x2eca930, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#110 0x00007f29d9b2677e in KMenu::mouseReleaseEvent (this=0x2f01730, e=0x21b5dc0) at ../../kdeui/widgets/kmenu.cpp:471
#111 0x00007f29d8d4669e in QWidget::event (this=0x2f01730, event=0x7fffd8c9efe0) at kernel/qwidget.cpp:8157
#112 0x00007f29d915193b in QMenu::event (this=0x2f01730, e=0x7fffd8c9efe0) at widgets/qmenu.cpp:2410
#113 0x00007f29d8cf0cdc in QApplicationPrivate::notify_helper (this=0x1ae1020, receiver=0x2f01730, e=0x7fffd8c9efe0) at kernel/qapplication.cpp:4389
#114 0x00007f29d8cf6fee in QApplication::notify (this=0x7fffd8c9fcf0, receiver=0x2f01730, e=0x7fffd8c9efe0) at kernel/qapplication.cpp:3952
#115 0x00007f29d9a45eb6 in KApplication::notify (this=0x7fffd8c9fcf0, receiver=0x2f01730, event=0x7fffd8c9efe0) at ../../kdeui/kernel/kapplication.cpp:310
#116 0x00007f29d8321a8c in QCoreApplication::notifyInternal (this=0x7fffd8c9fcf0, receiver=0x2f01730, event=0x7fffd8c9efe0) at kernel/qcoreapplication.cpp:732
#117 0x00007f29d8cf5a9e in QCoreApplication::sendEvent (receiver=0x2f01730, event=0x7fffd8c9efe0, alienWidget=0x0, nativeWidget=0x2f01730, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#118 QApplicationPrivate::sendMouseEvent (receiver=0x2f01730, event=0x7fffd8c9efe0, alienWidget=0x0, nativeWidget=0x2f01730, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3051
#119 0x00007f29d8d787ad in QETWidget::translateMouseEvent (this=0x2f01730, event=<value optimized out>) at kernel/qapplication_x11.cpp:4337
#120 0x00007f29d8d76c6c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd8c9f900) at kernel/qapplication_x11.cpp:3536
#121 0x00007f29d8da2e82 in x11EventSourceDispatch (s=0x1adce70, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#122 0x00007f29d091a8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#123 0x00007f29d091e748 in ?? () from /lib/libglib-2.0.so.0
#124 0x00007f29d091e8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#125 0x00007f29d834db83 in QEventDispatcherGlib::processEvents (this=0x1aad590, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#126 0x00007f29d8da27ee in QGuiEventDispatcherGlib::processEvents (this=0x7fffd8c97ae0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#127 0x00007f29d83207b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#128 0x00007f29d8320b9c in QEventLoop::exec (this=0x7fffd8c9fc30, flags=) at kernel/qeventloop.cpp:201
#129 0x00007f29d8324c4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#130 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Olivier Trichet 2010-09-05 11:04:18 UTC
*** Bug 249411 has been marked as a duplicate of this bug. ***
Comment 2 Raphael Kubo da Costa 2010-09-05 20:21:38 UTC
Created attachment 51345 [details]
New crash information added by DrKonqi

knode (4.4.5) on KDE Platform 4.5.67 (4.6 >= 20100901) using Qt 4.7.0

- What I was doing when the application crashed:

Indeed, whenever I unsubscribe from a group, KNode crashes.

-- Backtrace (Reduced):
#7  0x000000000050bad0 in vtable for __cxxabiv1::__si_class_type_info ()
#8  0x0000000800d52206 in KPIM::FolderTreeWidgetItemLabelColumnDelegate::paint (this=0x813ae3fe0, painter=0x7fffffff7c30, option=@0x7fffffff7540, index=@0x7fffffff7720)
    at /home/rakuco/kde4/src/kdepim/libkdepim/foldertreewidget.cpp:177
#9  0x0000000805b3eaab in QTreeView::drawRow (this=0x813b3a320, painter=0x7fffffff7c30, option=@0x7fffffff7a40, index=@0x80f624128)
    at /usr/home/rakuco/kde4/src/qt-copy/src/gui/itemviews/qtreeview.cpp:1678
#10 0x0000000805b3f557 in QTreeView::drawTree (this=0x813b3a320, painter=0x7fffffff7c30, region=@0x7fffffff8f58) at /usr/home/rakuco/kde4/src/qt-copy/src/gui/itemviews/qtreeview.cpp:1441
#11 0x0000000805b406f6 in QTreeView::paintEvent (this=0x813b3a320, event=0x7fffffff8f30) at /usr/home/rakuco/kde4/src/qt-copy/src/gui/itemviews/qtreeview.cpp:1274
Comment 3 Christophe Marin 2010-09-19 15:29:48 UTC
*** Bug 244770 has been marked as a duplicate of this bug. ***
Comment 4 greatbunzinni 2010-09-28 12:07:55 UTC
Created attachment 52041 [details]
New crash information added by DrKonqi

knode (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:

I did nothing more than unsubscribed from a group.  After restarting knode I again attempted to unsubscribe to another group, which also resulted in a crash.

-- Backtrace (Reduced):
#6  0x0000000000609750 in vtable for __cxxabiv1::__si_class_type_info ()
#7  0x00007f19488230e0 in KPIM::FolderTreeWidgetItemLabelColumnDelegate::paint (this=0x1780c00, painter=0x7fffd78c4920, option=<value optimized out>, index=<value optimized out>) at ../../libkdepim/foldertreewidget.cpp:186
#8  0x00007f1947806659 in QTreeView::drawRow (this=<value optimized out>, painter=<value optimized out>, option=<value optimized out>, index=<value optimized out>) at itemviews/qtreeview.cpp:1678
#9  0x00007f19478011ea in QTreeView::drawTree (this=0x17d0d60, painter=<value optimized out>, region=<value optimized out>) at itemviews/qtreeview.cpp:1441
#10 0x00007f1947801d13 in QTreeView::paintEvent (this=0x17d0d60, event=0x7fffd78c5620) at itemviews/qtreeview.cpp:1274
Comment 5 Nicolas L. 2010-11-25 16:12:36 UTC
*** Bug 257821 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-12-12 15:41:10 UTC
[Comment from a bug triager]
From bug 256226:
I had 6 subscribed groups (on
Giganews.com) and every time I go to remove one I get an 'are you sure?' dialog
box, which I confirm and then Knode (or Kontact, depending on which one I'm
using) crashes. On a restart, the group has been unsubscribed.
Comment 7 Dario Andres 2010-12-12 15:41:26 UTC
*** Bug 257595 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-12-12 15:42:23 UTC
[Comment from a bug triager]
A backtrace from bug 256226 (KDE SC 4.6 beta1):
[KCrash Handler]
#7  0x0804e253 in vtable for __cxxabiv1::__si_class_type_info ()
#8  0x00788e89 in KPIM::FolderTreeWidgetItemLabelColumnDelegate::paint (this=0xa2d3dc0, painter=0xbfb3672c, option=..., index=...) at ../../libkdepim/foldertreewidget.cpp:177
#9  0x029efda0 in QTreeView::drawRow (this=0xa2cc3a8, painter=0xbfb3672c, option=..., index=...) at itemviews/qtreeview.cpp:1678
#10 0x029f546a in QTreeView::drawTree (this=0xa2cc3a8, painter=0xbfb3672c, region=...) at itemviews/qtreeview.cpp:1441
#11 0x029f820b in QTreeView::paintEvent (this=0xa2cc3a8, event=0xbfb37044) at itemviews/qtreeview.cpp:1274
#12 0x03b913dc in KNCollectionView::paintEvent (this=0xa2cc3a8, event=0xbfb37044) at ../../knode/kncollectionview.cpp:342
Comment 9 Dario Andres 2010-12-12 15:42:27 UTC
*** Bug 256226 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2010-12-20 21:53:31 UTC
*** Bug 260819 has been marked as a duplicate of this bug. ***
Comment 11 Olivier Trichet 2011-01-02 14:38:27 UTC
*** Bug 261493 has been marked as a duplicate of this bug. ***
Comment 12 Olivier Trichet 2011-01-02 19:14:25 UTC
commit 4cb6e7c84920e7bec3813a431fd086eeed447f05
branch master
Author: Olivier Trichet <nive@nivalis.org>
Date:   Sun Jan 2 18:50:02 2011 +0100

    Crash when unsubscribing from a newsgroup
    
    The event loop was reentered and the KNCollectionViewItem being deleted
    was reaccessed to update the display.
    Worked around: hide the item before deleting it.
    
    BUG: 248256

diff --git a/knode/kncollectionview.cpp b/knode/kncollectionview.cpp
index 42cc70b..9bf1676 100644
--- a/knode/kncollectionview.cpp
+++ b/knode/kncollectionview.cpp
@@ -171,6 +171,7 @@ void KNCollectionView::removeGroup( KNGroup::Ptr g )
   if (!g->listItem())
     return;
 
+  g->listItem()->setHidden( true ); // work around bug 248256
   delete g->listItem();
   g->setListItem(0);
 }
Comment 13 Raphael Kubo da Costa 2011-01-02 20:04:08 UTC
SVN commit 1210953 by rkcosta:

Backport g4cb6e7c by Olivier Trichet (made to the master branch) to 4.4.

Crash when unsubscribing from a newsgroup

The event loop was reentered and the KNCollectionViewItem being deleted
was reaccessed to update the display.
Worked around: hide the item before deleting it.

CCBUG: 248256



 M  +1 -0      kncollectionview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1210953
Comment 14 Olivier Trichet 2011-01-06 17:10:26 UTC
*** Bug 262279 has been marked as a duplicate of this bug. ***
Comment 15 Reinhard 2011-04-01 11:20:14 UTC
Created attachment 58495 [details]
New crash information added by DrKonqi

kontact (4.4.9) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.0

- What I was doing when the application crashed:

Removing a Group with right click and remove.

-- Backtrace (Reduced):
#7  0x0804e248 in vtable for __cxxabiv1::__si_class_type_info ()
#8  0xb76f72b5 in KPIM::FolderTreeWidgetItemLabelColumnDelegate::paint (this=0xa83d2e0, painter=0xbfcf0b1c, option=..., index=...) at ../../libkdepim/foldertreewidget.cpp:186
#9  0xb6c6cda0 in QTreeView::drawRow (this=0xaa71a90, painter=0xbfcf0b1c, option=..., index=...) at itemviews/qtreeview.cpp:1678
#10 0xb6c7246a in QTreeView::drawTree (this=0xaa71a90, painter=0xbfcf0b1c, region=...) at itemviews/qtreeview.cpp:1441
#11 0xb6c7520b in QTreeView::paintEvent (this=0xaa71a90, event=0xbfcf1434) at itemviews/qtreeview.cpp:1274
Comment 16 Volker Lanz 2011-04-20 13:36:47 UTC
Created attachment 59155 [details]
New crash information added by DrKonqi

knode (4.4.9) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.0

This shows up as "fixed " in the reporting assistant. Is this indeed fixed and propertly backprted?

-- Backtrace (Reduced):
#6  0x0000000000609750 in vtable for __cxxabiv1::__si_class_type_info ()
#7  0x00007f2c99d25f4d in KPIM::FolderTreeWidgetItemLabelColumnDelegate::paint (this=0x21a6990, painter=0x7fff09fd8f60, option=<value optimized out>, index=<value optimized out>) at ../../libkdepim/foldertreewidget.cpp:153
#8  0x00007f2c98819889 in QTreeView::drawRow (this=<value optimized out>, painter=<value optimized out>, option=<value optimized out>, index=<value optimized out>) at itemviews/qtreeview.cpp:1678
#9  0x00007f2c9881441a in QTreeView::drawTree (this=0x2354670, painter=<value optimized out>, region=<value optimized out>) at itemviews/qtreeview.cpp:1441
#10 0x00007f2c98814f43 in QTreeView::paintEvent (this=0x2354670, event=0x7fff09fd9c60) at itemviews/qtreeview.cpp:1274
Comment 17 Raphael Kubo da Costa 2011-04-20 13:38:32 UTC
(In reply to comment #16)
> knode (4.4.9) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.0
> 
> This shows up as "fixed " in the reporting assistant. Is this indeed fixed and
> propertly backprted?

Yes, this has been fixed, but on 4.4.10.
Comment 18 Christophe Marin 2011-09-14 14:13:28 UTC
*** Bug 281816 has been marked as a duplicate of this bug. ***
Comment 19 Christophe Marin 2011-09-14 14:13:50 UTC
from bug 281816

I was unsubscribing from a newsgroup in knode as descibed in bug #248256.
According to bug #248256, this or a very similar crash has been fixed in kdepim
4.4.10, however I just got it in 4.4.11.
Comment 20 Andrew Crouthamel 2018-09-04 18:36:34 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug.