Bug 157814 - Deleting all entries in a feed makes akregator crash.
Summary: Deleting all entries in a feed makes akregator crash.
Status: RESOLVED FIXED
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: 2008-02-14 11:41 UTC by Christophe Marin
Modified: 2008-02-17 19:26 UTC (History)
0 users

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 Christophe Marin 2008-02-14 11:41:48 UTC
Version:           1.2.50 (using 4.00.62 (KDE 4.0.62 >= 20080213), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-7-generic

SVN revision : 774895.
I'm not totally sure of the reason, but I could reproduce the crash a few times : 
- Click on the top article,
- Scroll to the latest one in the list and select,
- right clic + delete,
- Confirm => crash.

Selecting only a few articles didn't seem to crash akregator.


Application: Akregator (akregator), signal SIGSEGV
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb4d9d6c0 (LWP 30736)]
[KCrash handler]
#6  0xb37745a9 in Akregator::Feed::xmlUrl ()
   from /opt/kde4/lib/kde4/akregatorpart.so
#7  0xb37d04c4 in Akregator::MainWidget::slotArticleSelected ()
   from /opt/kde4/lib/kde4/akregatorpart.so
#8  0xb37d2a3a in Akregator::MainWidget::qt_metacall ()
   from /opt/kde4/lib/kde4/akregatorpart.so
#9  0xb7e96cb4 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb7e97882 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb3769fb3 in Akregator::AbstractSelectionController::currentArticleChanged () from /opt/kde4/lib/kde4/akregatorpart.so
#12 0xb3789805 in Akregator::SelectionController::currentArticleIndexChanged
    () from /opt/kde4/lib/kde4/akregatorpart.so
#13 0xb378a505 in Akregator::SelectionController::qt_metacall ()
   from /opt/kde4/lib/kde4/akregatorpart.so
#14 0xb7e96cb4 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7e97882 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb61e87c9 in QItemSelectionModel::currentRowChanged ()
   from /usr/lib/libQtGui.so.4
#17 0xb61efa35 in ?? () from /usr/lib/libQtGui.so.4
#18 0x0849c1f8 in ?? ()
#19 0xb7f014f8 in ?? () from /usr/lib/libQtCore.so.4
#20 0xbfbcc090 in ?? ()
#21 0xb61d8e5f in QTreeView::rowsAboutToBeRemoved ()
   from /usr/lib/libQtGui.so.4
#22 0xb61f0f28 in QItemSelectionModel::qt_metacall ()
   from /usr/lib/libQtGui.so.4
#23 0xb7e96cb4 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb7e97882 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb7eb442f in QAbstractItemModel::rowsAboutToBeRemoved ()
   from /usr/lib/libQtCore.so.4
#26 0xb7e7cb23 in QAbstractItemModel::beginRemoveRows ()
   from /usr/lib/libQtCore.so.4
#27 0xb621a6b0 in ?? () from /usr/lib/libQtGui.so.4
#28 0x08066f68 in ?? ()
#29 0xbfbcc6b4 in ?? ()
#30 0x00000000 in ?? ()
#0  0xb7f30410 in __kernel_vsyscall ()
Comment 1 Frank Osterfeld 2008-02-17 19:26:21 UTC
SVN commit 776258 by osterfeld:

do not crash when all articles in the list are deleted
BUG:157814


 M  +6 -0      articleviewer.cpp  
 M  +21 -21    mainwidget.cpp  


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