Bug 425842

Summary: kpimtextedit crash in KMail
Product: [Applications] kontact Reporter: Thiago Sueto <herzenschein>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thiago Sueto 2020-08-26 19:29:59 UTC
Application: kontact (5.15.40 (20.11.80))

Qt Version: 5.15.0
Frameworks Version: 5.74.0
Operating System: Linux 5.8.0-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Kontact ran like normal.
In KMail, I pressed A to Reply to All and Kontact crashed.
Subsequent attempts to initiate Kontact crash immediately.
If I revert to a previous package version and then back, I can open it again, select Reply to All and the crash is reproducible.
Downgrading kpimtextedit and related packages seems to workaround the issue, so I believe this is the culprit.

- Custom settings of the application:
I have a simple template for Reply to All, I'll test it with default R to Reply when I have more time.
I am running Kontact from the master branch in openSUSE Krypton. With a simple command I may revert all Kontact-related packages back to openSUSE Tumbleweed.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[New LWP 30819]
[New LWP 30820]
[New LWP 30821]
[New LWP 30822]
[New LWP 30823]
[New LWP 30824]
[New LWP 30831]
[New LWP 30832]
[New LWP 30833]
[New LWP 30834]
[New LWP 30835]
[New LWP 30837]
[New LWP 30838]
[New LWP 30839]
[New LWP 30840]
[New LWP 30841]
[New LWP 30843]
[New LWP 30861]
[New LWP 30862]
[New LWP 30863]
[New LWP 30866]
[New LWP 30867]
[New LWP 30868]
[New LWP 30869]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f2340804fcf in poll () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f2330387000 (LWP 30818))]

