Bug 448221 - Kmail crashes when trying to open or save an attachment (pdf in this case)
Summary: Kmail crashes when trying to open or save an attachment (pdf in this case)
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.19.1
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-10 16:43 UTC by Krystian
Modified: 2022-01-10 16:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krystian 2022-01-10 16:43:51 UTC
Application: kmail (5.19.1 (21.12.1))

Qt Version: 5.15.3
Frameworks Version: 5.89.0
Operating System: Linux 5.15.11-custom x86_64
Windowing System: X11
Distribution: Slackware 15.0 x86_64
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
Click on the message, scroll to the attachemnts area. Opening the attachment or trying to save it crashes kmail about 90% of the time. The attachment in question is a pdf.

I've had this happen many times on previous versions of kmail as well.

My email provider is gmail configured as POP3.

The crash can be reproduced most of the time.

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

[KCrash Handler]
#4  0x00007f567aaefa0e in KMime::Content::headerByType(char const*) const () at /usr/lib64/libKF5Mime.so.5
#5  0x00007f567aaf1179 in KMime::Content::contentDisposition(bool) () at /usr/lib64/libKF5Mime.so.5
#6  0x00007f567b384aec in MimeTreeParser::NodeHelper::fileName(KMime::Content const*) () at /usr/lib64/libKF5MimeTreeParser.so.5
#7  0x00007f567b6ea672 in  () at /usr/lib64/libKF5MessageViewer.so.5
#8  0x00007f567b6aae57 in  () at /usr/lib64/libKF5MessageViewer.so.5
#9  0x00007f567b6b42b4 in  () at /usr/lib64/libKF5MessageViewer.so.5
#10 0x00007f567b6b34f8 in  () at /usr/lib64/libKF5MessageViewer.so.5
#11 0x00007f567b698d51 in  () at /usr/lib64/libKF5MessageViewer.so.5
#12 0x00007f567c679ebe in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007f567d3aea8f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f567c64f50a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#15 0x00007f567c6522a7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f567c6a38b3 in  () at /usr/lib64/libQt5Core.so.5
#17 0x00007f567552763b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#18 0x00007f56755278a8 in  () at /usr/lib64/libglib-2.0.so.0
#19 0x00007f567552794f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#20 0x00007f567c6a2f84 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f567c64e08b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f567c655cdc in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#23 0x00000000004044a2 in  ()
#24 0x00007f567be6701d in __libc_start_main () at /lib64/libc.so.6
#25 0x000000000040468a in  ()
[Inferior 1 (process 10762) detached]

Report to https://bugs.kde.org/