Bug 152949 - deleting 1 article ask me to delete 3
Summary: deleting 1 article ask me to delete 3
Status: RESOLVED WORKSFORME
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-26 20:13 UTC by Edwin Schepers
Modified: 2008-10-19 18:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Schepers 2007-11-26 20:13:21 UTC
Version:           1.2.50 (using KDE 3.96.1 (KDE 4.0 >= 20071120), compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.22-5-default

Hi,
When I want to delete an article, the confirmation box asks me whether I want to delete the _three_ selected articles.
Confirming the deletion gives strange results to the listview, like empty rows. Trying to delete 20 or so in a list of 30,  crashed akregator.

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2b15fa641f50 (LWP 4954)]
[KCrash handler]
#5  0x00002b15f789ea95 in raise () from /lib64/libc.so.6
#6  0x00002b15f78a0030 in abort () from /lib64/libc.so.6
#7  0x00002b15ed753c3e in qt_message_output (msgType=QtFatalMsg, 
    buf=0x7fffbd5cf260 "ASSERT failure in QVector<T>::remove: \"index out of range\", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 331")
    at global/qglobal.cpp:2162
#8  0x00002b15ed753d4d in qFatal (
    msg=0x2b15ed847320 "ASSERT failure in %s: \"%s\", file %s, line %d")
    at global/qglobal.cpp:2393
#9  0x00002b15ed753d8a in qt_assert_x (
    where=0x2b15f6888b45 "QVector<T>::remove", 
    what=0x2b15f6888ac8 "index out of range", 
    file=0x2b15f6888ae8 "../../include/QtCore/../../src/corelib/tools/qvector.h", line=331) at global/qglobal.cpp:1927
#10 0x00002b15f65334de in QVector<int>::remove (this=0x979e10, i=18, n=-4)
    at ../../include/QtCore/../../src/corelib/tools/qvector.h:331
#11 0x00002b15f67e71dc in QSortFilterProxyModelPrivate::source_items_removed (
    this=0xb83580, source_parent=@0x7fffbd5d1ad0, start=18, end=13, 
    orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:733
#12 0x00002b15f67e733d in QSortFilterProxyModelPrivate::_q_sourceRowsRemoved (
    this=0xb83580, source_parent=@0x7fffbd5d1ad0, start=18, end=18)
    at itemviews/qsortfilterproxymodel.cpp:1103
#13 0x00002b15f67e8c9b in QSortFilterProxyModel::qt_metacall (this=0xadaed0, 
    _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffbd5d1a90)
    at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:126
#14 0x00002b15fede2d87 in Akregator::SortColorizeProxyModel::qt_metacall (
    this=0xadaed0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffbd5d1a90)
    at /install/kde4/kdepim/akregator/src/articlelistview.moc:56
#15 0x00002b15ed821699 in QMetaObject::activate (sender=0xa46390, 
    from_signal_index=11, to_signal_index=11, argv=0x7fffbd5d1a90)
    at kernel/qobject.cpp:3089
#16 0x00002b15ed82203d in QMetaObject::activate (sender=0xa46390, 
    m=0x2b15edad4b00, local_signal_index=7, argv=0x7fffbd5d1a90)
    at kernel/qobject.cpp:3151
#17 0x00002b15ed845431 in QAbstractItemModel::rowsRemoved (this=0xa46390, 
    _t1=@0x7fffbd5d1ad0, _t2=18, _t3=18)
    at .moc/debug-shared/moc_qabstractitemmodel.cpp:170
#18 0x00002b15ed80416c in QAbstractItemModel::endRemoveRows (this=0xa46390)
    at kernel/qabstractitemmodel.cpp:2118
#19 0x00002b15fedc512f in Akregator::ArticleModel::Private::articlesRemoved (
    this=0x976880, node=0xa23ad0, list=@0x7fffbd5d21b0)
    at /install/kde4/kdepim/akregator/src/articlemodel.cpp:165
#20 0x00002b15fedc53ed in Akregator::ArticleModel::qt_metacall (this=0xa46390, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffbd5d2170)
    at /install/kde4/kdepim/akregator/src/articlemodel.moc:73
#21 0x00002b15ed821699 in QMetaObject::activate (sender=0xa23ad0, 
    from_signal_index=8, to_signal_index=8, argv=0x7fffbd5d2170)
    at kernel/qobject.cpp:3089
#22 0x00002b15ed82203d in QMetaObject::activate (sender=0xa23ad0, 
    m=0x2b15ff06f860, local_signal_index=4, argv=0x7fffbd5d2170)
    at kernel/qobject.cpp:3151
#23 0x00002b15fedcdfd5 in Akregator::TreeNode::signalArticlesRemoved (
    this=0xa23ad0, _t1=0xa23ad0, _t2=@0x7fffbd5d21b0)
    at /install/kde4/kdepim/akregator/src/treenode.moc:129
#24 0x00002b15fedc72ec in Akregator::Feed::doArticleNotification (
    this=0xa23ad0) at /install/kde4/kdepim/akregator/src/feed.cpp:775
