Bug 346973 - Serverside and local subscription refresh failed causing Kmail crash
Summary: Serverside and local subscription refresh failed causing Kmail crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-30 18:10 UTC by emek_k
Modified: 2018-01-31 16:52 UTC (History)
1 user (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 emek_k 2015-04-30 18:10:18 UTC
Application: kmail (4.14.6)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.4-200.fc21.x86_64 x86_64
Distribution: "Fedora release 21 (Twenty One)"

-- Information about the crash:
- What I was doing when the application crashed:
Adding folder via server side subscription. All information / emails disappeared from view. Seconds later application crashed. When restarted all restored however not sure if dynamic subfolder refresh is working (dynamic subscription for subfolders when main folder is checked)

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe9acbb7900 (LWP 1871))]

Thread 5 (Thread 0x7fe95e3b2700 (LWP 1882)):
#0  0x000000334480c590 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003617d83c93 in JSC::BlockAllocator::blockFreeingThreadMain() () from /lib64/libQtWebKit.so.4
#2  0x0000003618093c16 in WTF::wtfThreadEntryPoint(void*) () from /lib64/libQtWebKit.so.4
#3  0x000000334480752a in start_thread () from /lib64/libpthread.so.0
#4  0x000000334450022d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fe95d567700 (LWP 1885)):
#0  0x00000033444f4c8d in poll () from /lib64/libc.so.6
#1  0x0000003347049b34 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x0000003347049c4c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003350bb54be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x0000003350b84cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x0000003350b85025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003350a79b49 in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x0000003350a7c3af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#8  0x000000334480752a in start_thread () from /lib64/libpthread.so.0
#9  0x000000334450022d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe94f816700 (LWP 4456)):
#0  0x00000033444f4c8d in poll () from /lib64/libc.so.6
#1  0x0000003347049b34 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x0000003347049c4c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003350bb54be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x0000003350b84cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x0000003350b85025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x0000003350a79b49 in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x0000003350b65623 in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4
#8  0x0000003350a7c3af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#9  0x000000334480752a in start_thread () from /lib64/libpthread.so.0
#10 0x000000334450022d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe94f015700 (LWP 10325)):
#0  0x000000334480c590 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000336a79a49a in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
#2  0x000000336a79a4c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
#3  0x000000334480752a in start_thread () from /lib64/libpthread.so.0
#4  0x000000334450022d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe9acbb7900 (LWP 1871)):
[KCrash Handler]
#6  0x0000003354575680 in QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const () from /lib64/libQtGui.so.4
#7  0x0000003354576dba in QSortFilterProxyModelPrivate::store_persistent_indexes() () from /lib64/libQtGui.so.4
#8  0x000000335457ac9f in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQtGui.so.4
#9  0x0000003350b9acdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#10 0x0000003350be70f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQtCore.so.4
#11 0x000000335457a95b in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQtGui.so.4
#12 0x0000003350b8e52c in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /lib64/libQtCore.so.4
#13 0x0000003350b90a6e in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /lib64/libQtCore.so.4
#14 0x00000031a6c10331 in KRecursiveFilterProxyModelPrivate::sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libkdeui.so.5
#15 0x0000003350b9acdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#16 0x0000003350be70f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQtCore.so.4
#17 0x00000031a6c0e6f4 in KIdentityProxyModelPrivate::_k_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libkdeui.so.5
#18 0x0000003350b9acdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#19 0x0000003350be70f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQtCore.so.4
#20 0x00000031a6c0e6f4 in KIdentityProxyModelPrivate::_k_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libkdeui.so.5
#21 0x0000003350b9acdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#22 0x0000003350be70f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQtCore.so.4
#23 0x000000335457a95b in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQtGui.so.4
#24 0x0000003350b9acdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#25 0x0000003350be70f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libQtCore.so.4
#26 0x00000036145215f3 in Akonadi::EntityTreeModelPrivate::dataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libakonadi-kde.so.4
#27 0x0000003614527b79 in Akonadi::EntityTreeModelPrivate::monitoredCollectionChanged(Akonadi::Collection const&) () from /lib64/libakonadi-kde.so.4
#28 0x0000003350b9acdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#29 0x000000361456dbe5 in Akonadi::Monitor::collectionChanged(Akonadi::Collection const&) () from /lib64/libakonadi-kde.so.4
#30 0x0000003614578b76 in Akonadi::MonitorPrivate::emitCollectionNotification(Akonadi::NotificationMessageV3 const&, Akonadi::Collection const&, Akonadi::Collection const&, Akonadi::Collection const&) () from /lib64/libakonadi-kde.so.4
#31 0x0000003614579ae4 in Akonadi::MonitorPrivate::emitNotification(Akonadi::NotificationMessageV3 const&) () from /lib64/libakonadi-kde.so.4
#32 0x00000036145755b1 in Akonadi::MonitorPrivate::flushPipeline() () from /lib64/libakonadi-kde.so.4
#33 0x00000036145757e9 in Akonadi::MonitorPrivate::dataAvailable() () from /lib64/libakonadi-kde.so.4
#34 0x0000003350b9acdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#35 0x00000036144c89e2 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult(KJob*) () from /lib64/libakonadi-kde.so.4
#36 0x0000003350b9acdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#37 0x00000031a653c902 in KJob::result(KJob*) () from /lib64/libkdecore.so.5
#38 0x00000031a653c950 in KJob::emitResult() () from /lib64/libkdecore.so.5
#39 0x0000003350b9f3d1 in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#40 0x0000003353fc7efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#41 0x0000003353fce958 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#42 0x00000031a6c4ec6a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#43 0x0000003350b8616d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#44 0x0000003350b89431 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#45 0x0000003350bb532e in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#46 0x00000033470497fb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#47 0x0000003347049b98 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#48 0x0000003347049c4c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#49 0x0000003350bb549e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#50 0x000000335406b176 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#51 0x0000003350b84cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#52 0x0000003350b85025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#53 0x0000003350b8a709 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#54 0x0000000000402ef2 in main ()

