Bug 431885 - Kmail crashes on Opening a pptx attachment
Summary: Kmail crashes on Opening a pptx attachment
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
Keywords: drkonqi
Depends on:
Reported: 2021-01-21 18:16 UTC by David
Modified: 2022-02-06 20:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:

New crash information added by DrKonqi (36.95 KB, patch)
2021-04-20 03:32 UTC, Arturo Salinas

Note You need to log in before you can comment on or make changes to this bug.
Description David 2021-01-21 18:16:10 UTC
Application: kmail (5.15.3 (20.08.3))

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.7-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (Thirty Three)

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

Opening a pptx attachment. Once clicked on "open with", kmail crashes and attachment is not opened.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007ff7a6540ef8 in KMime::Content::parent() const () from /lib64/libKF5Mime.so.5
#5  0x00007ff7a6540f0e in KMime::Content::topLevel() const () from /lib64/libKF5Mime.so.5
#6  0x00007ff7a65427ea in KMime::Content::index() const () from /lib64/libKF5Mime.so.5
#7  0x00007ff7a6ad4da9 in MimeTreeParser::NodeHelper::persistentIndex(KMime::Content const*) const () from /lib64/libKF5MimeTreeParser.so.5
#8  0x00007ff7a6ad615e in MimeTreeParser::NodeHelper::tempFileUrlFromNode(KMime::Content const*) () from /lib64/libKF5MimeTreeParser.so.5
#9  0x00007ff7a6ad674e in MimeTreeParser::NodeHelper::writeNodeToTempFile(KMime::Content*) () from /lib64/libKF5MimeTreeParser.so.5
#10 0x00007ff7a6f4e01e in MessageViewer::ViewerPrivate::attachmentOpenWith(KMime::Content*, QExplicitlySharedDataPointer<KService> const&) () from /lib64/libKF5MessageViewer.so.5
#11 0x00007ff7a6f49c00 in MessageViewer::ViewerPrivate::openAttachment(KMime::Content*, QUrl const&) () from /lib64/libKF5MessageViewer.so.5
#12 0x00007ff7a6f5e5c9 in MessageViewer::AttachmentURLHandler::handleClick(QUrl const&, MessageViewer::ViewerPrivate*) const () from /lib64/libKF5MessageViewer.so.5
#13 0x00007ff7a6f52b38 in MessageViewer::ViewerPrivate::slotUrlOpen(QUrl const&) () from /lib64/libKF5MessageViewer.so.5
#14 0x00007ff7a7f4dd1e in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007ff7a89baec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007ff7a7f25bd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007ff7a7f288c7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#18 0x00007ff7a7f72c27 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#19 0x00007ff7a35f496f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x00007ff7a3646758 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#21 0x00007ff7a35f1d43 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x00007ff7a7f726f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#23 0x00007ff7a7f2457b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#24 0x00007ff7a7f2c1b4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#25 0x000055619370687b in main ()
[Inferior 1 (process 54658) detached]

Possible duplicates by query: bug 385284, bug 349379, bug 332774, bug 330560, bug 323916.

Reported using DrKonqi
Comment 1 Arturo Salinas 2021-04-20 03:32:04 UTC
Created attachment 137720 [details]
New crash information added by DrKonqi

kmail (5.13.3 (19.12.3)) using Qt 5.12.8

- What I was doing when the application crashed:

I was trying to open an attachment. The bug is reproducible.

-- Backtrace (Reduced):
#6  0x00007fa2c0135f64 in KMime::Content::parent() const () at /lib/x86_64-linux-gnu/libKF5Mime.so.5abi2
#7  0x00007fa2c0135f93 in KMime::Content::topLevel() const () at /lib/x86_64-linux-gnu/libKF5Mime.so.5abi2
#8  0x00007fa2c0136b5a in KMime::Content::index() const () at /lib/x86_64-linux-gnu/libKF5Mime.so.5abi2
#9  0x00007fa2c05f1dac in MimeTreeParser::NodeHelper::persistentIndex(KMime::Content const*) const () at /lib/x86_64-linux-gnu/libKF5MimeTreeParser.so.5abi3
#10 0x00007fa2c05f2253 in MimeTreeParser::NodeHelper::tempFileUrlFromNode(KMime::Content const*) () at /lib/x86_64-linux-gnu/libKF5MimeTreeParser.so.5abi3