Bug 256515

Summary: akregator crashes with -1 unread entries
Product: [Applications] akregator Reporter: Maxime Corteel <mcorteel>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 1.6.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maxime Corteel 2010-11-10 13:41:30 UTC
Application: akregator (1.6.5)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I was browsing through "unread" entries, one wouldn't show (remained unread, and also had a duplicate in the list) and the left panel showed -1 unread entries (were it should have shown 1, or 2, or at least 0...). When clicking on another directory and then back on the main directory (which I do every time I want to clear all read entries in the list), akregator crashed. This has been happening a lot, but I'm not sure how to reproduce it...
Also, when I restart akregator, the buggy entry is marked as read.
- Custom settings of the application:
The "unread" filter is always on and entries are marked as read as soon as I open them.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Akregator (akregator), signal: Segmentation fault
[Current thread is 1 (Thread 0xb784d950 (LWP 4364))]

Thread 2 (Thread 0xb1fddb70 (LWP 4367)):
#0  0x03655e36 in clock_gettime (clock_id=56991732, tp=0xb1fdcf70) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0076150b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x008386e5 in QTimerInfoList::updateCurrentTime (this=0x9628644) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0083872a in QTimerInfoList::timerWait (this=0x9628644, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x008367a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb1fdd09c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0083683d in timerSourcePrepare (source=0x0, timeout=0x3659ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02d92e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x02d93279 in ?? () from /lib/libglib-2.0.so.0
#9  0x02d93848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0083659f in QEventDispatcherGlib::processEvents (this=0x90ecfe0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x00806609 in QEventLoop::processEvents (this=0xb1fdd270, flags=) at kernel/qeventloop.cpp:149
#12 0x00806a8a in QEventLoop::exec (this=0xb1fdd270, flags=...) at kernel/qeventloop.cpp:201
#13 0x00702b7e in QThread::exec (this=0x960a630) at thread/qthread.cpp:490
#14 0x007e535b in QInotifyFileSystemWatcherEngine::run (this=0x960a630) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00705df9 in QThreadPrivate::start (arg=0x960a630) at thread/qthread_unix.cpp:266
#16 0x00115cc9 in start_thread (arg=0xb1fddb70) at pthread_create.c:304
#17 0x02a5d6ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb784d950 (LWP 4364)):
[KCrash Handler]
#7  0x03706a05 in Akregator::Article::title (this=0x986c0a8) at ../../../akregator/src/article.cpp:375
#8  0x0371459c in Akregator::ArticleModel::Private::Private (this=0x97a7f08, articles_=..., qq=0x9826468) at ../../../akregator/src/articlemodel.cpp:76
#9  0x037146f8 in Akregator::ArticleModel::ArticleModel (this=0x9826468, articles=..., parent=0x0) at ../../../akregator/src/articlemodel.cpp:79
#10 0x03734d76 in Akregator::SelectionController::articleHeadersAvailable (this=0x8dcda00, job=0x96b5040) at ../../../akregator/src/selectioncontroller.cpp:212
#11 0x037351df in Akregator::SelectionController::qt_metacall (this=0x8dcda00, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbfe37f58) at ./selectioncontroller.moc:92
#12 0x0080d8ca in QMetaObject::metacall (object=0x8dcda00, cl=QMetaObject::ReadProperty, idx=15, argv=0xbfe37f58) at kernel/qmetaobject.cpp:237
#13 0x008206ad in QMetaObject::activate (sender=0x96b5040, m=0x499b48, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#14 0x00326bf3 in KJob::finished (this=0x96b5040, _t1=0x96b5040) at ./kjob.moc:173
#15 0x00326d9c in KJob::emitResult (this=0x96b5040) at ../../kdecore/jobs/kjob.cpp:310
#16 0x0370c8ba in Akregator::ArticleListJob::doList (this=0x96b5040) at ../../../akregator/src/articlejobs.cpp:190
#17 0x0370ca01 in Akregator::ArticleListJob::qt_metacall (this=0x96b5040, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0xbfe380bc) at ./articlejobs.moc:239
#18 0x0080d8ca in QMetaObject::metacall (object=0x96b5040, cl=QMetaObject::ReadProperty, idx=26, argv=0xbfe380bc) at kernel/qmetaobject.cpp:237
#19 0x008206ad in QMetaObject::activate (sender=0x97f5c08, m=0x939188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#20 0x00825a47 in QSingleShotTimer::timeout (this=0x97f5c08) at .moc/release-shared/qtimer.moc:82
#21 0x00825b5c in QSingleShotTimer::timerEvent (this=0x97f5c08) at kernel/qtimer.cpp:308
#22 0x0081a504 in QObject::event (this=0x97f5c08, e=0x9791668) at kernel/qobject.cpp:1183
#23 0x01015fdc in QApplicationPrivate::notify_helper (this=0x8b0dec8, receiver=0x97f5c08, e=0xbfe385f0) at kernel/qapplication.cpp:4396
#24 0x0101c04e in QApplication::notify (this=0xbfe38934, receiver=0x97f5c08, e=0xbfe385f0) at kernel/qapplication.cpp:3798
#25 0x00ba001a in KApplication::notify (this=0xbfe38934, receiver=0x97f5c08, event=0xbfe385f0) at ../../kdeui/kernel/kapplication.cpp:310
#26 0x00807b3b in QCoreApplication::notifyInternal (this=0xbfe38934, receiver=0x97f5c08, event=0xbfe385f0) at kernel/qcoreapplication.cpp:732
#27 0x00839ad6 in sendEvent (this=0x8b109cc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x8b109cc) at kernel/qeventdispatcher_unix.cpp:602
#29 0x008368a7 in timerSourceDispatch (source=0x8b10e00) at kernel/qeventdispatcher_glib.cpp:184
#30 idleTimerSourceDispatch (source=0x8b10e00) at kernel/qeventdispatcher_glib.cpp:231
#31 0x02d8f855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x02d93668 in ?? () from /lib/libglib-2.0.so.0
#33 0x02d93848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00836565 in QEventDispatcherGlib::processEvents (this=0x8aebb78, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#35 0x010d7be5 in QGuiEventDispatcherGlib::processEvents (this=0x8aebb78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00806609 in QEventLoop::processEvents (this=0xbfe388b4, flags=) at kernel/qeventloop.cpp:149
#37 0x00806a8a in QEventLoop::exec (this=0xbfe388b4, flags=...) at kernel/qeventloop.cpp:201
#38 0x0080b00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#39 0x01014e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#40 0x0804f1a1 in main (argc=1, argv=0xbfe38a94) at ../../../akregator/src/main.cpp:103

Possible duplicates by query: bug 247860, bug 247831, bug 240468, bug 240271, bug 236339.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-12 15:23:48 UTC
[Comment from a bug triager]
This issue is being tracked at bug 194591. Merging. Thanks

*** This bug has been marked as a duplicate of bug 194591 ***