Bug 430186

Summary: Crash in QGpgMEKeyForMailboxJob destructor
Product: [Applications] kontact Reporter: Christopher Yeleighton <giecrilj>
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash CC: giecrilj
Priority: NOR Keywords: drkonqi
Version: 5.15.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description Christopher Yeleighton 2020-12-09 14:46:11 UTC
Application: kontact (5.15.3 (20.08.3))

Qt Version: 5.15.2
Frameworks Version: 5.76.0
Operating System: Linux 5.9.12-1-default x86_64
Windowing system: X11
Distribution: openSUSE Tumbleweed

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

I was waiting for the message reply window to appear in Kontact.

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

[KCrash Handler]
#4  QMapNodeBase::color (this=0x0) at tools/qmap.h:93
#5  QMapDataBase::freeNodeAndRebalance (this=0x55e6255a79b0, z=0x55e6255a82b0) at tools/qmap.cpp:234
#6  0x00007ff319d102b4 in QMapData<QGpgME::Job*, GpgME::Context*>::deleteNode (z=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:277
#7  QMap<QGpgME::Job*, GpgME::Context*>::remove(QGpgME::Job* const&) [clone .constprop.0] [clone .isra.0] (akey=@0x7ffee4f21e30: 0x55e6255a7f70, this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:912
#8  0x00007ff319d07ed8 in QGpgME::_detail::ThreadedJobMixin<QGpgME::KeyForMailboxJob, std::tuple<GpgME::KeyListResult, GpgME::Key, GpgME::UserID, QString, GpgME::Error> >::~ThreadedJobMixin (this=<optimized out>, this=<optimized out>) at threadedjobmixin.h:166
#9  QGpgME::QGpgMEKeyForMailboxJob::~QGpgMEKeyForMailboxJob (this=<optimized out>, this=<optimized out>) at qgpgmekeyformailboxjob.cpp:54
#10 0x00007ff319d07fd9 in QGpgME::QGpgMEKeyForMailboxJob::~QGpgMEKeyForMailboxJob (this=<optimized out>, this=<optimized out>) at qgpgmekeyformailboxjob.cpp:54
#11 0x00007ff3774af06f in QObject::event (this=0x55e6255a7f70, e=0x7ff2e8419c30) at kernel/qobject.cpp:1301
#12 0x00007ff37803350f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e6255a7f70, e=0x7ff2e8419c30) at kernel/qapplication.cpp:3632
#13 0x00007ff37748328a in QCoreApplication::notifyInternal2 (receiver=0x55e6255a7f70, event=0x7ff2e8419c30) at kernel/qcoreapplication.cpp:1063
#14 0x00007ff377485cc1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55e61fd805d0) at kernel/qcoreapplication.cpp:1817
#15 0x00007ff3774db153 in postEventSourceDispatch (s=0x55e61fe953d0) at kernel/qeventdispatcher_glib.cpp:277
#16 0x00007ff36e33dcf7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#17 0x00007ff36e33e078 in ?? () from /usr/lib64/libglib-2.0.so.0
#18 0x00007ff36e33e12f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#19 0x00007ff3774da7df in QEventDispatcherGlib::processEvents (this=0x55e61fe96990, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#20 0x00007ff377481c4b in QEventLoop::exec (this=this@entry=0x7ffee4f22210, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#21 0x00007ff377489ec0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#22 0x000055e61e352fc7 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kontact-20.08.3-1.1.x86_64/src/main.cpp:230
[Inferior 1 (process 1359) detached]

Possible duplicates by query: bug 429973, bug 429761, bug 429420, bug 429243, bug 428714.

Reported using DrKonqi
Comment 1 Christopher Yeleighton 2022-04-06 11:18:49 UTC
Created attachment 148000 [details]
New crash information added by DrKonqi

kontact (5.19.3 (21.12.3)) using Qt 5.15.2

- What I was doing when the application crashed:

I was replying to an e-mail.  I may have switched the digital signature off.

-- Backtrace (Reduced):
#6  QMapNodeBase::color (this=0x0) at tools/qmap.h:93
#7  QMapDataBase::freeNodeAndRebalance (this=0x55af12006930, z=0x55af16a50c50) at tools/qmap.cpp:234
#8  0x00007f0e20123414 in QMapData<QGpgME::Job*, GpgME::Context*>::deleteNode (z=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:281
#10 0x00007f0e2011d098 in QGpgME::_detail::ThreadedJobMixin<QGpgME::KeyForMailboxJob, std::tuple<GpgME::KeyListResult, GpgME::Key, GpgME::UserID, QString, GpgME::Error> >::~ThreadedJobMixin (this=<optimized out>, this=<optimized out>) at /usr/src/debug/gpgmeqt-1.16.0-3.2.x86_64/lang/qt/src/threadedjobmixin.h:166
#11 QGpgME::QGpgMEKeyForMailboxJob::~QGpgMEKeyForMailboxJob (this=<optimized out>, this=<optimized out>) at /usr/src/debug/gpgmeqt-1.16.0-3.2.x86_64/lang/qt/src/qgpgmekeyformailboxjob.cpp:54