Bug 283530

Summary: crash when removing "local folders" resource
Product: [Applications] kmail2 Reporter: Milian Wolff <mail>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Milian Wolff 2011-10-07 11:32:10 UTC
Application: kmail (4.8 pre)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0-ARCH x86_64

-- Information about the crash:
I've started kmail 2 with a clean config the first time and tried to remove the "local folders" resource, thinking that I don't need it.

well, it crashed kmail and the mail dispatcher agent with pretty much the same backtrace.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f9a66555780 (LWP 10248))]

Thread 3 (Thread 0x7f9a49bcf700 (LWP 10253)):
#0  0x00007f9a604f7b04 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9a5987f5ba in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f9a5987f6a9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f9a604f3da0 in start_thread () from /lib/libpthread.so.0
#4  0x00007f9a5fabc7dd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9a492ce700 (LWP 10254)):
#0  0x00007f9a604f5cf4 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f9a56021d2f in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f9a56022229 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f9a6088f66e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f9a60863a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f9a60863c97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f9a6077b13f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f9a6077dbc5 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f9a604f3da0 in start_thread () from /lib/libpthread.so.0
#9  0x00007f9a5fabc7dd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9a66555780 (LWP 10248)):
[KCrash Handler]
#6  0x00007f9a5fa1d735 in raise () from /lib/libc.so.6
#7  0x00007f9a5fa1ebab in abort () from /lib/libc.so.6
#8  0x00007f9a607744f4 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007f9a607746af in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f9a60774854 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x00007f9a62b6a14b in Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult (this=0x263c2b0, job=0x26741a0) at /home/milian/projects/kde4/kdepimlibs/akonadi/specialcollectionsrequestjob.cpp:203
#12 0x00007f9a62b6b443 in Akonadi::SpecialCollectionsRequestJob::qt_metacall (this=0x201b0b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff08eb6310) at /home/milian/projects/.build/kde4/kdepimlibs/akonadi/specialcollectionsrequestjob.moc:80
#13 0x00007f9a5d67b38c in Akonadi::SpecialMailCollectionsRequestJob::qt_metacall (this=0x201b0b0, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0x7fff08eb6310) at /home/milian/projects/.build/kde4/kdepimlibs/akonadi/kmime/specialmailcollectionsrequestjob.moc:64
#14 0x00007f9a608775ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x00007f9a65971722 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#16 0x00007f9a65971760 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#17 0x00007f9a62b639dc in Akonadi::ResourceScanJob::Private::fetchResult (this=0x2684bf0, job=0x2680d40) at /home/milian/projects/kde4/kdepimlibs/akonadi/specialcollectionshelperjobs.cpp:150
#18 0x00007f9a62b67b36 in Akonadi::ResourceScanJob::qt_metacall (this=0x26741a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff08eb65d0) at /home/milian/projects/.build/kde4/kdepimlibs/akonadi/specialcollectionshelperjobs_p.moc:72
#19 0x00007f9a62b67c00 in Akonadi::DefaultResourceJob::qt_metacall (this=0x26741a0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0x7fff08eb65d0) at /home/milian/projects/.build/kde4/kdepimlibs/akonadi/specialcollectionshelperjobs_p.moc:133
#20 0x00007f9a608775ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#21 0x00007f9a65971722 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#22 0x00007f9a65971760 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#23 0x00007f9a62b25816 in Akonadi::JobPrivate::delayedEmitResult (this=0x23289e0) at /home/milian/projects/kde4/kdepimlibs/akonadi/job.cpp:144
#24 0x00007f9a62b2699b in Akonadi::Job::qt_metacall (this=0x2680d40, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x259b0c0) at /home/milian/projects/.build/kde4/kdepimlibs/akonadi/job.moc:91
#25 0x00007f9a62aa4691 in Akonadi::CollectionFetchJob::qt_metacall (this=0x2680d40, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x259b0c0) at /home/milian/projects/.build/kde4/kdepimlibs/akonadi/collectionfetchjob.moc:75
#26 0x00007f9a6087b18e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007f9a61540ae4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007f9a61545951 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007f9a65f61bb6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0x00007f9a6086489c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#31 0x00007f9a60867c2f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#32 0x00007f9a6088f1a3 in ?? () from /usr/lib/libQtCore.so.4
#33 0x00007f9a5602185d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007f9a56022058 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007f9a56022229 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007f9a6088f606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00007f9a615e3eee in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007f9a60863a92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007f9a60863c97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x00007f9a60867eab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#41 0x0000000000403686 in main (argc=1, argv=0x7fff08eb70d8) at /home/milian/projects/kde4/kdepim/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Christophe Marin 2011-10-07 12:13:42 UTC

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