Bug 356451 - KMail segfaulted on change of Akonadi backend
Summary: KMail segfaulted on change of Akonadi backend
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-10 00:52 UTC by .
Modified: 2018-01-31 16:51 UTC (History)
0 users

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 . 2015-12-10 00:52:36 UTC
Application: kmail (4.14.10)
KDE Platform Version: 4.14.10
Qt Version: 4.8.6
Operating System: Linux 4.1.13-5-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

1. opened Akonadi configuration
2. changed backend from MySQL to SQLite
3. restarted Akonadi

KMail immediately showed an error message and after clicking "OK" on the dialog it crashed.

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

Thread 5 (Thread 0x7fc613d51700 (LWP 5883)):
#0  0x00007fc633e7d05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc630256eb6 in WTF::TCMalloc_PageHeap::scavengerThread() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007fc630256ee9 in  () at /usr/lib64/libQtWebKit.so.4
#3  0x00007fc633e790a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fc63b33304d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fc5d2bbe700 (LWP 5895)):
#0  0x00007fc633e7d05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc62ffc9b3d in JSC::BlockAllocator::blockFreeingThreadMain() () at /usr/lib64/libQtWebKit.so.4
#2  0x00007fc63027ea06 in WTF::wtfThreadEntryPoint(void*) () at /usr/lib64/libQtWebKit.so.4
#3  0x00007fc633e790a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fc63b33304d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fc5d1f64700 (LWP 5913)):
#0  0x00007fc63b32ac1d in poll () at /lib64/libc.so.6
#1  0x00007fc63305de64 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fc5c40013e0, timeout=9834, context=0x7fc5c40009a0) at gmain.c:4103
#2  0x00007fc63305de64 in g_main_context_iterate (context=context@entry=0x7fc5c40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803
#3  0x00007fc63305df7c in g_main_context_iteration (context=0x7fc5c40009a0, may_block=1) at gmain.c:3869
#4  0x00007fc63c9fdfde in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc5c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007fc63c9cfd4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc5d1f63de0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc63c9d0045 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc5d1f63de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc63c8cd4df in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007fc63c8cfbbf in QThreadPrivate::start(void*) (arg=0x12b3160) at thread/qthread_unix.cpp:349
#9  0x00007fc633e790a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fc63b33304d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fc5cbfff700 (LWP 6065)):
#0  0x00007fc633e7d05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc62580186b in  () at /usr/lib64/libQtScript.so.4
#2  0x00007fc6258018a9 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007fc633e790a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fc63b33304d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fc63e09e800 (LWP 5799)):
[KCrash Handler]
#6  0x00007fc63b283187 in raise () at /lib64/libc.so.6
#7  0x00007fc63b284538 in abort () at /lib64/libc.so.6
#8  0x00007fc63c8c56d4 in qt_message_output(QtMsgType, char const*) (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2359
#9  0x00007fc63c8c5859 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7fc63d57be58 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7ffece580318) at global/qglobal.cpp:2405
#10 0x00007fc63c8c6064 in qFatal(char const*, ...) (msg=msg@entry=0x7fc63d57be58 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2588
#11 0x00007fc63d359080 in operator->() (this=<optimized out>) at /usr/src/debug/kdelibs-4.14.10/kdeui/widgets/kmainwindow.cpp:214
#12 0x00007fc63d4e8b38 in KMainWindow::memberList() (this=<optimized out>) at /usr/src/debug/kdelibs-4.14.10/kdeui/widgets/kmainwindow.cpp:214
#13 0x00007fc63d4e8b38 in KMainWindow::memberList() (this=<optimized out>) at /usr/src/debug/kdelibs-4.14.10/kdeui/widgets/kmainwindow.cpp:214
#14 0x00007fc63d4e8b38 in KMainWindow::memberList() () at /usr/src/debug/kdelibs-4.14.10/kdeui/widgets/kmainwindow.cpp:1218
#15 0x00007fc63db35fdb in KMKernel::dumpDeadLetters() (this=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kmail/kmkernel.cpp:1322
#16 0x00007fc63db37877 in kmCrashHandler(int) (sigId=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kmail/kmkernel.cpp:1181
#17 0x00007fc63d4932d0 in KCrash::defaultCrashHandler(int) (sig=6) at /usr/src/debug/kdelibs-4.14.10/kdeui/util/kcrash.cpp:307
#18 0x00007fc63b283200 in <signal handler called> () at /lib64/libc.so.6
#19 0x00007fc63b283187 in raise () at /lib64/libc.so.6
#20 0x00007fc63b284538 in abort () at /lib64/libc.so.6
#21 0x00007fc63c8c56d4 in qt_message_output(QtMsgType, char const*) (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2359
#22 0x00007fc63c8c5859 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7fc63ad0c2c8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7ffece580ee8) at global/qglobal.cpp:2405
#23 0x00007fc63c8c6064 in qFatal(char const*, ...) (msg=msg@entry=0x7fc63ad0c2c8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2588
#24 0x00007fc63ac57d84 in MailCommon::Kernel::self() (this=<optimized out>) at /usr/src/debug/kdepim-4.14.10/mailcommon/kernel/mailkernel.cpp:58
#25 0x00007fc63ac57d84 in MailCommon::Kernel::self() () at /usr/src/debug/kdepim-4.14.10/mailcommon/kernel/mailkernel.cpp:75
#26 0x00007fc63ac9ffd0 in MailCommon::FolderCollection::writeConfig() const (this=this@entry=0x18badd0) at /usr/src/debug/kdepim-4.14.10/mailcommon/folder/foldercollection.cpp:218
#27 0x00007fc63aca07d2 in MailCommon::FolderCollection::~FolderCollection() (this=0x18badd0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.14.10/mailcommon/folder/foldercollection.cpp:84
#28 0x00007fc63aca0849 in MailCommon::FolderCollection::~FolderCollection() (this=0x18badd0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.14.10/mailcommon/folder/foldercollection.cpp:86
#29 0x00007fc63ac9f104 in QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData(QMapData*) (value=0x18badd0, d=0x196bda0) at /usr/include/QtCore/qsharedpointer_impl.h:342
#30 0x00007fc63ac9f104 in QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData(QMapData*) (this=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:336
#31 0x00007fc63ac9f104 in QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData(QMapData*) (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:401
#32 0x00007fc63ac9f104 in QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData(QMapData*) (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:466
#33 0x00007fc63ac9f104 in QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData(QMapData*) (x=0x189efd0, this=<optimized out>) at /usr/include/QtCore/qmap.h:652
#34 0x00007fc63b285f7f in __cxa_finalize () at /lib64/libc.so.6
#35 0x00007fc63ac566f3 in __do_global_dtors_aux () at /usr/lib64/libmailcommon.so.4
#36 0x00007ffece5819f0 in  ()
#37 0x00007fc63df0af3a in _dl_fini () at /lib64/ld-linux-x86-64.so.2

The reporter indicates this bug may be a duplicate of or related to bug 351115.

Possible duplicates by query: bug 351115, bug 349595, bug 349085, bug 346970, bug 346142.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 20:18:33 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.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 opportunity 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 2 Denis Kurz 2018-01-31 16:51:57 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.