#25 0x00002b15fedce182 in Akregator::TreeNode::setNotificationMode (
    this=0xa23ad0, doNotify=true)
    at /install/kde4/kdepim/akregator/src/treenode.cpp:141
#26 0x00002b15fee29802 in Akregator::MainWidget::slotArticleDelete (
    this=0x81e5f0) at /install/kde4/kdepim/akregator/src/mainwidget.cpp:1116
#27 0x00002b15fee2cee3 in Akregator::MainWidget::qt_metacall (this=0x81e5f0, 
    _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fffbd5d2990)
    at /install/kde4/kdepim/akregator/src/mainwidget.moc:175
#28 0x00002b15ed821699 in QMetaObject::activate (sender=0x88aa00, 
    from_signal_index=5, to_signal_index=6, argv=0x7fffbd5d2990)
    at kernel/qobject.cpp:3089
#29 0x00002b15ed82184b in QMetaObject::activate (sender=0x88aa00, 
    m=0x2b15f6c0dac0, from_local_signal_index=1, to_local_signal_index=2, 
    argv=0x7fffbd5d2990) at kernel/qobject.cpp:3171
#30 0x00002b15f62feedf in QAction::triggered (this=0x88aa00, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:208
#31 0x00002b15f63007fe in QAction::activate (this=0x88aa00, 
    event=QAction::Trigger) at kernel/qaction.cpp:1116
#32 0x00002b15f66aca49 in QMenuPrivate::activateAction (this=0x9b8ae0, 
    action=0x88aa00, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:923
#33 0x00002b15f66af2b2 in QMenu::mouseReleaseEvent (this=0x9b8aa0, 
    e=0x7fffbd5d3630) at widgets/qmenu.cpp:2093
#34 0x00002b15ee3eeb61 in KMenu::mouseReleaseEvent (this=0x9b8aa0, 
    e=0x7fffbd5d3630) at /install/kde4/kdelibs/kdeui/widgets/kmenu.cpp:423
#35 0x00002b15f63542e2 in QWidget::event (this=0x9b8aa0, event=0x7fffbd5d3630)
    at kernel/qwidget.cpp:6129
#36 0x00002b15f66aa9ed in QMenu::event (this=0x9b8aa0, e=0x7fffbd5d3630)
    at widgets/qmenu.cpp:2182
#37 0x00002b15f63064c5 in QApplicationPrivate::notify_helper (this=0x635390, 
    receiver=0x9b8aa0, e=0x7fffbd5d3630) at kernel/qapplication.cpp:3558
#38 0x00002b15f6307105 in QApplication::notify (this=0x7fffbd5d6000, 
    receiver=0x9b8aa0, e=0x7fffbd5d3630) at kernel/qapplication.cpp:3257
#39 0x00002b15ee33fada in KApplication::notify (this=0x7fffbd5d6000, 
    receiver=0x9b8aa0, event=0x7fffbd5d3630)
    at /install/kde4/kdelibs/kdeui/kernel/kapplication.cpp:319
#40 0x00002b15ed80db8c in QCoreApplication::notifyInternal (
    this=0x7fffbd5d6000, receiver=0x9b8aa0, event=0x7fffbd5d3630)
    at kernel/qcoreapplication.cpp:532
#41 0x00002b15efac608d in QCoreApplication::sendSpontaneousEvent (
    receiver=0x9b8aa0, event=0x7fffbd5d3630)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:205
#42 0x00002b15f636ffcd in QETWidget::translateMouseEvent (this=0x9b8aa0, 
    event=0x7fffbd5d4000) at kernel/qapplication_x11.cpp:3778
#43 0x00002b15f636dff3 in QApplication::x11ProcessEvent (this=0x7fffbd5d6000, 
    event=0x7fffbd5d4000) at kernel/qapplication_x11.cpp:2922
#44 0x00002b15f6397e2f in x11EventSourceDispatch (s=0x638b60, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:137
#45 0x00002b15f7ff2044 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#46 0x00002b15f7ff533d in ?? () from /usr/lib64/libglib-2.0.so.0
#47 0x00002b15f7ff580e in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#48 0x00002b15ed835b46 in QEventDispatcherGlib::processEvents (this=0x633f20, 
    flags=@0x7fffbd5d4290) at kernel/qeventdispatcher_glib.cpp:340
#49 0x00002b15f63976cb in QGuiEventDispatcherGlib::processEvents (
    this=0x633f20, flags=@0x7fffbd5d42e0)
    at kernel/qguieventdispatcher_glib.cpp:193
#50 0x00002b15ed80ad2d in QEventLoop::processEvents (this=0x7fffbd5d43b0, 
    flags=@0x7fffbd5d4340) at kernel/qeventloop.cpp:142
#51 0x00002b15ed80ae82 in QEventLoop::exec (this=0x7fffbd5d43b0, 
    flags=@0x7fffbd5d43c0) at kernel/qeventloop.cpp:184
#52 0x00002b15f66af52e in QMenu::exec (this=0x9b8aa0, p=@0x7fffbd5d53c0, 
    action=0x0) at widgets/qmenu.cpp:1853