Thread 25 (Thread 0x7f22c5c0e700 (LWP 30869)):
#0  0x00007f2338b4db08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2340b94664 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x559c58055990) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x559c58055990) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x559c580436b0, mutex=mutex@entry=0x559c580372d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f2340b929b1 in QThreadPoolThread::run (this=0x559c580436a0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#5  0x00007f2340b8e871 in QThreadPrivate::start (arg=0x559c580436a0) at thread/qthread_unix.cpp:342
#6  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#7  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 24 (Thread 0x7f22c640f700 (LWP 30868)):
#0  0x00007f2338b4db08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2340b94664 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x559c58055530) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x559c58055530) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x559c58054000, mutex=mutex@entry=0x559c580372d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f2340b929b1 in QThreadPoolThread::run (this=0x559c58053ff0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#5  0x00007f2340b8e871 in QThreadPrivate::start (arg=0x559c58053ff0) at thread/qthread_unix.cpp:342
#6  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#7  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 23 (Thread 0x7f22c6c10700 (LWP 30867)):
#0  0x00007f2338b4db08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2340b94664 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x559c58055190) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x559c58055190) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x559c580531d0, mutex=mutex@entry=0x559c580372d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f2340b929b1 in QThreadPoolThread::run (this=0x559c580531c0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#5  0x00007f2340b8e871 in QThreadPrivate::start (arg=0x559c580531c0) at thread/qthread_unix.cpp:342
#6  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#7  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 22 (Thread 0x7f22c7411700 (LWP 30866)):
#0  0x00007f2338b4db08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2340b94664 in QWaitConditionPrivate::wait_relative (deadline=..., this=0x559c58053530) at thread/qwaitcondition_unix.cpp:136
#2  QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x559c58053530) at thread/qwaitcondition_unix.cpp:144
#3  QWaitCondition::wait (this=this@entry=0x559c5805a430, mutex=mutex@entry=0x559c580372d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f2340b929b1 in QThreadPoolThread::run (this=0x559c5805a420) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#5  0x00007f2340b8e871 in QThreadPrivate::start (arg=0x559c5805a420) at thread/qthread_unix.cpp:342
#6  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#7  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7f22c7fff700 (LWP 30863)):
#0  0x00007f2337fc54d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f2337fc56ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2340dc407b in QEventDispatcherGlib::processEvents (this=0x7f22bc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x00007f2340d6b5db in QEventLoop::exec (this=this@entry=0x7f22c7ffe5a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#4  0x00007f2340b8d73e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#5  0x00007f2340b8e871 in QThreadPrivate::start (arg=0x559c57ef47a0) at thread/qthread_unix.cpp:342
#6  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#7  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7f22ecaa7700 (LWP 30862)):
#0  0x00007f2338012e69 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f2337fc4ff6 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2337fc5575 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2337fc56ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2340dc407b in QEventDispatcherGlib::processEvents (this=0x7f22c0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f2340d6b5db in QEventLoop::exec (this=this@entry=0x7f22ecaa65a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f2340b8d73e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f2340b8e871 in QThreadPrivate::start (arg=0x559c57efc090) at thread/qthread_unix.cpp:342
#8  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7f22ed2f7700 (LWP 30861)):
#0  0x00007f2340804fcf in poll () from /lib64/libc.so.6
#1  0x00007f2337fc55ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2337fc56ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2340dc407b in QEventDispatcherGlib::processEvents (this=0x7f22cc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2340d6b5db in QEventLoop::exec (this=this@entry=0x7f22ed2f65a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2340b8d73e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2340b8e871 in QThreadPrivate::start (arg=0x559c57f2cf90) at thread/qthread_unix.cpp:342
#7  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f22ef7fe700 (LWP 30843)):
#0  0x00007f2340800acf in write () from /lib64/libc.so.6
#1  0x00007f2340791775 in _IO_file_write@@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007f2340790ae6 in new_do_write () from /lib64/libc.so.6
#3  0x00007f2340791e6e in __GI__IO_file_xsputn () from /lib64/libc.so.6
#4  0x00007f234077ddbf in buffered_vfprintf () from /lib64/libc.so.6
#5  0x00007f234077adf4 in __vfprintf_internal () from /lib64/libc.so.6
#6  0x00007f234081dc9f in __fprintf_chk () from /lib64/libc.so.6
#7  0x00007f2336d33d16 in event_logv_ () from /usr/lib64/libevent-2.1.so.7
#8  0x00007f2336d33ee5 in event_warn () from /usr/lib64/libevent-2.1.so.7
#9  0x00007f2336d38d0c in ?? () from /usr/lib64/libevent-2.1.so.7
#10 0x00007f2336d2fffe in event_base_loop () from /usr/lib64/libevent-2.1.so.7
#11 0x00007f233b7b6cdc in base::MessagePumpLibevent::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_libevent.cc:213
#12 0x00007f233b757128 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#13 0x00007f233b731e52 in base::RunLoop::Run () at ./../../3rdparty/chromium/base/run_loop.cc:156
#14 0x00007f233b771db3 in base::Thread::Run () at ./../../3rdparty/chromium/base/threading/thread.cc:305
#15 base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:376
#16 0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#17 0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#18 0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f22effff700 (LWP 30841)):
#0  0x00007f2338b4d7e2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f233b7a950c in base::ConditionVariable::Wait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:75
#2  0x00007f233b7aa083 in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:211
#3  0x00007f233b7aa24f in base::WaitableEvent::Wait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:157
#4  0x00007f233b765ca8 in base::internal::WorkerThread::Delegate::WaitForWork () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:33
#5  0x00007f233b76a31c in base::internal::WorkerThread::RunWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:316
#6  0x00007f233b76a864 in base::internal::WorkerThread::RunDedicatedWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:247
#7  0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#8  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#9  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f22f4ff9700 (LWP 30840)):
#0  0x00007f2338b4d7e2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f233b7a950c in base::ConditionVariable::Wait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:75
#2  0x00007f233b7aa083 in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:211
#3  0x00007f233b7aa24f in base::WaitableEvent::Wait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:157
#4  0x00007f233b710c45 in base::MessagePumpDefault::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_default.cc:55
#5  0x00007f233b757128 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#6  0x00007f233b731e52 in base::RunLoop::Run () at ./../../3rdparty/chromium/base/run_loop.cc:156
#7  0x00007f233b771db3 in base::Thread::Run () at ./../../3rdparty/chromium/base/threading/thread.cc:305
#8  base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:376
#9  0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#10 0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#11 0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f22f57fa700 (LWP 30839)):
#0  0x00007f2338b4d7e2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f233b7a950c in base::ConditionVariable::Wait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:75
#2  0x00007f233bfbe1a8 in non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() () from /usr/lib64/libQt5WebEngineCore.so.5
#3  0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#4  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#5  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f22f5ffb700 (LWP 30838)):
#0  0x00007f2338b4db08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f233b7a960a in base::ConditionVariable::TimedWait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:127
#2  0x00007f233b7aa04f in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:213
#3  0x00007f233b765c92 in base::internal::WorkerThread::Delegate::WaitForWork () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:35
#4  0x00007f233b76a1c1 in base::internal::WorkerThread::RunWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:297
#5  0x00007f233b76a7e4 in base::internal::WorkerThread::RunPooledWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:223
#6  0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#7  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f22f67fc700 (LWP 30837)):
#0  0x00007f2338b4db08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f233b7a960a in base::ConditionVariable::TimedWait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:127
#2  0x00007f233b7aa04f in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:213
#3  0x00007f233b765c92 in base::internal::WorkerThread::Delegate::WaitForWork () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:35
#4  0x00007f233b76a31c in base::internal::WorkerThread::RunWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:316
#5  0x00007f233b76a7e4 in base::internal::WorkerThread::RunPooledWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:223
#6  0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#7  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f22f77fe700 (LWP 30835)):
#0  0x00007f2338b4db08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f233b7a960a in base::ConditionVariable::TimedWait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:127
#2  0x00007f233b7aa04f in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:213
#3  0x00007f233b765c92 in base::internal::WorkerThread::Delegate::WaitForWork () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:35
#4  0x00007f233b76a31c in base::internal::WorkerThread::RunWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:316
#5  0x00007f233b76a7e4 in base::internal::WorkerThread::RunPooledWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:223
#6  0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#7  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f22f7fff700 (LWP 30834)):
#0  0x00007f2338b4db08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f233b7a960a in base::ConditionVariable::TimedWait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:127
#2  0x00007f233b7aa04f in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:213
#3  0x00007f233b765c92 in base::internal::WorkerThread::Delegate::WaitForWork () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:35
#4  0x00007f233b76a31c in base::internal::WorkerThread::RunWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:316
#5  0x00007f233b76a7e4 in base::internal::WorkerThread::RunPooledWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:223
#6  0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#7  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f231cfc9700 (LWP 30833)):
#0  0x00007f2340795e37 in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f234077dede in buffered_vfprintf () from /lib64/libc.so.6
#2  0x00007f234077adf4 in __vfprintf_internal () from /lib64/libc.so.6
#3  0x00007f234081dc9f in __fprintf_chk () from /lib64/libc.so.6
#4  0x00007f2336d33d16 in event_logv_ () from /usr/lib64/libevent-2.1.so.7
#5  0x00007f2336d33ee5 in event_warn () from /usr/lib64/libevent-2.1.so.7
#6  0x00007f2336d38d0c in ?? () from /usr/lib64/libevent-2.1.so.7
#7  0x00007f2336d2fffe in event_base_loop () from /usr/lib64/libevent-2.1.so.7
#8  0x00007f233b7b6cdc in base::MessagePumpLibevent::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_libevent.cc:213
#9  0x00007f233b757128 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#10 0x00007f233b731e52 in base::RunLoop::Run () at ./../../3rdparty/chromium/base/run_loop.cc:156
#11 0x00007f233dc52854 in content::BrowserProcessSubThread::IOThreadRun () at ../../3rdparty/chromium/content/browser/browser_process_sub_thread.cc:134
#12 0x00007f233b771f58 in base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:376
#13 0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#14 0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#15 0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f231d7ca700 (LWP 30832)):
#0  0x00007f2338b4db08 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f233b7a960a in base::ConditionVariable::TimedWait () at ./../../3rdparty/chromium/base/synchronization/condition_variable_posix.cc:127
#2  0x00007f233b7aa04f in base::WaitableEvent::TimedWait () at ./../../3rdparty/chromium/base/synchronization/waitable_event_posix.cc:213
#3  0x00007f233b765c92 in base::internal::WorkerThread::Delegate::WaitForWork () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:35
#4  0x00007f233b76a31c in base::internal::WorkerThread::RunWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:316
#5  0x00007f233b76a7e4 in base::internal::WorkerThread::RunPooledWorker () at ./../../3rdparty/chromium/base/task/thread_pool/worker_thread.cc:223
#6  0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#7  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#8  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f231dfcb700 (LWP 30831)):
#0  0x00007f2340795e37 in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f234077dede in buffered_vfprintf () from /lib64/libc.so.6
#2  0x00007f234077adf4 in __vfprintf_internal () from /lib64/libc.so.6
#3  0x00007f234081dc9f in __fprintf_chk () from /lib64/libc.so.6
#4  0x00007f2336d33d16 in event_logv_ () from /usr/lib64/libevent-2.1.so.7
#5  0x00007f2336d33ee5 in event_warn () from /usr/lib64/libevent-2.1.so.7
#6  0x00007f2336d38d0c in ?? () from /usr/lib64/libevent-2.1.so.7
#7  0x00007f2336d2fffe in event_base_loop () from /usr/lib64/libevent-2.1.so.7
#8  0x00007f233b7b6cdc in base::MessagePumpLibevent::Run () at ./../../3rdparty/chromium/base/message_loop/message_pump_libevent.cc:213
#9  0x00007f233b757128 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ./../../3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:463
#10 0x00007f233b731e52 in base::RunLoop::Run () at ./../../3rdparty/chromium/base/run_loop.cc:156
#11 0x00007f233b765a44 in base::internal::ServiceThread::Run () at ./../../3rdparty/chromium/base/task/thread_pool/service_thread.cc:61
#12 0x00007f233b771f58 in base::Thread::ThreadMain () at ./../../3rdparty/chromium/base/threading/thread.cc:376
#13 0x00007f233b7ae72a in ThreadFunc () at ./../../3rdparty/chromium/base/threading/platform_thread_posix.cc:81
#14 0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#15 0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f2324ef6700 (LWP 30824)):
#0  0x00007f2340800a2c in read () from /lib64/libc.so.6
#1  0x00007f233800e14f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2337fc511e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2337fc5575 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2337fc56ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f2340dc407b in QEventDispatcherGlib::processEvents (this=0x7f2308000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f2340d6b5db in QEventLoop::exec (this=this@entry=0x7f2324ef5550, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f2340b8d73e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f2341e52a17 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f2340b8e871 in QThreadPrivate::start (arg=0x7f2341ebfd80) at thread/qthread_unix.cpp:342
#10 0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#11 0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f23267fc700 (LWP 30823)):
#0  0x00007f2338b4d7e2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f232cb7175b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f232cb70ac7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f2326ffd700 (LWP 30822)):
#0  0x00007f2338b4d7e2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f232cb7175b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f232cb70ac7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f23277fe700 (LWP 30821)):
#0  0x00007f2338b4d7e2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f232cb7175b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f232cb70ac7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2327fff700 (LWP 30820)):
#0  0x00007f2338b4d7e2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f232cb7175b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f232cb70ac7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#4  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f232e331700 (LWP 30819)):
#0  0x00007f2340804fcf in poll () from /lib64/libc.so.6
#1  0x00007f2338b73862 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f2338b7526c in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f232e499f50 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f2340b8e871 in QThreadPrivate::start (arg=0x559c57808960) at thread/qthread_unix.cpp:342
#5  0x00007f2338b46eaa in start_thread () from /lib64/libpthread.so.0
#6  0x00007f234080faff in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2330387000 (LWP 30818)):
[KCrash Handler]
#4  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x3e786564) at /usr/include/c++/10/bits/atomic_base.h:420
#5  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed (this=0x3e786564) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#7  QtPrivate::RefCount::ref (this=0x3e786564) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:55
#8  QString::QString (other=..., this=0x7ffd05cae9c0) at ../../include/QtCore/../../src/corelib/text/qstring.h:1089
#9  v_construct_helper<QString> (t=..., x=0x7ffd05cae9c0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:128
#10 v_construct<QString> (t=..., x=0x7ffd05cae9c0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:157
#11 QVariant::QVariant (this=0x7ffd05cae9c0, val=...) at kernel/qvariant.cpp:2179
#12 0x00007f2341b6574a in QListWidgetItem::QListWidgetItem (this=this@entry=0x559c58864910, text=..., listview=<optimized out>, type=type@entry=0) at itemviews/qlistwidget.cpp:664
#13 0x00007f233739f267 in KPIMTextEdit::EmoticonTextEditItem::EmoticonTextEditItem (this=<optimized out>, emoticonText=..., parent=<optimized out>, this=<optimized out>, emoticonText=..., parent=<optimized out>) at /usr/src/debug/kpimtextedit-20.11.70git.20200823T182719~dbe9a00-ku.11.1.x86_64/src/emoticon/emoticonlistwidgetselector.cpp:12
#14 0x00007f233739f6b4 in KPIMTextEdit::EmoticonListWidgetSelector::setEmoticons (this=this@entry=0x559c5885c770, lst=...) at /usr/src/debug/kpimtextedit-20.11.70git.20200823T182719~dbe9a00-ku.11.1.x86_64/src/emoticon/emoticonlistwidgetselector.cpp:62
#15 0x00007f233739f828 in KPIMTextEdit::EmoticonUnicodeTab::createPlainTextEmoticonTab (emoticons=..., str=..., this=0x559c5885b0c0) at /usr/src/debug/kpimtextedit-20.11.70git.20200823T182719~dbe9a00-ku.11.1.x86_64/src/emoticon/emoticonunicodetab.cpp:76
#16 KPIMTextEdit::EmoticonUnicodeTab::createPlainTextEmoticonTab (this=this@entry=0x559c5885b0c0, str=..., emoticons=...) at /usr/src/debug/kpimtextedit-20.11.70git.20200823T182719~dbe9a00-ku.11.1.x86_64/src/emoticon/emoticonunicodetab.cpp:66
#17 0x00007f23373aa40a in KPIMTextEdit::EmoticonUnicodeTab::loadEmoticons (this=this@entry=0x559c5885b0c0) at /usr/include/KF5/KI18n/klocalizedstring.h:1347
#18 0x00007f23373ab2b2 in KPIMTextEdit::EmoticonUnicodeTab::EmoticonUnicodeTab (this=<optimized out>, parent=<optimized out>, this=<optimized out>, parent=<optimized out>) at /usr/src/debug/kpimtextedit-20.11.70git.20200823T182719~dbe9a00-ku.11.1.x86_64/src/emoticon/emoticonunicodetab.cpp:18
#19 0x00007f233740c273 in KPIMTextEdit::EmoticonTextEditSelector::EmoticonTextEditSelector (parent=<optimized out>, this=0x559c5885ae00) at /usr/src/debug/kpimtextedit-20.11.70git.20200823T182719~dbe9a00-ku.11.1.x86_64/src/emoticon/emoticontexteditselector.cpp:22
#20 KPIMTextEdit::EmoticonTextEditAction::EmoticonTextEditActionPrivate::EmoticonTextEditActionPrivate (this=0x559c5885a520) at /usr/src/debug/kpimtextedit-20.11.70git.20200823T182719~dbe9a00-ku.11.1.x86_64/src/emoticon/emoticontexteditaction.cpp:24
#21 KPIMTextEdit::EmoticonTextEditAction::EmoticonTextEditAction (parent=0x559c586a5d50, this=0x559c5877c660) at /usr/src/debug/kpimtextedit-20.11.70git.20200823T182719~dbe9a00-ku.11.1.x86_64/src/emoticon/emoticontexteditaction.cpp:42
#22 KPIMTextEdit::RichTextComposerActions::createActions (this=0x559c586a5d50, ac=0x559c5809d380) at /usr/src/debug/kpimtextedit-20.11.70git.20200823T182719~dbe9a00-ku.11.1.x86_64/src/composer-ng/richtextcomposeractions.cpp:402
#23 0x00007f22ee3385cd in KMComposerWin::setupActions (this=0x559c57f1ec10) at /usr/src/debug/kmail-20.11.70git.20200824T132433~34e445838-ku.18.1.x86_64/src/editor/kmcomposerwin.cpp:1366
#24 0x00007f22ee3312bf in KMComposerWin::KMComposerWin (this=<optimized out>, aMsg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, context=<optimized out>, id=<optimized out>, textSelection=..., customTemplate=..., this=<optimized out>, aMsg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, context=<optimized out>, id=<optimized out>, textSelection=..., customTemplate=...) at /usr/src/debug/kmail-20.11.70git.20200824T132433~34e445838-ku.18.1.x86_64/src/editor/kmcomposerwin.cpp:434
#25 0x00007f22ee3321b1 in KMComposerWin::create (customTemplate=..., textSelection=..., identity=0, context=KMail::Composer::NoTemplate, lastEncryptState=<optimized out>, lastSignState=false, msg=...) at /usr/src/debug/kmail-20.11.70git.20200824T132433~34e445838-ku.18.1.x86_64/src/editor/kmcomposerwin.cpp:205
#26 KMail::makeComposer (msg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, context=KMail::Composer::NoTemplate, identity=0, textSelection=..., customTemplate=...) at /usr/src/debug/kmail-20.11.70git.20200824T132433~34e445838-ku.18.1.x86_64/src/editor/kmcomposerwin.cpp:200
#27 0x00007f22ee26bf4f in KMKernel::recoverDeadLetters (this=this@entry=0x559c57f3bfd0) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:308
#28 0x00007f2324006138 in KMailPart::KMailPart (parent=0x559c578bba10, parentWidget=0x7ffd05cafff0, this=0x559c57ec5710, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kmail-20.11.70git.20200824T132433~34e445838-ku.18.1.x86_64/src/kmail_part.cpp:58
#29 KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x7ffd05cafff0, parent=0x559c578bba10, args=...) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:526
#30 0x00007f2341f043f2 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib64/libKF5CoreAddons.so.5
#31 0x00007f2342106e59 in KontactInterface::Core::createPart(char const*) () from /usr/lib64/libKF5KontactInterface.so.5
#32 0x00007f22ee47be86 in KMailPlugin::createPart (this=0x559c57ea59c0) at /usr/src/debug/kmail-20.11.70git.20200824T132433~34e445838-ku.18.1.x86_64/src/kontactplugin/kmail/kmail_plugin.cpp:164
#33 0x00007f2342107ce4 in KontactInterface::Plugin::part() () from /usr/lib64/libKF5KontactInterface.so.5
#34 0x00007f234213229b in Kontact::MainWindow::selectPlugin (this=0x559c578bba10, plugin=0x559c57ea59c0) at /usr/src/debug/kontact-20.11.70git.20200823T170336~67f12d58-ku.12.1.x86_64/src/mainwindow.cpp:593
#35 0x00007f2342132efc in Kontact::MainWindow::loadSettings (this=this@entry=0x559c578bba10) at /usr/src/debug/kontact-20.11.70git.20200823T170336~67f12d58-ku.12.1.x86_64/src/mainwindow.cpp:729
#36 0x00007f2342137105 in Kontact::MainWindow::initObject (this=0x559c578bba10) at /usr/src/debug/kontact-20.11.70git.20200823T170336~67f12d58-ku.12.1.x86_64/src/mainwindow.cpp:163
#37 0x00007f2342137c67 in Kontact::MainWindow::MainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kontact-20.11.70git.20200823T170336~67f12d58-ku.12.1.x86_64/src/mainwindow.cpp:90
#38 0x0000559c55de70a5 in KontactApp::activate (this=0x7ffd05cb06d0, args=..., workingDir=...) at /usr/src/debug/kontact-20.11.70git.20200823T170336~67f12d58-ku.12.1.x86_64/src/main.cpp:121
#39 0x00007f2342108ee3 in KontactInterface::PimUniqueApplication::start(QStringList const&) () from /usr/lib64/libKF5KontactInterface.so.5
#40 0x0000559c55de5fa8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kontact-20.11.70git.20200823T170336~67f12d58-ku.12.1.x86_64/src/main.cpp:201
[Inferior 1 (process 30818) detached]

Possible duplicates by query: bug 425340, bug 425205, bug 424742, bug 423579, bug 422092.

Reported using DrKonqi
Comment 1 Laurent Montel 2020-08-27 04:56:13 UTC
Git commit cb381de91a9bbc676b180ce4a33c7211ea176a25 by Laurent Montel.
Committed on 27/08/2020 at 04:55.
Pushed by mlaurent into branch 'release/20.08'.

[kontact] [Bug 425842] New: kpimtextedit crash in KMail

M  +1    -1    src/emoticon/emoticonlistwidgetselector.cpp

https://invent.kde.org/pim/kpimtextedit/commit/cb381de91a9bbc676b180ce4a33c7211ea176a25