Bug 250075

Summary: Akregator crashed when moving between articles
Product: [Applications] akregator Reporter: Alex Merry <alex.merry>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: 1.6.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Merry 2010-09-03 20:46:09 UTC
Application: akregator (1.6.0)
KDE Platform Version: 4.5.67 (4.6 >= 20100901) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

I pressed "-" to move to another unread article, as normal, and Akregator crashed.  Normally, this action works fine.

-- Backtrace:
Application: Akregator (akregator), signal: Segmentation fault
[KCrash Handler]
#6  QModelIndex (this=0x143d770, child=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x143d770, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1619
#8  0x00007fe63538e711 in QModelIndex::parent (this=0x19f10b0, source_indexes=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QSortFilterProxyModelPrivate::update_persistent_indexes (this=0x19f10b0, source_indexes=...) at itemviews/qsortfilterproxymodel.cpp:977
#10 0x00007fe63538ed8c in QSortFilterProxyModelPrivate::_q_sourceLayoutChanged (this=0x19f10b0) at itemviews/qsortfilterproxymodel.cpp:1220
#11 0x00007fe635391e19 in QSortFilterProxyModel::qt_metacall (this=0x19e9d80, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff60c95a10) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:133
#12 0x00007fe6341d3def in QMetaObject::activate (sender=0x143d770, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#13 0x00007fe63538eda4 in QSortFilterProxyModelPrivate::_q_sourceLayoutChanged (this=0x19405d0) at itemviews/qsortfilterproxymodel.cpp:1225
#14 0x00007fe635391e19 in QSortFilterProxyModel::qt_metacall (this=0x143d770, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff60c95b90) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:133
#15 0x00007fe62353685b in Akregator::FilterDeletedProxyModel::qt_metacall (this=0x143d770, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0x7fff60c95b90)
    at /home/kde-devel/build/KDE/kdepim/akregator/src/articlelistview.moc:64
#16 0x00007fe6341d3def in QMetaObject::activate (sender=0x19ea5d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#17 0x00007fe623534202 in Akregator::SortColorizeProxyModel::setFilters (this=0x19ea5d0, matchers=...) at /home/kde-devel/src/KDE/kdepim/akregator/src/articlelistview.cpp:91
#18 0x00007fe623536789 in Akregator::ArticleListView::setFilters (this=0xd5a050, matchers=...) at /home/kde-devel/src/KDE/kdepim/akregator/src/articlelistview.cpp:548
#19 0x00007fe62352b6f6 in Akregator::SelectionController::setFilters (this=0xd65de0, matchers=...) at /home/kde-devel/src/KDE/kdepim/akregator/src/selectioncontroller.cpp:298
#20 0x00007fe62352b889 in Akregator::SelectionController::qt_metacall (this=0xd65de0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff60c95d60)
    at /home/kde-devel/build/KDE/kdepim/akregator/src/selectioncontroller.moc:86
#21 0x00007fe6341d3def in QMetaObject::activate (sender=0xd46ae0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff60c95d60) at kernel/qobject.cpp:3287
#22 0x00007fe623531b9f in Akregator::SearchBar::signalSearch (this=0xd46ae0, _t1=...) at /home/kde-devel/build/KDE/kdepim/akregator/src/searchbar.moc:105
#23 0x00007fe6235317d4 in Akregator::SearchBar::slotActivateSearch (this=0xd46ae0) at /home/kde-devel/src/KDE/kdepim/akregator/src/searchbar.cpp:226
#24 0x00007fe623531b48 in Akregator::SearchBar::qt_metacall (this=0xd46ae0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff60c95ff0)
    at /home/kde-devel/build/KDE/kdepim/akregator/src/searchbar.moc:93
#25 0x00007fe6341d3def in QMetaObject::activate (sender=0xd47128, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#26 0x00007fe6341d13ae in QObject::event (this=0xd47128, e=0x7fff60c96780) at kernel/qobject.cpp:1204
#27 0x00007fe634e10ae4 in QApplicationPrivate::notify_helper (this=0x9ff120, receiver=0xd47128, e=0x7fff60c96780) at kernel/qapplication.cpp:4302
#28 0x00007fe634e14bca in QApplication::notify (this=<value optimized out>, receiver=0xd47128, e=0x7fff60c96780) at kernel/qapplication.cpp:4185
#29 0x00007fe635b26c8d in KApplication::notify (this=0x7fff60c96a60, receiver=0xd47128, event=0x7fff60c96780) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#30 0x00007fe6341bfd8c in QCoreApplication::notifyInternal (this=0x7fff60c96a60, receiver=0xd47128, event=0x7fff60c96780) at kernel/qcoreapplication.cpp:726
#31 0x00007fe6341eb222 in QCoreApplication::sendEvent (this=0xa05f90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0xa05f90) at kernel/qeventdispatcher_unix.cpp:603
#33 0x00007fe6341e81f8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#35 0x00007fe62c840b33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007fe62c841310 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#37 0x00007fe62c8415ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00007fe6341e887f in QEventDispatcherGlib::processEvents (this=0x9ab210, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007fe634eb060e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007fe6341bf172 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007fe6341bf3ac in QEventLoop::exec (this=0x7fff60c96a00, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007fe6341c37bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#43 0x0000000000409941 in main (argc=3, argv=0x7fff60c96c38) at /home/kde-devel/src/KDE/kdepim/akregator/src/main.cpp:103

Possible duplicates by query: bug 239027, bug 212757.

Reported using DrKonqi
Comment 1 Alex Merry 2010-09-03 20:51:47 UTC
OK, so it happened again.  This time, what I did was (and this is very similar to what I did the previous time):

The posts were filtered from the previous instance of Akregator.  I pressed "-", which took me to a feed that had no results for the filter (although one unread post).  I cancelled the filter, and typed "-" to attempt to read the unread post.  This typed the character into the filter, so I immediately backspaced it.  At this point, Akregator crashed.
Comment 2 Alex Merry 2010-09-03 20:54:53 UTC
Tested once more: the crash can be triggered by typing in an character to the filter field (when it is empty), but only for one of the feeds.  The other feeds (both with and without unread posts) don't crash when I do this.
Comment 3 Christophe Marin 2010-09-14 22:30:55 UTC
Please retry with a more recent snapshot, a recent commit was reverted in trunk
Comment 4 Alex Merry 2012-06-11 16:05:59 UTC
This hasn't happened to me since, so I'm resolving as WORKSFORME.