#53 0x00002b15fede33db in Akregator::ArticleListView::contextMenuEvent (
    this=0x85de80, event=0x7fffbd5d53a0)
    at /install/kde4/kdepim/akregator/src/articlelistview.cpp:288
#54 0x00002b15f6354afc in QWidget::event (this=0x85de80, event=0x7fffbd5d53a0)
    at kernel/qwidget.cpp:6281
#55 0x00002b15f6668ab9 in QFrame::event (this=0x85de80, e=0x7fffbd5d53a0)
    at widgets/qframe.cpp:657
#56 0x00002b15f66f0440 in QAbstractScrollArea::viewportEvent (this=0x85de80, 
    e=0x7fffbd5d53a0) at widgets/qabstractscrollarea.cpp:926
#57 0x00002b15f67720a3 in QAbstractItemView::viewportEvent (this=0x85de80, 
    event=0x7fffbd5d53a0) at itemviews/qabstractitemview.cpp:1371
#58 0x00002b15f67a791d in QTreeView::viewportEvent (this=0x85de80, 
    event=0x7fffbd5d53a0) at itemviews/qtreeview.cpp:1196
#59 0x00002b15f66f2c44 in QAbstractScrollAreaPrivate::viewportEvent (
    this=0x8c1170, event=0x7fffbd5d53a0) at widgets/qabstractscrollarea_p.h:95
#60 0x00002b15f66f2c84 in QAbstractScrollAreaFilter::eventFilter (
    this=0x861d50, o=0x8557f0, e=0x7fffbd5d53a0)
    at widgets/qabstractscrollarea_p.h:106
#61 0x00002b15f6306447 in QApplicationPrivate::notify_helper (this=0x635390, 
    receiver=0x8557f0, e=0x7fffbd5d53a0) at kernel/qapplication.cpp:3550
#62 0x00002b15f6307861 in QApplication::notify (this=0x7fffbd5d6000, 
    receiver=0x8557f0, e=0x7fffbd5d53a0) at kernel/qapplication.cpp:3342
#63 0x00002b15ee33fada in KApplication::notify (this=0x7fffbd5d6000, 
    receiver=0x8557f0, event=0x7fffbd5d53a0)
    at /install/kde4/kdelibs/kdeui/kernel/kapplication.cpp:319
#64 0x00002b15ed80db8c in QCoreApplication::notifyInternal (
    this=0x7fffbd5d6000, receiver=0x8557f0, event=0x7fffbd5d53a0)
    at kernel/qcoreapplication.cpp:532
#65 0x00002b15efac608d in QCoreApplication::sendSpontaneousEvent (
    receiver=0x8557f0, event=0x7fffbd5d53a0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:205
#66 0x00002b15f637036d in QETWidget::translateMouseEvent (this=0x8557f0, 
    event=0x7fffbd5d5bf0) at kernel/qapplication_x11.cpp:3877
#67 0x00002b15f636dff3 in QApplication::x11ProcessEvent (this=0x7fffbd5d6000, 
    event=0x7fffbd5d5bf0) at kernel/qapplication_x11.cpp:2922
#68 0x00002b15f6397e2f in x11EventSourceDispatch (s=0x638b60, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:137
#69 0x00002b15f7ff2044 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#70 0x00002b15f7ff533d in ?? () from /usr/lib64/libglib-2.0.so.0
#71 0x00002b15f7ff580e in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#72 0x00002b15ed835b46 in QEventDispatcherGlib::processEvents (this=0x633f20, 
    flags=@0x7fffbd5d5e80) at kernel/qeventdispatcher_glib.cpp:340
#73 0x00002b15f63976cb in QGuiEventDispatcherGlib::processEvents (
    this=0x633f20, flags=@0x7fffbd5d5ed0)
    at kernel/qguieventdispatcher_glib.cpp:193
#74 0x00002b15ed80ad2d in QEventLoop::processEvents (this=0x7fffbd5d5f80, 
    flags=@0x7fffbd5d5f30) at kernel/qeventloop.cpp:142
#75 0x00002b15ed80ae82 in QEventLoop::exec (this=0x7fffbd5d5f80, 
    flags=@0x7fffbd5d5f90) at kernel/qeventloop.cpp:184
#76 0x00002b15ed80e306 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:761
#77 0x00002b15f630609c in QApplication::exec () at kernel/qapplication.cpp:3055
#78 0x000000000040979f in main (argc=5, argv=0x7fffbd5d6198)
    at /install/kde4/kdepim/akregator/src/main.cpp:115
#0  0x00002b15f7903460 in nanosleep () from /lib64/libc.so.6
Comment 1 Frank Osterfeld 2007-11-26 23:55:21 UTC
Thanks for the report, delete was still untested indeed. As you apparently build from SVN, could you provide the svn revision in your Bug reports? (See "svn info" run in the checkout).
Comment 2 Christophe Marin 2008-07-24 12:22:14 UTC
Does this crash still happen ? I couldn't reproduce it with a fresh svn build.
Comment 3 Frank Osterfeld 2008-10-19 18:20:47 UTC
Should be fixed in the release, reopen if the problem still exists for you.