[kmail2] [Bug 454257] New: Crash on save of attachment (tar.gz)

Hans-Peter Jansen bugzilla_noreply at kde.org
Mon May 23 09:46:16 BST 2022


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

            Bug ID: 454257
           Summary: Crash on save of attachment (tar.gz)
           Product: kmail2
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: hpj at urpla.net
  Target Milestone: ---

Application: kmail (5.20.1 (22.04.1))

Qt Version: 5.15.2
Frameworks Version: 5.94.0
Operating System: Linux 5.17.9-2-preempt x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.5 [KCrashBackend]

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

Saving an tar.gz attachment. As far as I can see, the existing reports crash
pattern don't match. 

What's probably important to note: this is kmail and friends from the first
full distribution rebuild with gcc12 in openSUSE TW 20220520.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  0x00007fcadeca756e in
QVector<KMime::Headers::Base*>::begin(QTypedArrayData<KMime::Headers::Base*>::const_iterator)
const (this=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:220
#7  KMime::Content::headerByType(char const*) const
(this=this at entry=0x55e600c86030, type=0x7fcadecc0046
"Content-Transfer-Encoding") at
/usr/src/debug/kmime-22.04.1-1.1.x86_64/src/kmime_content.cpp:616
#8  0x00007fcadeca822a in
KMime::Content::header<KMime::Headers::ContentTransferEncoding>(bool)
(create=true, this=0x55e600c86030) at
/usr/src/debug/kmime-22.04.1-1.1.x86_64/src/kmime_content.h:681
#9  KMime::Content::contentTransferEncoding(bool) (this=0x55e600c86030,
create=<optimized out>) at
/usr/src/debug/kmime-22.04.1-1.1.x86_64/src/kmime_content.cpp:873
#10 0x00007fcadeca8805 in KMime::Content::decodedContent()
(this=this at entry=0x55e600c86030) at
/usr/src/debug/kmime-22.04.1-1.1.x86_64/src/kmime_content.cpp:316
#11 0x00007fcadf70f2c5 in MessageViewer::Util::saveContent(QWidget*,
KMime::Content*, QUrl const&) (url=..., content=0x55e600c86030,
parent=0x55e5fe030e70) at
/usr/src/debug/messagelib-22.04.1-1.1.x86_64/messageviewer/src/utils/messageviewerutil.cpp:423
#12 MessageViewer::Util::saveContents(QWidget*, QVector<KMime::Content*>
const&, QList<QUrl>&) (parent=0x55e5fe030e70, contents=<optimized out>,
urlList=...) at
/usr/src/debug/messagelib-22.04.1-1.1.x86_64/messageviewer/src/utils/messageviewerutil.cpp:326
#13 0x00007fcadf6d7dfe in
MessageViewer::ViewerPrivate::openAttachment(KMime::Content*, QUrl const&)
(this=0x55e5fe0b5aa0, node=<optimized out>, url=<optimized out>) at
/usr/src/debug/messagelib-22.04.1-1.1.x86_64/messageviewer/src/viewer/viewer_p.cpp:324
#14 0x00007fcadf6e6ac3 in MessageViewer::AttachmentURLHandler::handleClick(QUrl
const&, MessageViewer::ViewerPrivate*) const (this=<optimized out>,
url=<optimized out>, w=0x55e5fe0b5aa0) at
/usr/src/debug/messagelib-22.04.1-1.1.x86_64/messageviewer/src/viewer/urlhandlermanager.cpp:667
#15 0x00007fcadf6df12d in MessageViewer::URLHandlerManager::handleClick(QUrl
const&, MessageViewer::ViewerPrivate*) const (w=0x55e5fe0b5aa0, url=...,
this=<optimized out>) at
/usr/src/debug/messagelib-22.04.1-1.1.x86_64/messageviewer/src/viewer/urlhandlermanager.cpp:283
#16 MessageViewer::ViewerPrivate::slotUrlOpen(QUrl const&)
(this=0x55e5fe0b5aa0, url=<optimized out>) at
/usr/src/debug/messagelib-22.04.1-1.1.x86_64/messageviewer/src/viewer/viewer_p.cpp:1907
#17 0x00007fcae07e3660 in QObject::event(QEvent*) (this=0x55e5fe0b5aa0,
e=0x55e601fc24e0) at kernel/qobject.cpp:1314
#18 0x00007fcae136437e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x55e5fe0b5aa0, e=0x55e601fc24e0) at
kernel/qapplication.cpp:3632
#19 0x00007fcae07b7988 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x55e5fe0b5aa0, event=0x55e601fc24e0) at
kernel/qcoreapplication.cpp:1064
#20 0x00007fcae07ba921 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x55e5fd7c9fc0) at
kernel/qcoreapplication.cpp:1821
#21 0x00007fcae080fec3 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x55e5fd902c70) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007fcada375da0 in g_main_dispatch (context=0x7fcacc005010) at
../glib/gmain.c:3417
#23 g_main_context_dispatch (context=0x7fcacc005010) at ../glib/gmain.c:4135
#24 0x00007fcada376158 in g_main_context_iterate
(context=context at entry=0x7fcacc005010, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4211
#25 0x00007fcada3761ec in g_main_context_iteration (context=0x7fcacc005010,
may_block=1) at ../glib/gmain.c:4276
#26 0x00007fcae080f5a6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55e5fd910bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007fcae07b63fb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fffbee093b0, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#28 0x00007fcae07be566 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x00007fcae0c093bc in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1867
#30 0x00007fcae13642f5 in QApplication::exec() () at
kernel/qapplication.cpp:2824
#31 0x000055e5fc267661 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/kmail-22.04.1-1.1.x86_64/src/main.cpp:174
[Inferior 1 (process 26940) detached]

Possible duplicates by query: bug 448221, bug 419785, bug 416377, bug 412042,
bug 387018.

Reported using DrKonqi

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


More information about the Kdepim-bugs mailing list