Possible duplicates by query: bug 279821.

Reported using DrKonqi
Comment 1 Rolf Eike Beer 2015-08-08 15:29:46 UTC
I have a similar crash in akonadi 4.14.10, which happened when my Kontact was just sitting in the background and receiving mails from my online IMAP account:

Thread 1 (Thread 0x7f7e6d81e880 (LWP 5856)):
[KCrash Handler]
#5  0x00007f7e6c444fa7 in ?? () from /usr/lib64/libQtGui.so.4
#6  0x00007f7e6c4450cd in QSortFilterProxyModel::mapToSource(QModelIndex const&) const () from /usr/lib64/libQtGui.so.4
#7  0x00007f7e6c441ceb in QSortFilterProxyModel::index(int, int, QModelIndex const&) const () from /usr/lib64/libQtGui.so.4
#8  0x00007f7e6c444fdc in ?? () from /usr/lib64/libQtGui.so.4
#9  0x00007f7e6c4450cd in QSortFilterProxyModel::mapToSource(QModelIndex const&) const () from /usr/lib64/libQtGui.so.4
#10 0x00007f7e6c43f932 in ?? () from /usr/lib64/libQtGui.so.4
#11 0x00007f7e6c4446df in ?? () from /usr/lib64/libQtGui.so.4
#12 0x00007f7e6b4d1d68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00007f7e6b51c047 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/libQtCore.so.4
#14 0x00007f7e6c444389 in ?? () from /usr/lib64/libQtGui.so.4
#15 0x00007f7e6b4c5ed8 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /usr/lib64/libQtCore.so.4
#16 0x00007f7e6b4c8398 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/lib64/libQtCore.so.4
#17 0x00007f7e6cba88f9 in ?? () from /usr/lib64/libkdeui.so.5
#18 0x00007f7e6b4d1d68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00007f7e6b51c047 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/libQtCore.so.4
#20 0x00007f7e6cba6da4 in ?? () from /usr/lib64/libkdeui.so.5
#21 0x00007f7e6b4d1d68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#22 0x00007f7e6b51c047 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/libQtCore.so.4
#23 0x00007f7e6cba6da4 in ?? () from /usr/lib64/libkdeui.so.5
#24 0x00007f7e6b4d1d68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#25 0x00007f7e6b51c047 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/libQtCore.so.4
#26 0x00007f7e6c444389 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007f7e6b4d1d68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#28 0x00007f7e6b51c047 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/libQtCore.so.4
#29 0x00007f7e69d0f103 in Akonadi::EntityTreeModelPrivate::dataChanged (this=this@entry=0x12dafa0, top=..., bottom=...) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/entitytreemodel_p.cpp:1730
#30 0x00007f7e69d15189 in Akonadi::EntityTreeModelPrivate::monitoredCollectionChanged (this=0x12dafa0, collection=...) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/entitytreemodel_p.cpp:1030
#31 0x00007f7e6b4d1d68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#32 0x00007f7e69d53755 in Akonadi::Monitor::collectionChanged (this=<optimized out>, _t1=...) at /usr/src/debug/kdepimlibs-4.14.10/build/akonadi/moc_monitor.cpp:322
#33 0x00007f7e69d5d26e in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0x12d93a0, msg=..., col=..., par=..., dest=...) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/monitor_p.cpp:947
#34 0x00007f7e69d5e111 in Akonadi::MonitorPrivate::emitNotification (this=0x12d93a0, msg=...) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/monitor_p.cpp:506
#35 0x00007f7e69d599a1 in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0x12d93a0) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/monitor_p.cpp:720
#36 0x00007f7e69d59b79 in Akonadi::MonitorPrivate::dataAvailable (this=0x12d93a0) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/monitor_p.cpp:729
#37 0x00007f7e6b4d1d68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#38 0x00007f7e69cfe6b0 in Akonadi::EntityCacheBase::dataAvailable (this=<optimized out>) at /usr/src/debug/kdepimlibs-4.14.10/build/akonadi/moc_entitycache_p.cpp:101
#39 0x00007f7e69cbddfe in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x1242990, job=<optimized out>) at /usr/src/debug/kdepimlibs-4.14.10/akonadi/entitycache_p.h:217
#40 0x00007f7e6b4d1d68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#41 0x00007f7e6b951a02 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#42 0x00007f7e6b951a40 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#43 0x00007f7e6b4d611e in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#44 0x00007f7e6becd8ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#45 0x00007f7e6bed3e70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x00007f7e6cbe47ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#47 0x00007f7e6b4be0ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#48 0x00007f7e6b4c10ff in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#49 0x00007f7e6b4eb493 in ?? () from /usr/lib64/libQtCore.so.4
#50 0x00007f7e64800316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f7e64800668 in ?? () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f7e6480070c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f7e6b4ead55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#54 0x00007f7e6bf6a936 in ?? () from /usr/lib64/libQtGui.so.4
#55 0x00007f7e6b4bcd0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#56 0x00007f7e6b4bd005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#57 0x00007f7e6b4c213b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#58 0x0000000000403960 in ?? ()
#59 0x00007f7e6aca8be5 in __libc_start_main () from /lib64/libc.so.6
#60 0x0000000000403e29 in _start ()
Comment 2 Denis Kurz 2017-06-23 19:58:17 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 3 Denis Kurz 2018-01-31 16:52:34 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12, preferably more recent), please open a new one unless it already exists. Thank you for all your input.