Bug 355228 - Kmail crashes frequently
Summary: Kmail crashes frequently
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-12 09:24 UTC by soeren_h
Modified: 2018-01-31 16:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soeren_h 2015-11-12 09:24:36 UTC
Application: kmail (5.0.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-18-generic x86_64
Distribution: Ubuntu 15.10

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

Start Kmail results in crash. Reply to mal results in crash.

- Unusual behavior I noticed:
kinit crashed in a session before

The crash can be reproduced every time.

-- 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 0x7fbe7f55a880 (LWP 3982))]

Thread 2 (Thread 0x7fbe72d36700 (LWP 3994)):
#0  0x00007ffff68cac4f in clock_gettime ()
#1  0x00007fbea24ed38d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7fbe72d35ab0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fbea2e8e3a6 in qt_clock_gettime (ts=0x7fbe72d35ab0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007fbea3011d29 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fbe6c002ed0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007fbea3012295 in QTimerInfoList::timerWait (this=0x7fbe6c002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007fbea301367e in timerSourcePrepareHelper (timeout=0x7fbe72d35b84, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7fbe72d35b84) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007fbe9887977d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fbe9887a11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fbe9887a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fbea301429b in QEventDispatcherGlib::processEvents (this=0x7fbe6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007fbea2fba75a in QEventLoop::exec (this=this@entry=0x7fbe72d35d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007fbea2dd83d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007fbea2ddd2be in QThreadPrivate::start (arg=0x235ef00) at thread/qthread_unix.cpp:337
#16 0x00007fbe990a16aa in start_thread (arg=0x7fbe72d36700) at pthread_create.c:333
#17 0x00007fbea24deeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fbe7f55a880 (LWP 3982)):
[KCrash Handler]
#6  0x00007fbea240d267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007fbea240eeca in __GI_abort () at abort.c:89
#8  0x00007fbea2450c53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7fbea25691a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fbea2458c69 in malloc_printerr (ptr=<optimized out>, str=0x7fbea25652fa "free(): invalid pointer", action=1) at malloc.c:4965
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3834
#11 0x00007fbea245c89c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
#12 0x00007fbe9f83613d in ?? () from /usr/lib/x86_64-linux-gnu/libkleo.so.5
#13 0x00007fbe9f836cfa in ?? () from /usr/lib/x86_64-linux-gnu/libkleo.so.5
#14 0x00007fbe9f7fd525 in Kleo::CryptoBackendFactory::scanForBackends(QStringList*) () from /usr/lib/x86_64-linux-gnu/libkleo.so.5
#15 0x00007fbe9f7fe0c0 in Kleo::CryptoBackendFactory::CryptoBackendFactory() () from /usr/lib/x86_64-linux-gnu/libkleo.so.5
#16 0x00007fbe9f7fe1a5 in Kleo::CryptoBackendFactory::instance() () from /usr/lib/x86_64-linux-gnu/libkleo.so.5
#17 0x00007fbea484ad46 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#18 0x00007fbea4853a21 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#19 0x00007fbea485f2c2 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#20 0x00007fbea485fd21 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#21 0x00007fbea4760de0 in KMKernel::recoverDeadLetters() () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5
#22 0x0000000000404233 in main ()

Possible duplicates by query: bug 350048, bug 348699, bug 347139, bug 347134, bug 347050.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 20:16:41 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:52:19 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.