Bug 347334

Summary: KMail Crash on Removing Search Folder
Product: [Applications] kmail2 Reporter: wstrecke
Component: searchAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdenis
Priority: NOR Keywords: drkonqi
Version: 4.14.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description wstrecke 2015-05-06 18:27:22 UTC
Application: kmail (4.14.6)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.5-200.local.fc21.x86_64 x86_64
Distribution: "Fedora release 21 (Twenty One)"

-- Information about the crash:
- What I was doing when the application crashed:
After searching, I went to the folder pane on the left, right-clicked the custom search-folder, and removed/deleted it -- crash immediately followed.

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

Thread 3 (Thread 0x7fc081395700 (LWP 5999)):
#0  0x00007fc0e4c7b590 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc0de22fc93 in JSC::BlockAllocator::blockFreeingThreadMain() () at /lib64/libQtWebKit.so.4
#2  0x00007fc0de53fc16 in WTF::wtfThreadEntryPoint(void*) () at /lib64/libQtWebKit.so.4
#3  0x00007fc0e4c7652a in start_thread () at /lib64/libpthread.so.0
#4  0x00007fc0e323e22d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fc07bfff700 (LWP 6000)):
#0  0x00007fc0e3232c8d in poll () at /lib64/libc.so.6
#1  0x00007fc0d9e4cb34 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007fc0d9e4cc4c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007fc0e50404be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#4  0x00007fc0e500fcc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x00007fc0e5010025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00007fc0e4f04b49 in QThread::exec() () at /lib64/libQtCore.so.4
#7  0x00007fc0e4f073af in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#8  0x00007fc0e4c7652a in start_thread () at /lib64/libpthread.so.0
#9  0x00007fc0e323e22d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fc0e964f900 (LWP 5994)):
[KCrash Handler]
#6  0x00007fc0e6424399 in Akonadi::FavoriteCollectionsModel::removeCollection(Akonadi::Collection const&) () at /lib64/libakonadi-kde.so.4
#7  0x00007fc0e84b451e in KMMainWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkmailprivate.so.4
#8  0x00007fc0e5025cdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#9  0x00007fc0e645acf5 in Akonadi::Monitor::collectionRemoved(Akonadi::Collection const&) () at /lib64/libakonadi-kde.so.4
#10 0x00007fc0e6465dee in Akonadi::MonitorPrivate::emitCollectionNotification(Akonadi::NotificationMessageV3 const&, Akonadi::Collection const&, Akonadi::Collection const&, Akonadi::Collection const&) () at /lib64/libakonadi-kde.so.4
#11 0x00007fc0e6466ae4 in Akonadi::MonitorPrivate::emitNotification(Akonadi::NotificationMessageV3 const&) () at /lib64/libakonadi-kde.so.4
#12 0x00007fc0e64625b1 in Akonadi::MonitorPrivate::flushPipeline() () at /lib64/libakonadi-kde.so.4
#13 0x00007fc0e64627e9 in Akonadi::MonitorPrivate::dataAvailable() () at /lib64/libakonadi-kde.so.4
#14 0x00007fc0e5025cdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#15 0x00007fc0e63b59e2 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult(KJob*) () at /lib64/libakonadi-kde.so.4
#16 0x00007fc0e5025cdc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#17 0x00007fc0e8ab6902 in KJob::result(KJob*) () at /lib64/libkdecore.so.5
#18 0x00007fc0e8ab6950 in KJob::emitResult() () at /lib64/libkdecore.so.5
#19 0x00007fc0e502a3d1 in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#20 0x00007fc0e4148efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#21 0x00007fc0e414f958 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#22 0x00007fc0e90b7c6a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#23 0x00007fc0e501116d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#24 0x00007fc0e5014431 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQtCore.so.4
#25 0x00007fc0e504032e in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#26 0x00007fc0d9e4c7fb in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#27 0x00007fc0d9e4cb98 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#28 0x00007fc0d9e4cc4c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#29 0x00007fc0e504049e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#30 0x00007fc0e41ec176 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#31 0x00007fc0e500fcc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#32 0x00007fc0e5010025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#33 0x00007fc0e5015709 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#34 0x0000000000402ef2 in main ()

Possible duplicates by query: bug 346038, bug 345530.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-01-13 14:39:17 UTC

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