[kmail2] [Bug 426029] New: [kmail] Segfault when trying to send an PGP encrypted email

Andreas Schneider bugzilla_noreply at kde.org
Mon Aug 31 19:55:14 BST 2020


https://bugs.kde.org/show_bug.cgi?id=426029

            Bug ID: 426029
           Summary: [kmail] Segfault when trying to send an PGP encrypted
                    email
           Product: kmail2
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: crypto
          Assignee: kdepim-bugs at kde.org
          Reporter: asn at cryptomilk.org
  Target Milestone: ---

SUMMARY

I get a segfault when trying to send an PGP encrypted email:

Thread 1 (Thread 0x7fffe62b5040 (LWP 11283)):
#0  0x00007fff164c2707 in KMime::Headers::Base::is(char const*) const
(this=this at entry=0x555558b5bc90, t=t at entry=0x7fff164daff4 "Content-Type") at
/usr/src/debug/kmime-20.08.0-1.2.x86_64/src/kmime_headers.cpp:153
#1  0x00007fff164c2767 in KMime::Content::headerByType(char const*) const
(this=this at entry=0x555558e7ce10, type=0x7fff164daff4 "Content-Type") at
/usr/src/debug/kmime-20.08.0-1.2.x86_64/src/kmime_content.cpp:625
        h = 0x555558b5bc90
        __for_range = <optimized out>
#2  0x00007fff164c2fa9 in
KMime::Content::header<KMime::Headers::ContentType>(bool) (create=true,
this=0x555558e7ce10) at
/usr/src/debug/kmime-20.08.0-1.2.x86_64/src/kmime_content.h:693
        h = <optimized out>
#3  KMime::Content::contentType(bool) (this=0x555558e7ce10, create=<optimized
out>) at /usr/src/debug/kmime-20.08.0-1.2.x86_64/src/kmime_content.cpp:877
#4  0x00007fff159591a6 in  () at /usr/lib64/libKF5MessageComposer.so.5
#5  0x00007fff158faa64 in  () at /usr/lib64/libKF5MessageComposer.so.5
#6  0x00007ffff6be6116 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007fff153ff0b1 in QGpgME::EncryptJob::result(GpgME::EncryptionResult
const&, QByteArray const&, QString const&, GpgME::Error const&) () at
/usr/lib64/libqgpgme.so.7
#8  0x00007fff15416452 in QGpgME::_detail::ThreadedJobMixin<QGpgME::EncryptJob,
std::tuple<GpgME::EncryptionResult, QByteArray, QString, GpgME::Error>
>::slotFinished() () at /usr/lib64/libqgpgme.so.7
#9  0x00007ffff6bdbb61 in QObject::event(QEvent*) () at
/usr/lib64/libQt5Core.so.5
#10 0x00007ffff77070cf in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQt5Widgets.so.5
#11 0x00007ffff6bafc3a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib64/libQt5Core.so.5
#12 0x00007ffff6bb2661 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007ffff6c079f3 in  () at /usr/lib64/libQt5Core.so.5
#14 0x00007fffede0d2b7 in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#15 0x00007fffede0d638 in  () at /usr/lib64/libglib-2.0.so.0
#16 0x00007fffede0d6ef in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#17 0x00007ffff6c0707f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt5Core.so.5
#18 0x00007ffff6bae5fb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt5Core.so.5
#19 0x00007ffff6bb6860 in QCoreApplication::exec() () at
/usr/lib64/libQt5Core.so.5
#20 0x0000555555558fc7 in  ()
#21 0x00007ffff6579cca in __libc_start_main () at /lib64/libc.so.6
#22 0x000055555555961a in  ()


STEPS TO REPRODUCE
1. Open Kmail
2. Write a mail and select PGP/GPG encryption and send it

SOFTWARE/OS VERSIONS
openSUSE Tumbleweed

KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
KMail: 5.15.0 (20.08.0)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list