Bug 372850 - KMail crashes on startup
Summary: KMail crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-11-23 20:06 UTC by Peter Grobarcik
Modified: 2020-12-21 17:48 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 Peter Grobarcik 2016-11-23 20:06:18 UTC
Application: kmail (5.3.3 (QtWebEngine))

Qt Version: 5.7.0
Frameworks Version: 5.29.0
Operating System: Linux 4.4.0-47-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
I just booted up after an update. The update crpled kdepim. None action taken yet.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe1805cfa00 (LWP 6210))]

Thread 3 (Thread 0x7fe17575f700 (LWP 6213)):
#0  0x00007fe1b0a6d81e in timerSourcePrepareHelper (timeout=0x7fe17575e9f4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:133
#1  timerSourcePrepare (source=<optimized out>, timeout=0x7fe17575e9f4) at kernel/qeventdispatcher_glib.cpp:165
#2  0x00007fe1a4eba92d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe1a4ebb2cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe1a4ebb4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe1b0a6e23b in QEventDispatcherGlib::processEvents (this=0x7fe1680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fe1b0a18cea in QEventLoop::exec (this=this@entry=0x7fe17575ebc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#7  0x00007fe1b083dfb4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#8  0x00007fe1b0842b98 in QThreadPrivate::start (arg=0x29a2ad0) at thread/qthread_unix.cpp:344
#9  0x00007fe1a6a0070a in start_thread (arg=0x7fe17575f700) at pthread_create.c:333
#10 0x00007fe1aff3982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fe176970700 (LWP 6212)):
#0  0x00007fe1aff2db5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe1a4ebb39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe1a4ebb4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe1b0a6e23b in QEventDispatcherGlib::processEvents (this=0x7fe1700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe1b0a18cea in QEventLoop::exec (this=this@entry=0x7fe17696fb90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007fe1b083dfb4 in QThread::exec (this=this@entry=0x7fe1b2b66d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#6  0x00007fe1b2af27a5 in QDBusConnectionManager::run (this=0x7fe1b2b66d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:196
#7  0x00007fe1b0842b98 in QThreadPrivate::start (arg=0x7fe1b2b66d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:344
#8  0x00007fe1a6a0070a in start_thread (arg=0x7fe176970700) at pthread_create.c:333
#9  0x00007fe1aff3982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe1805cfa00 (LWP 6210)):
[KCrash Handler]
#6  0x00007fe1afe68428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fe1afe6a02a in __GI_abort () at abort.c:89
#8  0x00007fe1afeaa7ea in __libc_message (do_abort=2, fmt=fmt@entry=0x7fe1affc32e0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fe1afeb481e in malloc_printerr (ar_ptr=0x7fe1b01f6b20 <main_arena>, ptr=0x29d7ce0, str=0x7fe1affc0142 "malloc(): memory corruption", action=<optimized out>) at malloc.c:5004
#10 _int_malloc (av=av@entry=0x7fe1b01f6b20 <main_arena>, bytes=bytes@entry=1162) at malloc.c:3472
#11 0x00007fe1afeb65d4 in __GI___libc_malloc (bytes=bytes@entry=1162) at malloc.c:2911
#12 0x00007fe1b0843e32 in QArrayData::allocate (objectSize=objectSize@entry=2, alignment=alignment@entry=8, capacity=capacity@entry=569, options=options@entry=...) at tools/qarraydata.cpp:114
#13 0x00007fe1b08cdbe8 in QTypedArrayData<unsigned short>::allocate (options=..., capacity=569) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:222
#14 QString::fromLatin1_helper (str=str@entry=0x7fe1b0ae44e0 <script_code_list> "ZzzzArabCyrlDsrtGuruHansHantLatnMongTfngArmnBengCherDevaEthiGeorGrekGujrHebrJpanKhmrKndaKoreLaooMlymMymrOryaTamlTeluThaaThaiTibtSinhSyrcYiiiVaiiAvstBaliBamuBatkBopoBrahBugiBuhdCansCariCakmChamCoptCprt"..., size=size@entry=568) at tools/qstring.cpp:4654
#15 0x00007fe1b08a4bf1 in QString::fromLatin1 (str=<synthetic pointer>, size=568) at ../../include/QtCore/../../src/corelib/tools/qstring.h:538
#16 qt_splitLocaleName (name=..., lang=..., script=..., cntry=...) at tools/qlocale.cpp:434
#17 0x00007fe1b08eaab3 in QSystemLocale::query (this=<optimized out>, type=<optimized out>, in=...) at tools/qlocale_unix.cpp:242
#18 0x00007fe1b08ae6fe in QLocale::uiLanguages (this=0x7ffc6bb9c8a0) at tools/qlocale.cpp:3543
#19 0x00007fe1b1ff7c0e in PimCommon::AutoCorrection::readAutoCorrectionXmlFile(bool) () from /usr/lib/x86_64-linux-gnu/libKF5PimCommon.so.5
#20 0x00007fe1b1ff977c in PimCommon::AutoCorrection::AutoCorrection() () from /usr/lib/x86_64-linux-gnu/libKF5PimCommon.so.5
#21 0x00007fe1b2385eff in KMKernel::KMKernel(QObject*) () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#22 0x0000000000403984 in ?? ()
#23 0x00007fe1afe53830 in __libc_start_main (main=0x402910, argc=3, argv=0x7ffc6bb9d528, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc6bb9d518) at ../csu/libc-start.c:291
#24 0x00000000004040c9 in _start ()

Possible duplicates by query: bug 369121, bug 358346.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-17 05:23:57 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Peter Grobarcik 2020-12-21 17:48:12 UTC
After new update: 
KMail Version 5.16.0 (20.12.0)
KDE Frameworks 5.77.0
Qt 5.15.2 (kompiliert gegen 5.15.2)
Das xcb Fenstersystem

The bug does not appear anymore.