[kmail2] [Bug 467845] New: Kmail crashes when clicking on mail which is gpg signed

Charlemagne Lasse bugzilla_noreply at kde.org
Mon Mar 27 08:58:01 BST 2023


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

            Bug ID: 467845
           Summary: Kmail crashes when clicking on mail which is gpg
                    signed
    Classification: Applications
           Product: kmail2
           Version: unspecified
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: charlemagnelasse at gmail.com
  Target Milestone: ---

Application: kmail (5.22.3 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-6-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
It seems to happen all the time that kmail crashes when clicking on any mail
which is signed (not encrypted) via gpg. Sometimes it helped to just run `gpg
--update-trustdb` but now it seems like it is crashing all the time.

I first see the message but something seems to happen when the signature is
checked (which didn't finish when the mail is displayed first).


In the past, when it was not directly crashing then it was also not accepting
signatures from subkeys (#465551). So it seems some rather recent changes
caused a major regression in kmails gnupg integration.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f72c84f26b1 in KMime::Content::headerByType(char const*) const ()
from /lib/x86_64-linux-gnu/libKF5Mime.so.5abi1
#5  0x00007f72c84f3a2a in KMime::Content::contentTransferEncoding(bool) () from
/lib/x86_64-linux-gnu/libKF5Mime.so.5abi1
#6  0x00007f72c84f43bd in ?? () from /lib/x86_64-linux-gnu/libKF5Mime.so.5abi1
#7  0x00007f72c84f4636 in KMime::Content::decodedText(bool, bool) () from
/lib/x86_64-linux-gnu/libKF5Mime.so.5abi1
#8  0x00007f72c8c5bbe5 in
MimeTreeParser::ObjectTreeParser::extractNodeInfos(KMime::Content*, bool) ()
from /lib/x86_64-linux-gnu/libKF5MimeTreeParser.so.5abi1
#9  0x00007f72c8c5c4a9 in
MimeTreeParser::ObjectTreeParser::parseObjectTree(KMime::Content*, bool) ()
from /lib/x86_64-linux-gnu/libKF5MimeTreeParser.so.5abi1
#10 0x00007f72c9071258 in
MessageViewer::ViewerPrivate::parseContent(KMime::Content*) () from
/lib/x86_64-linux-gnu/libKF5MessageViewer.so.5abi1
#11 0x00007f72c9073974 in MessageViewer::ViewerPrivate::displayMessage() ()
from /lib/x86_64-linux-gnu/libKF5MessageViewer.so.5abi1
#12 0x00007f72c9074075 in MessageViewer::ViewerPrivate::updateReaderWin() ()
from /lib/x86_64-linux-gnu/libKF5MessageViewer.so.5abi1
#13 0x00007f72c9ee8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f72c8c3d3be in
MimeTreeParser::NodeHelper::update(MimeTreeParser::UpdateMode) () from
/lib/x86_64-linux-gnu/libKF5MimeTreeParser.so.5abi1
#15 0x00007f72c9ee8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f72c8c3d35e in ?? () from
/lib/x86_64-linux-gnu/libKF5MimeTreeParser.so.5abi1
#17 0x00007f72c9ee8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f72c86e1f4d in ?? () from /lib/x86_64-linux-gnu/libqgpgme.so.15
#19 0x00007f72c9edd6f0 in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f72cab62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f72c9eb16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f72c9eb4681 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f72c9f0a153 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f72c4ece7a9 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f72c4ecea38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f72c4eceacc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f72c9f09836 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f72c9eb017b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f72c9eb82d6 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00005631c2ca7c0c in ?? ()
#31 0x00007f72c9a4618a in __libc_start_call_main
(main=main at entry=0x5631c2ca6ad0, argc=argc at entry=3,
argv=argv at entry=0x7ffc2aefad08) at ../sysdeps/nptl/libc_start_call_main.h:58
#32 0x00007f72c9a46245 in __libc_start_main_impl (main=0x5631c2ca6ad0, argc=3,
argv=0x7ffc2aefad08, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc2aefacf8) at ../csu/libc-start.c:381
#33 0x00005631c2ca8211 in ?? ()
[Inferior 1 (process 11847) detached]

Reported using DrKonqi

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


More information about the Kdepim-bugs mailing list