Bug 419785

Summary: Kmail crashes when attachment is Saved
Product: [Applications] kmail2 Reporter: ttd
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash CC: kde+bug, kitt997
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description ttd 2020-04-07 10:20:45 UTC
Application: kmail (5.13.3 (19.12.3))

Qt Version: 5.14.1
Frameworks Version: 5.68.0
Operating System: Linux 5.5.11-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I was saving an attachment. Happens almost always, but sometimes it does not.
- Custom settings of the application:
No custom stuff

The crash can be reproduced sometimes.

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

Thread 17 (Thread 0x7f2fd672f700 (LWP 24286)):
#0  0x00007f304a412604 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f304a3c6821 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f304a3c722b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f304a3c741f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f304d4e5c0b in QEventDispatcherGlib::processEvents (this=0x7f2fc4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f304d48db9b in QEventLoop::exec (this=this@entry=0x7f2fd672eae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f304d2b85ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f304d2b9698 in QThreadPrivate::start (arg=0x55e36790a060) at thread/qthread_unix.cpp:342
#8  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f2fd7bff700 (LWP 24275)):
#0  0x00007f304aeae795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f30450f4aec in base::ConditionVariable::Wait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:75
#2  0x00007f30450f562b in base::WaitableEvent::TimedWaitUntil () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:235
#3  0x00007f30450f572f in base::WaitableEvent::Wait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:155
#4  0x00007f30450b2668 in base::internal::WorkerThread::Delegate::WaitForWork () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:33
#5  0x00007f30450b6c71 in base::internal::WorkerThread::RunWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:317
#6  0x00007f30450b6fc4 in base::internal::WorkerThread::RunSharedWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:235
#7  0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#8  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f2fea7fc700 (LWP 24261)):
#0  0x00007f304aeae795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f30450f4aec in base::ConditionVariable::Wait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:75
#2  0x00007f30450f562b in base::WaitableEvent::TimedWaitUntil () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:235
#3  0x00007f30450f572f in base::WaitableEvent::Wait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:155
#4  0x00007f30450b2668 in base::internal::WorkerThread::Delegate::WaitForWork () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:33
#5  0x00007f30450b6c71 in base::internal::WorkerThread::RunWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:317
#6  0x00007f30450b7004 in base::internal::WorkerThread::RunDedicatedWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:247
#7  0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#8  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f2feaffd700 (LWP 24260)):
#0  0x00007f304aeaeaaa in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f30450f4be6 in base::ConditionVariable::TimedWait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:127
#2  0x00007f30450f560b in base::WaitableEvent::TimedWaitUntil () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:233
#3  0x00007f30450f5771 in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:162
#4  0x00007f3045062738 in base::MessagePumpDefault::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_default.cc:57
#5  0x00007f30450a294f in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#6  0x00007f3045082829 in base::RunLoop::RunWithTimeout () at ./../../3rdparty/chromium/base/run_loop.cc:157
#7  0x00007f30450c0f73 in base::Thread::Run () at ./../../3rdparty/chromium/base/threading/thread.cc:242
#8  base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:312
#9  0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#10 0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#11 0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f2feb7fe700 (LWP 24259)):
#0  0x00007f304e99e9c7 in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f304e986b2e in buffered_vfprintf () from /lib64/libc.so.6
#2  0x00007f304e983a44 in __vfprintf_internal () from /lib64/libc.so.6
#3  0x00007f304ea265cf in __fprintf_chk () from /lib64/libc.so.6
#4  0x00007f3040cecf2e in event_logv_ () from /usr/lib64/libevent-2.1.so.7
#5  0x00007f3040cefb15 in event_warn () from /usr/lib64/libevent-2.1.so.7
#6  0x00007f3040cf1678 in ?? () from /usr/lib64/libevent-2.1.so.7
#7  0x00007f3040d02086 in event_base_loop () from /usr/lib64/libevent-2.1.so.7
#8  0x00007f30450fc7e6 in base::MessagePumpLibevent::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_libevent.cc:232
#9  0x00007f30450a294f in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#10 0x00007f3045082829 in base::RunLoop::RunWithTimeout () at ./../../3rdparty/chromium/base/run_loop.cc:157
#11 0x00007f30450c0f73 in base::Thread::Run () at ./../../3rdparty/chromium/base/threading/thread.cc:242
#12 base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:312
#13 0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#14 0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#15 0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f2febfff700 (LWP 24258)):
#0  0x00007f304aeaeaaa in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f30450f4be6 in base::ConditionVariable::TimedWait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:127
#2  0x00007f30450f560b in base::WaitableEvent::TimedWaitUntil () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:233
#3  0x00007f30450f5771 in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:162
#4  0x00007f3045062738 in base::MessagePumpDefault::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_default.cc:57
#5  0x00007f30450a294f in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#6  0x00007f3045082829 in base::RunLoop::RunWithTimeout () at ./../../3rdparty/chromium/base/run_loop.cc:157
#7  0x00007f30450c0f73 in base::Thread::Run () at ./../../3rdparty/chromium/base/threading/thread.cc:242
#8  base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:312
#9  0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#10 0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#11 0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f3008ff9700 (LWP 24257)):
#0  0x00007f304aeae795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f30450f4aec in base::ConditionVariable::Wait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:75
#2  0x00007f30450f562b in base::WaitableEvent::TimedWaitUntil () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:235
#3  0x00007f30450f572f in base::WaitableEvent::Wait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:155
#4  0x00007f3045062745 in base::MessagePumpDefault::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_default.cc:55
#5  0x00007f30450a294f in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#6  0x00007f3045082829 in base::RunLoop::RunWithTimeout () at ./../../3rdparty/chromium/base/run_loop.cc:157
#7  0x00007f30450c0f73 in base::Thread::Run () at ./../../3rdparty/chromium/base/threading/thread.cc:242
#8  base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:312
#9  0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#10 0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#11 0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f30097fa700 (LWP 24256)):
#0  0x00007f304aeae795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f30450f4aec in base::ConditionVariable::Wait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:75
#2  0x00007f3045b822d8 in cc::SingleThreadTaskGraphRunner::Run () at ./../../3rdparty/chromium/cc/raster/single_thread_task_graph_runner.cc:123
#3  0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#4  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#5  0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f300bfff700 (LWP 24251)):
#0  0x00007f304e99e9c7 in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f304e986b2e in buffered_vfprintf () from /lib64/libc.so.6
#2  0x00007f304e983a44 in __vfprintf_internal () from /lib64/libc.so.6
#3  0x00007f304ea265cf in __fprintf_chk () from /lib64/libc.so.6
#4  0x00007f3040cecf2e in event_logv_ () from /usr/lib64/libevent-2.1.so.7
#5  0x00007f3040cefb15 in event_warn () from /usr/lib64/libevent-2.1.so.7
#6  0x00007f3040cf1678 in ?? () from /usr/lib64/libevent-2.1.so.7
#7  0x00007f3040d02086 in event_base_loop () from /usr/lib64/libevent-2.1.so.7
#8  0x00007f30450fc7e6 in base::MessagePumpLibevent::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_libevent.cc:232
#9  0x00007f30450a294f in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#10 0x00007f3045082829 in base::RunLoop::RunWithTimeout () at ./../../3rdparty/chromium/base/run_loop.cc:157
#11 0x00007f3047de2884 in content::BrowserProcessSubThread::IOThreadRun () at ../../3rdparty/chromium/content/browser/browser_process_sub_thread.cc:158
#12 0x00007f30450c10b8 in base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:312
#13 0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#14 0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#15 0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f3020a4a700 (LWP 24250)):
#0  0x00007f304aeaeaaa in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f30450f4be6 in base::ConditionVariable::TimedWait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:127
#2  0x00007f30450f560b in base::WaitableEvent::TimedWaitUntil () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:233
#3  0x00007f30450f5771 in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:162
#4  0x00007f30450b2652 in base::internal::WorkerThread::Delegate::WaitForWork () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:35
#5  0x00007f30450b6c71 in base::internal::WorkerThread::RunWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:317
#6  0x00007f30450b6f84 in base::internal::WorkerThread::RunPooledWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:223
#7  0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#8  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f302124b700 (LWP 24249)):
#0  0x00007f304ea0959f in write () from /lib64/libc.so.6
#1  0x00007f304e99a3b5 in _IO_file_write@@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007f304e999746 in new_do_write () from /lib64/libc.so.6
#3  0x00007f304e99aabe in __GI__IO_file_xsputn () from /lib64/libc.so.6
#4  0x00007f304e986a11 in buffered_vfprintf () from /lib64/libc.so.6
#5  0x00007f304e983a44 in __vfprintf_internal () from /lib64/libc.so.6
#6  0x00007f304ea265cf in __fprintf_chk () from /lib64/libc.so.6
#7  0x00007f3040cecf2e in event_logv_ () from /usr/lib64/libevent-2.1.so.7
#8  0x00007f3040cefb15 in event_warn () from /usr/lib64/libevent-2.1.so.7
#9  0x00007f3040cf1678 in ?? () from /usr/lib64/libevent-2.1.so.7
#10 0x00007f3040d02086 in event_base_loop () from /usr/lib64/libevent-2.1.so.7
#11 0x00007f30450fc79a in base::MessagePumpLibevent::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_libevent.cc:242
#12 0x00007f30450a294f in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#13 0x00007f3045082829 in base::RunLoop::RunWithTimeout () at ./../../3rdparty/chromium/base/run_loop.cc:157
#14 0x00007f30450b22e4 in base::internal::ServiceThread::Run () at ./../../3rdparty/chromium/base/task/thread_pool/service_thread.cc:62
#15 0x00007f30450c10b8 in base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:312
#16 0x00007f30450f7995 in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#17 0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#18 0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f30237fe700 (LWP 24238)):
#0  0x00007f304ea0dacf in poll () from /lib64/libc.so.6
#1  0x00007f304a3c72fe in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f304a3c741f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f304d4e5c0b in QEventDispatcherGlib::processEvents (this=0x7f3014000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f304d48db9b in QEventLoop::exec (this=this@entry=0x7f30237fdae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f304d2b85ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f304d2b9698 in QThreadPrivate::start (arg=0x55e3676b93e0) at thread/qthread_unix.cpp:342
#7  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f3023fff700 (LWP 24228)):
#0  0x00007f304a3c3f99 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f304a3c5565 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f304a3c6c6f in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f304a3c72a2 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f304a3c741f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f304d4e5c0b in QEventDispatcherGlib::processEvents (this=0x7f301c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f304d48db9b in QEventLoop::exec (this=this@entry=0x7f3023ffeae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#7  0x00007f304d2b85ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#8  0x00007f304d2b9698 in QThreadPrivate::start (arg=0x55e36727dc20) at thread/qthread_unix.cpp:342
#9  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#10 0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f303087a700 (LWP 24227)):
#0  0x00007f304ea0dacf in poll () from /lib64/libc.so.6
#1  0x00007f304a3c72fe in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f304a3c741f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f304d4e5c0b in QEventDispatcherGlib::processEvents (this=0x7f3028000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f304d48db9b in QEventLoop::exec (this=this@entry=0x7f3030879ae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f304d2b85ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f304d2b9698 in QThreadPrivate::start (arg=0x55e36723dd10) at thread/qthread_unix.cpp:342
#7  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f303107b700 (LWP 24226)):
#0  0x00007f304ea0dacf in poll () from /lib64/libc.so.6
#1  0x00007f304a3c72fe in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f304a3c741f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f304d4e5c0b in QEventDispatcherGlib::processEvents (this=0x7f3024000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f304d48db9b in QEventLoop::exec (this=this@entry=0x7f303107aae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f304d2b85ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f304d2b9698 in QThreadPrivate::start (arg=0x55e3671f65d0) at thread/qthread_unix.cpp:342
#7  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f303228c700 (LWP 24225)):
#0  0x00007f304ea0dacf in poll () from /lib64/libc.so.6
#1  0x00007f304a3c72fe in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f304a3c741f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f304d4e5c0b in QEventDispatcherGlib::processEvents (this=0x7f302c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f304d48db9b in QEventLoop::exec (this=this@entry=0x7f303228bab0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f304d2b85ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f304ccad507 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f304d2b9698 in QThreadPrivate::start (arg=0x7f304cd2fda0) at thread/qthread_unix.cpp:342
#8  0x00007f304aea7efa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f304ea183bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f303c271000 (LWP 24222)):
[KCrash Handler]
#6  0x00007f304bdcdb2c in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:413
#7  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239
#8  QBasicAtomicInteger<int>::loadRelaxed (this=<optimized out>) at /usr/include/qt5/QtCore/qbasicatomic.h:107
#9  QtPrivate::RefCount::ref (this=<optimized out>) at /usr/include/qt5/QtCore/qrefcount.h:55
#10 QVector<KMime::Headers::Base*>::QVector (this=<optimized out>, v=..., this=<optimized out>, v=...) at /usr/include/qt5/QtCore/qvector.h:380
#11 0x00007f304bdd44be in QtPrivate::QForeachContainer<QVector<KMime::Headers::Base*> >::QForeachContainer (t=..., this=0x7ffeba7cf3b0) at /usr/include/qt5/QtCore/qglobal.h:1088
#12 QtPrivate::qMakeForeachContainer<QVector<KMime::Headers::Base*>&> (t=...) at /usr/include/qt5/QtCore/qglobal.h:1090
#13 KMime::Content::headerByType (this=<optimized out>, type=0x7f304bde30f3 "Content-Transfer-Encoding") at /usr/src/debug/kmime-19.12.3-1.1.x86_64/src/kmime_content.cpp:625
#14 0x00007f304bdd4b29 in KMime::Content::header<KMime::Headers::ContentTransferEncoding> (create=true, this=0x55e368d53b20) at /usr/src/debug/kmime-19.12.3-1.1.x86_64/src/kmime_content.h:693
#15 KMime::Content::contentTransferEncoding (this=0x55e368d53b20, create=<optimized out>) at /usr/src/debug/kmime-19.12.3-1.1.x86_64/src/kmime_content.cpp:879
#16 0x00007f304bddbfb7 in KMime::Content::decodedContent (this=this@entry=0x55e368d53b20) at /usr/src/debug/kmime-19.12.3-1.1.x86_64/src/kmime_content.cpp:328
#17 0x00007f304c59a62a in MessageViewer::Util::saveContent (url=..., content=0x55e368d53b20, parent=0x55e367238810) at /usr/src/debug/messagelib-19.12.3-1.1.x86_64/messageviewer/src/utils/messageviewerutil.cpp:436
#18 MessageViewer::Util::saveContents (parent=0x55e367238810, contents=..., urlList=...) at /usr/src/debug/messagelib-19.12.3-1.1.x86_64/messageviewer/src/utils/messageviewerutil.cpp:339
#19 0x00007f304c5c1c12 in MessageViewer::ViewerPrivate::slotHandleAttachment (this=0x55e3672f77c0, choice=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:292
#20 0x00007f304d4c39fe in QtPrivate::QSlotObjectBase::call (a=0x7ffeba7cf820, r=0x55e3672f77c0, this=0x55e368bf0980) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#21 doActivate<false> (sender=0x55e367602df0, signal_index=4, argv=0x7ffeba7cf820) at kernel/qobject.cpp:3870
#22 0x00007f304d4be1bf in QMetaObject::activate (sender=sender@entry=0x55e367602df0, m=m@entry=0x7f304e497340 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffeba7cf820) at kernel/qobject.cpp:3930
#23 0x00007f304df90ab2 in QAction::triggered (this=this@entry=0x55e367602df0, _t1=<optimized out>) at .moc/moc_qaction.cpp:381
#24 0x00007f304df930d8 in QAction::activate (this=0x55e367602df0, event=<optimized out>) at kernel/qaction.cpp:1161
#25 0x00007f304e118502 in QMenuPrivate::activateCausedStack (this=this@entry=0x55e368d2b040, causedStack=..., action=action@entry=0x55e367602df0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1353
#26 0x00007f304e11fb7a in QMenuPrivate::activateAction (this=this@entry=0x55e368d2b040, action=action@entry=0x55e367602df0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1430
#27 0x00007f304e120ba2 in QMenu::mouseReleaseEvent (this=0x7ffeba7d0870, e=0x7ffeba7cff00) at widgets/qmenu.cpp:2910
#28 0x00007f304dfd95be in QWidget::event (this=this@entry=0x7ffeba7d0870, event=event@entry=0x7ffeba7cff00) at kernel/qwidget.cpp:8675
#29 0x00007f304e123193 in QMenu::event (this=0x7ffeba7d0870, e=0x7ffeba7cff00) at widgets/qmenu.cpp:3032
#30 0x00007f304df96caf in QApplicationPrivate::notify_helper (this=this@entry=0x55e366ad0ea0, receiver=receiver@entry=0x7ffeba7d0870, e=e@entry=0x7ffeba7cff00) at kernel/qapplication.cpp:3684
#31 0x00007f304dfa0043 in QApplication::notify (this=<optimized out>, receiver=0x7ffeba7d0870, e=0x7ffeba7cff00) at kernel/qapplication.cpp:3128
#32 0x00007f304d48f002 in QCoreApplication::notifyInternal2 (receiver=0x7ffeba7d0870, event=0x7ffeba7cff00) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#33 0x00007f304df9f123 in QApplicationPrivate::sendMouseEvent (receiver=0x7ffeba7d0870, event=event@entry=0x7ffeba7cff00, alienWidget=0x0, nativeWidget=0x7ffeba7d0870, buttonDown=buttonDown@entry=0x7f304e4c69a0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#34 0x00007f304dff4f84 in QWidgetWindow::handleMouseEvent (this=0x55e368bf4950, event=0x7ffeba7d0380) at /usr/include/c++/9/bits/atomic_base.h:413
#35 0x00007f304dff7694 in QWidgetWindow::event (event=0x7ffeba7d0380, this=0x55e368bf4950) at kernel/qwidgetwindow.cpp:295
#36 QWidgetWindow::event (this=0x55e368bf4950, event=0x7ffeba7d0380) at kernel/qwidgetwindow.cpp:238
#37 0x00007f304df96caf in QApplicationPrivate::notify_helper (this=this@entry=0x55e366ad0ea0, receiver=receiver@entry=0x55e368bf4950, e=e@entry=0x7ffeba7d0380) at kernel/qapplication.cpp:3684
#38 0x00007f304df9fdf0 in QApplication::notify (this=0x7ffeba7d1d40, receiver=0x55e368bf4950, e=0x7ffeba7d0380) at kernel/qapplication.cpp:3430
#39 0x00007f304d48f002 in QCoreApplication::notifyInternal2 (receiver=0x55e368bf4950, event=0x7ffeba7d0380) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#40 0x00007f304d8a64d3 in QGuiApplicationPrivate::processMouseEvent (e=e@entry=0x55e368d72e50) at kernel/qguiapplication.cpp:2209
#41 0x00007f304d8a7b65 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55e368d72e50) at kernel/qguiapplication.cpp:1941
#42 0x00007f304d88153b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1163
#43 0x00007f303a3bda6a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#44 0x00007f304a3c7008 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f304a3c7390 in ?? () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f304a3c741f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f304d4e5bee in QEventDispatcherGlib::processEvents (this=0x55e366b97490, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007f304d48db9b in QEventLoop::exec (this=this@entry=0x7ffeba7d0720, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#49 0x00007f304e11d7dd in QMenu::exec (this=this@entry=0x7ffeba7d0870, p=..., action=action@entry=0x0) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#50 0x00007f304c589cc8 in MessageViewer::ViewerPrivate::showAttachmentPopup(KMime::Content*, QString const&, QPoint const&) [clone .constprop.0] (this=this@entry=0x55e3672f77c0, node=node@entry=0x55e368d53b20, globalPos=..., name=...) at /usr/src/debug/messagelib-19.12.3-1.1.x86_64/messageviewer/src/viewer/viewer_p.cpp:656
#51 0x00007f304c5ba351 in MessageViewer::AttachmentURLHandler::handleContextMenuRequest (this=<optimized out>, url=..., p=..., w=0x55e3672f77c0) at /usr/include/qt5/QtCore/qflags.h:118
#52 0x00007f304c5c3492 in MessageViewer::URLHandlerManager::handleContextMenuRequest (w=0x55e3672f77c0, p=..., url=..., this=<optimized out>) at /usr/src/debug/messagelib-19.12.3-1.1.x86_64/messageviewer/src/viewer/urlhandlermanager.cpp:357
#53 MessageViewer::ViewerPrivate::slotUrlPopup (this=0x55e3672f77c0, result=...) at /usr/src/debug/messagelib-19.12.3-1.1.x86_64/messageviewer/src/viewer/viewer_p.cpp:2137
#54 0x00007f304d4c39fe in QtPrivate::QSlotObjectBase::call (a=0x7ffeba7d0a90, r=0x55e3672f77c0, this=0x55e3675c6310) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#55 doActivate<false> (sender=0x55e3675da180, signal_index=21, argv=0x7ffeba7d0a90) at kernel/qobject.cpp:3870
#56 0x00007f304d4be1bf in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffeba7d0a90) at kernel/qobject.cpp:3930
#57 0x00007f304c611405 in MessageViewer::MailWebEngineView::popupMenu (this=<optimized out>, _t1=...) at /usr/src/debug/messagelib-19.12.3-1.1.x86_64/build/messageviewer/src/KF5MessageViewer_autogen/UEGXWF64LR/moc_mailwebengineview.cpp:284
#58 0x00007f304d4c39fe in QtPrivate::QSlotObjectBase::call (a=0x7ffeba7d0ba0, r=0x55e3675da180, this=0x55e367550c20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#59 doActivate<false> (sender=0x55e367560d20, signal_index=3, argv=0x7ffeba7d0ba0) at kernel/qobject.cpp:3870
#60 0x00007f304d4be1bf in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f304c22d8c0 <WebEngineViewer::WebHitTest::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffeba7d0ba0) at kernel/qobject.cpp:3930
#61 0x00007f304c212242 in WebEngineViewer::WebHitTest::finished (this=<optimized out>, _t1=...) at /usr/src/debug/messagelib-19.12.3-1.1.x86_64/build/webengineviewer/src/KF5WebEngineViewer_autogen/EWIEGA46WW/moc_webhittest.cpp:143
#62 0x00007f304c1fca0f in WebEngineViewer::WebHitTest::handleHitTest (this=0x55e367560d20, result=...) at /usr/src/debug/messagelib-19.12.3-1.1.x86_64/webengineviewer/src/webhittest.cpp:135
#63 0x00007f3049eef852 in QtWebEngineCore::CallbackDirectory::invokeInternal<QVariant const&> (result=..., callbackId=<optimized out>, this=<optimized out>) at ../core/api/qwebenginecallback_p.h:174
#64 QtWebEngineCore::CallbackDirectory::invoke (result=..., callbackId=140732027178032, this=<optimized out>) at ../core/api/qwebenginecallback_p.h:111
#65 QWebEnginePagePrivate::didRunJavaScript (this=this@entry=0x55e367119fe0, requestId=requestId@entry=8, result=...) at api/qwebenginepage.cpp:414
#66 0x00007f304326195a in QtWebEngineCore::callbackOnEvaluateJS (result=..., requestId=8, adapterClient=0x55e367119fe0) at /usr/src/debug/libqt5-qtwebengine-5.14.1-2.5.x86_64/src/core/web_contents_adapter.cpp:219
#67 QtWebEngineCore::callbackOnEvaluateJS (adapterClient=0x55e367119fe0, requestId=8, result=...) at /usr/src/debug/libqt5-qtwebengine-5.14.1-2.5.x86_64/src/core/web_contents_adapter.cpp:216
#68 0x00007f3043253eed in base::internal::FunctorTraits<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), void>::Invoke<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value> (function=<optimized out>) at ../../3rdparty/chromium/base/bind_internal.h:662
#69 base::internal::InvokeHelper<false, void>::MakeItSo<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value> (functor=<optimized out>) at ../../3rdparty/chromium/base/bind_internal.h:599
#70 base::internal::Invoker<base::internal::BindState<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), QtWebEngineCore::WebContentsAdapterClient*, unsigned long long>, void (base::Value)>::RunImpl<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), std::tuple<QtWebEngineCore::WebContentsAdapterClient*, unsigned long long>, 0ul, 1ul>(void (*&&)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), std::tuple<QtWebEngineCore::WebContentsAdapterClient*, unsigned long long>&&, std::integer_sequence<unsigned long, 0ul, 1ul>, base::Value&&) (functor=<optimized out>, unbound_args#0=..., bound=...) at ../../3rdparty/chromium/base/bind_internal.h:673
#71 base::internal::Invoker<base::internal::BindState<void (*)(QtWebEngineCore::WebContentsAdapterClient*, unsigned long long, base::Value), QtWebEngineCore::WebContentsAdapterClient*, unsigned long long>, void (base::Value)>::RunOnce(base::internal::BindStateBase*, base::Value&&) (base=0x55e367293d80, unbound_args#0=...) at ../../3rdparty/chromium/base/bind_internal.h:641
#72 0x00007f3043699550 in base::OnceCallback<void (base::Value)>::Run(base::Value) && () at ../../3rdparty/chromium/base/callback.h:98
#73 content::mojom::FrameNavigationControl_JavaScriptExecuteRequestInIsolatedWorld_ForwardToCallback::Accept () at ./gen/content/common/frame.mojom.cc:2631
#74 0x00007f30454d0a9f in mojo::InterfaceEndpointClient::HandleValidatedMessage () at ../../3rdparty/chromium/mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:549
#75 0x00007f30457fb421 in AcceptOnProxyThread () at ../../3rdparty/chromium/ipc/ipc_mojo_bootstrap.cc:918
#76 0x00007f30457fb488 in Invoke<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message> () at ../../3rdparty/chromium/base/bind_internal.h:499
#77 MakeItSo<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message> () at ../../3rdparty/chromium/base/bind_internal.h:599
#78 RunImpl<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), std::tuple<scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message>, 0, 1> () at ../../3rdparty/chromium/base/bind_internal.h:673
#79 RunOnce () at ../../3rdparty/chromium/base/bind_internal.h:641
#80 0x00007f304509307e in base::OnceCallback<void ()>::Run() && () at ../../3rdparty/chromium/base/callback.h:98
#81 base::TaskAnnotator::RunTask () at ./../../3rdparty/chromium/base/task/common/task_annotator.cc:142
#82 0x00007f30450a3ce9 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:365
#83 0x00007f30450a457b in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:265
#84 0x00007f30432dae11 in QtWebEngineCore::MessagePumpForUIQt::handleScheduledWork (this=0x55e367551830) at /usr/src/debug/libqt5-qtwebengine-5.14.1-2.5.x86_64/src/core/browser_main_parts_qt.cpp:204
#85 QtWebEngineCore::MessagePumpForUIQt::MessagePumpForUIQt()::{lambda()#1}::operator()() const (__closure=<optimized out>) at /usr/src/debug/libqt5-qtwebengine-5.14.1-2.5.x86_64/src/core/browser_main_parts_qt.cpp:117
#86 std::_Function_handler<void (), QtWebEngineCore::MessagePumpForUIQt::MessagePumpForUIQt()::{lambda()#1}>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/9/bits/std_function.h:300
#87 0x00007f304d4bb935 in QObject::event (this=0x55e367551840, e=0x7f2fdc137c90) at kernel/qobject.cpp:1361
#88 0x00007f304df96caf in QApplicationPrivate::notify_helper (this=this@entry=0x55e366ad0ea0, receiver=receiver@entry=0x55e367551840, e=e@entry=0x7f2fdc137c90) at kernel/qapplication.cpp:3684
#89 0x00007f304df9fdf0 in QApplication::notify (this=0x7ffeba7d1d40, receiver=0x55e367551840, e=0x7f2fdc137c90) at kernel/qapplication.cpp:3430
#90 0x00007f304d48f002 in QCoreApplication::notifyInternal2 (receiver=0x55e367551840, event=0x7f2fdc137c90) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#91 0x00007f304d491794 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55e366a64480) at kernel/qcoreapplication.cpp:1832
#92 0x00007f304d4e6573 in postEventSourceDispatch (s=0x55e366b97580) at kernel/qeventdispatcher_glib.cpp:277
#93 0x00007f304a3c7008 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#94 0x00007f304a3c7390 in ?? () from /usr/lib64/libglib-2.0.so.0
#95 0x00007f304a3c741f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#96 0x00007f304d4e5bee in QEventDispatcherGlib::processEvents (this=0x55e366b97490, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#97 0x00007f304d48db9b in QEventLoop::exec (this=this@entry=0x7ffeba7d1820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#98 0x00007f304d495972 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#99 0x000055e365d97386 in main (argc=<optimized out>, argv=<optimized out>) at /usr/include/qt5/QtCore/qcoreapplication.h:116
[Inferior 1 (process 24222) detached]

Possible duplicates by query: bug 418784, bug 417542, bug 415576, bug 414588, bug 414147.

Reported using DrKonqi
Comment 1 David 2021-01-21 18:18:09 UTC
Created attachment 135036 [details]
New crash information added by DrKonqi

kmail (5.15.3 (20.08.3)) using Qt 5.15.2

- What I was doing when the application crashed:

Also choosing "save as" crashes kmail imediately.

-- Backtrace (Reduced):
#4  0x00007fa595c26f12 in KMime::Content::headerByType(char const*) const () from /lib64/libKF5Mime.so.5
#5  0x00007fa595c293bd in KMime::Content::contentDisposition(bool) () from /lib64/libKF5Mime.so.5
#6  0x00007fa5961b4e13 in MimeTreeParser::NodeHelper::fileName(KMime::Content const*) () from /lib64/libKF5MimeTreeParser.so.5
#7  0x00007fa59666707f in MessageViewer::Util::saveContents(QWidget*, QVector<KMime::Content*> const&, QList<QUrl>&) () from /lib64/libKF5MessageViewer.so.5
#8  0x00007fa59662dc4d in MessageViewer::ViewerPrivate::openAttachment(KMime::Content*, QUrl const&) () from /lib64/libKF5MessageViewer.so.5