Bug 316984

Summary: Akonadiconsole crashed when watching folders being updated in the Browser
Product: [Frameworks and Libraries] Akonadi Reporter: Dennis Schridde <heri+kde>
Component: akonadiconsoleAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Schridde 2013-03-18 17:03:14 UTC
Application: akonadiconsole (0.99)
KDE Platform Version: 4.10.1
Qt Version: 4.8.4
Operating System: Linux 3.8.3-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
I clicked all IMAP folders in Akonadiconsole to update them all and download missing messages and attachments (Payload file ".../akonadi/file_db_data/68250_r0" is missing, trying to recover.). I left Akonadiconsole open, since the job took a long time and was working with other programs and windows in the foreground. Occassionally, I looked at Akonadiconsole again, to see the progress and clicked some folders to see whether they still had the spinner icon. Then I put other windows in the foreground again. After several minutes in the background, Akonadiconsole crashed.

-- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3d1dcb9780 (LWP 3613))]

Thread 3 (Thread 0x7f3d194e0700 (LWP 3616)):
#0  0x000000302280b8a4 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000003aebf36f4b in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x0000003aebf37049 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x0000003022807dff in start_thread () from /lib64/libpthread.so.0
#4  0x00000030220e228d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f3d18bdf700 (LWP 3617)):
#0  0x00007fff63dff847 in clock_gettime ()
#1  0x0000003023403f2d in clock_gettime () from /lib64/librt.so.1
#2  0x0000003f3a8cf784 in do_gettime (frac=0x7f3d18bdeba8, sec=0x7f3d18bdeba0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x0000003f3a9a10ed in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f3d14002860) at kernel/qeventdispatcher_unix.cpp:354
#5  0x0000003f3a9a1433 in QTimerInfoList::timerWait (this=0x7f3d14002860, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x0000003f3a99fedc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f3d18bdec94) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003f3a99ff7d in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x000000381b64699f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x000000381b64702b in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x000000381b647224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x0000003f3a9a080e in QEventDispatcherGlib::processEvents (this=0x7f3d140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x0000003f3a971cdf in QEventLoop::processEvents (this=this@entry=0x7f3d18bdee70, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003f3a971f60 in QEventLoop::exec (this=0x7f3d18bdee70, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003f3a878480 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#15 0x0000003f3a87b37c in QThreadPrivate::start (arg=0x1651760) at thread/qthread_unix.cpp:338
#16 0x0000003022807dff in start_thread () from /lib64/libpthread.so.0
#17 0x00000030220e228d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3d1dcb9780 (LWP 3613)):
[KCrash Handler]
#6  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2455
#8  d_func (this=0x0) at itemviews/qitemselectionmodel.h:154
#9  QItemSelectionModel::hasSelection (this=0x0) at itemviews/qitemselectionmodel.cpp:1416
#10 0x000000367fe2c9fa in KSelectionProxyModelPrivate::sourceRowsAboutToBeRemoved (this=0x185a4c0, parent=..., start=9, end=9) at /var/tmp/portage/kde-base/kdelibs-4.10.1/work/kdelibs-4.10.1/kdeui/itemviews/kselectionproxymodel.cpp:1143
#11 0x0000003f3a987e6f in QMetaObject::activate (sender=0x1853ba0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff63d22570) at kernel/qobject.cpp:3539
#12 0x0000003f3a9d09c4 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=9, _t3=9) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#13 0x0000003f3a96a886 in QAbstractItemModel::beginRemoveRows (this=0x1853ba0, parent=..., first=9, last=9) at kernel/qabstractitemmodel.cpp:2470
#14 0x0000003681f002bb in Akonadi::EntityTreeModelPrivate::monitoredCollectionRemoved (this=0x1854b80, collection=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/entitytreemodel_p.cpp:847
#15 0x0000003f3a987e6f in QMetaObject::activate (sender=0x1850470, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff63d22800) at kernel/qobject.cpp:3539
#16 0x0000003681f39605 in Akonadi::Monitor::collectionRemoved (this=<optimized out>, _t1=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1_build/akonadi/moc_monitor.cpp:259
#17 0x0000003681f3b9a6 in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0x1851ab0, msg=..., col=..., par=..., dest=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/monitor_p.cpp:646
#18 0x0000003681f3ed7b in Akonadi::MonitorPrivate::emitNotification (this=0x1851ab0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/monitor_p.cpp:293
#19 0x0000003681ea79e9 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x1851ab0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/changerecorder_p.cpp:54
#20 0x0000003681f3d83d in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0x1851ab0) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/monitor_p.cpp:457
#21 0x0000003681f3d8c9 in Akonadi::MonitorPrivate::dataAvailable (this=0x1851ab0) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/monitor_p.cpp:466
#22 0x0000003f3a987e6f in QMetaObject::activate (sender=0x1852060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#23 0x0000003681ead736 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x1852060, job=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/entitycache_p.h:196
#24 0x0000003f3a987e6f in QMetaObject::activate (sender=0x1eb39670, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff63d22ea0) at kernel/qobject.cpp:3539
#25 0x000000367f730442 in KJob::result (this=this@entry=0x1eb39670, _t1=_t1@entry=0x1eb39670) at /var/tmp/portage/kde-base/kdelibs-4.10.1/work/kdelibs-4.10.1_build/kdecore/kjob.moc:208
#26 0x000000367f730480 in KJob::emitResult (this=0x1eb39670) at /var/tmp/portage/kde-base/kdelibs-4.10.1/work/kdelibs-4.10.1/kdecore/jobs/kjob.cpp:318
#27 0x000000367f73053d in KJob::kill (this=0x1eb39670, verbosity=KJob::EmitResult) at /var/tmp/portage/kde-base/kdelibs-4.10.1/work/kdelibs-4.10.1/kdecore/jobs/kjob.cpp:117
#28 0x0000003681f6e544 in Akonadi::Session::clear (this=this@entry=0x184ffa0) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/session.cpp:443
#29 0x0000003681f6e6a4 in Akonadi::Session::~Session (this=0x184ffa0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/session.cpp:412
#30 0x0000003681f6e6e9 in Akonadi::Session::~Session (this=0x184ffa0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.10.1/work/kdepimlibs-4.10.1/akonadi/session.cpp:414
#31 0x0000003f3a985161 in QObjectPrivate::deleteChildren (this=0x1828510) at kernel/qobject.cpp:1907
#32 0x0000003ae6e14693 in QWidget::~QWidget (this=0x1828240, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#33 0x0000000000429d19 in ?? ()
#34 0x000000000043f17f in ?? ()
#35 0x000000000043f1c9 in ?? ()
#36 0x0000000000440d95 in ?? ()
#37 0x000000367fef8374 in KMainWindow::closeEvent (this=0x1756ef0, e=0x7fff63d23940) at /var/tmp/portage/kde-base/kdelibs-4.10.1/work/kdelibs-4.10.1/kdeui/widgets/kmainwindow.cpp:604
#38 0x0000003ae6e1a57f in QWidget::event (this=0x1756ef0, event=0x7fff63d23940) at kernel/qwidget.cpp:8544
#39 0x0000003ae71d369b in QMainWindow::event (this=0x1756ef0, event=0x7fff63d23940) at widgets/qmainwindow.cpp:1478
#40 0x000000367ff31868 in KXmlGuiWindow::event (this=0x1756ef0, ev=0x7fff63d23940) at /var/tmp/portage/kde-base/kdelibs-4.10.1/work/kdelibs-4.10.1/kdeui/xmlgui/kxmlguiwindow.cpp:126
#41 0x0000003ae6dcb66c in QApplicationPrivate::notify_helper (this=this@entry=0x158e520, receiver=receiver@entry=0x1756ef0, e=e@entry=0x7fff63d23940) at kernel/qapplication.cpp:4562
#42 0x0000003ae6dcfa2a in QApplication::notify (this=0x7fff63d24550, receiver=0x1756ef0, e=0x7fff63d23940) at kernel/qapplication.cpp:4423
#43 0x000000367fe423b6 in KApplication::notify (this=0x7fff63d24550, receiver=0x1756ef0, event=0x7fff63d23940) at /var/tmp/portage/kde-base/kdelibs-4.10.1/work/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#44 0x0000003f3a972f4d in QCoreApplication::notifyInternal (this=0x7fff63d24550, receiver=0x1756ef0, event=0x7fff63d23940) at kernel/qcoreapplication.cpp:946
#45 0x0000003ae6e14129 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QWidgetPrivate::close_helper (this=0x174ee00, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7941
#47 0x0000003ae6e45ed7 in QApplication::x11ClientMessage (this=<optimized out>, w=0x1756ef0, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3153
#48 0x0000003ae6e444f8 in QApplication::x11ProcessEvent (this=0x7fff63d24550, event=0x7fff63d23ef0) at kernel/qapplication_x11.cpp:3778
#49 0x0000003ae6e697c2 in x11EventSourceDispatch (s=0x158d8b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x000000381b646e1c in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#51 0x000000381b647174 in ?? () from /usr/lib64/libglib-2.0.so.0
#52 0x000000381b647224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#53 0x0000003f3a9a080e in QEventDispatcherGlib::processEvents (this=0x1557ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#54 0x0000003ae6e6944e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x0000003f3a971cdf in QEventLoop::processEvents (this=this@entry=0x7fff63d242d0, flags=...) at kernel/qeventloop.cpp:149
#56 0x0000003f3a971f60 in QEventLoop::exec (this=0x7fff63d242d0, flags=...) at kernel/qeventloop.cpp:204
#57 0x0000003f3a976ac8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#58 0x0000000000419754 in ?? ()
#59 0x00000030220216f5 in __libc_start_main () from /lib64/libc.so.6
#60 0x0000000000419ca5 in _start ()

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 20:41:14 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:36:02 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.