Bug 462878 - KMail crashes when opening an Email to read
Summary: KMail crashes when opening an Email to read
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-12-11 02:40 UTC by Marc Joliet
Modified: 2022-12-11 16:40 UTC (History)
0 users

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 Marc Joliet 2022-12-11 02:40:52 UTC
Application: kmail (5.22.0 (22.12.0))

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.10-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
KMail crashed with a SEGFAULT when double-clicking an Email in order to read it in a new window.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007f29662882e2 in QQmlData::isSignalConnected (d=0x100000001, index=4) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/qml/qml/qqmlengine.cpp:849
#5  0x00007f2969112ffc in QObjectPrivate::isDeclarativeSignalConnected (signal_index=4, this=<optimized out>) at kernel/qobject_p.h:448
#6  doActivate<false> (sender=0x555d1fcc2860, signal_index=4, argv=0x7ffd1a613370) at kernel/qobject.cpp:3808
#7  0x00007f296910c74f in QMetaObject::activate (sender=sender@entry=0x555d1fcc2860, m=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd1a613370) at kernel/qobject.cpp:3979
#8  0x00007f29721b162c in KMCommand::completed (_t1=0x555d1fcc2860, this=0x555d1fcc2860) at /usr/src/debug/kmail-22.12.0/build/src/kmailprivate_autogen/EWIEGA46WW/moc_kmcommands.cpp:201
#9  KMCommand::slotPostTransfer (this=0x555d1fcc2860, result=KMCommand::OK) at /usr/src/debug/kmail-22.12.0/src/kmcommands.cpp:265
#10 0x00007f29691132cd in QtPrivate::QSlotObjectBase::call (a=0x7ffd1a613490, r=0x555d1fcc2860, this=0x555d1fc56d80) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x555d1fcc2860, signal_index=3, argv=0x7ffd1a613490) at kernel/qobject.cpp:3919
#12 0x00007f296910c74f in QMetaObject::activate (sender=sender@entry=0x555d1fcc2860, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd1a613490) at kernel/qobject.cpp:3979
#13 0x00007f29721b20fa in KMCommand::messagesTransfered (_t1=KMCommand::OK, this=0x555d1fcc2860) at /usr/src/debug/kmail-22.12.0/build/src/kmailprivate_autogen/EWIEGA46WW/moc_kmcommands.cpp:194
#14 KMCommand::slotJobFinished (this=0x555d1fcc2860) at /usr/src/debug/kmail-22.12.0/src/kmcommands.cpp:370
#15 0x00007f29691132cd in QtPrivate::QSlotObjectBase::call (a=0x7ffd1a6135b0, r=0x555d1fcc2860, this=0x555d1fc4edd0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x555d1fb39c10, signal_index=6, argv=0x7ffd1a6135b0) at kernel/qobject.cpp:3919
#17 0x00007f296910c74f in QMetaObject::activate (sender=sender@entry=0x555d1fb39c10, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd1a6135b0) at kernel/qobject.cpp:3979
#18 0x00007f2971fa7bc5 in KJob::result (this=this@entry=0x555d1fb39c10, _t1=<optimized out>, _t1@entry=0x555d1fb39c10, _t2=...) at /usr/src/debug/kcoreaddons-5.100.0/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#19 0x00007f2971fabe2b in KJob::finishJob (this=0x555d1fb39c10, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.100.0/src/lib/jobs/kjob.cpp:98
#20 0x00007f2969107c40 in QObject::event (this=0x555d1fb39c10, e=0x555d1fdd1f90) at kernel/qobject.cpp:1347
#21 0x00007f2969da53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555d1fb39c10, e=0x555d1fdd1f90) at kernel/qapplication.cpp:3637
#22 0x00007f29690dc128 in QCoreApplication::notifyInternal2 (receiver=0x555d1fb39c10, event=0x555d1fdd1f90) at kernel/qcoreapplication.cpp:1064
#23 0x00007f29690df0c1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555d1e054990) at kernel/qcoreapplication.cpp:1821
#24 0x00007f2969134353 in postEventSourceDispatch (s=0x555d1e1d5090) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f29656bba90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#26 0x00007f29656bbe48 in ?? () from /lib64/libglib-2.0.so.0
#27 0x00007f29656bbedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#28 0x00007f2969133b56 in QEventDispatcherGlib::processEvents (this=0x555d1e1ceca0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f29690dab9b in QEventLoop::exec (this=this@entry=0x7ffd1a6139b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f2967f8460b in Kleo::KeyCache::Private::ensureCachePopulated (this=<optimized out>) at /usr/include/qt5/QtCore/qflags.h:121
#31 0x00007f2967f7bffd in Kleo::KeyCache::Private::find<Kleo::_detail::ByFingerprint> (key=<optimized out>, keys=std::vector of length 1629, capacity 1629 = {...}, this=0x555d1e49ad20) at /usr/src/debug/libkleo-22.12.0/src/models/keycache.cpp:146
#32 Kleo::KeyCache::Private::find_fpr (fpr=<optimized out>, this=0x555d1e49ad20) at /usr/src/debug/libkleo-22.12.0/src/models/keycache.cpp:169
#33 Kleo::KeyCache::findByFingerprint (this=this@entry=0x555d1e5848c0, fpr=<optimized out>) at /usr/src/debug/libkleo-22.12.0/src/models/keycache.cpp:582
#34 0x00007f296806e3bb in MimeTreeParser::SignedMessagePart::sigStatusToMetaData (this=this@entry=0x555d1ee741f0) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/messagepart.cpp:849
#35 0x00007f29680718e0 in MimeTreeParser::SignedMessagePart::setVerificationResult (this=this@entry=0x555d1ee741f0, m=m@entry=0x555d1fd12050, textNode=textNode@entry=0x555d1e7bb670) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/messagepart.cpp:946
#36 0x00007f2968071c53 in MimeTreeParser::SignedMessagePart::okVerify (this=this@entry=0x555d1ee741f0, data=..., signature=..., textNode=textNode@entry=0x555d1e7bb670) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/messagepart.cpp:779
#37 0x00007f29680722f4 in MimeTreeParser::SignedMessagePart::startVerificationDetached (this=0x555d1ee741f0, text=..., textNode=0x555d1e7bb670, signature=...) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/messagepart.cpp:914
#38 0x00007f296805d6b6 in MimeTreeParser::MultiPartSignedBodyPartFormatter::process (this=<optimized out>, part=...) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/bodyformatter/multipartsigned.cpp:79
#39 0x00007f296807017e in MimeTreeParser::ObjectTreeParser::processType (this=this@entry=0x7ffd1a614070, node=node@entry=0x555d1fcde930, processResult=..., mimeType=...) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/objecttreeparser.cpp:146
#40 0x00007f296807050e in MimeTreeParser::ObjectTreeParser::parseObjectTreeInternal (this=this@entry=0x7ffd1a614070, node=<optimized out>, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/objecttreeparser.cpp:213
#41 0x00007f296807073b in MimeTreeParser::ObjectTreeParser::parseObjectTree (this=0x7ffd1a614070, node=<optimized out>, parseOnlySingleNode=<optimized out>) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/objecttreeparser.cpp:116
#42 0x00007f2968357158 in MessageViewer::ViewerPrivate::parseContent (this=0x555d1e661200, content=0x555d1fcde930) at /usr/src/debug/messagelib-22.12.0/messageviewer/src/viewer/viewer_p.cpp:863
#43 0x00007f2968363389 in MessageViewer::ViewerPrivate::displayMessage (this=0x555d1e661200) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:301
#44 MessageViewer::ViewerPrivate::updateReaderWin (this=0x555d1e661200) at /usr/src/debug/messagelib-22.12.0/messageviewer/src/viewer/viewer_p.cpp:2153
#45 0x00007f29691132cd in QtPrivate::QSlotObjectBase::call (a=0x7ffd1a6142b0, r=0x555d1e661200, this=0x555d1e88ee70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#46 doActivate<false> (sender=0x555d1e4fa3b0, signal_index=3, argv=0x7ffd1a6142b0) at kernel/qobject.cpp:3919
#47 0x00007f296910c74f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f2968088920 <MimeTreeParser::NodeHelper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd1a6142b0) at kernel/qobject.cpp:3979
#48 0x00007f2968054a1e in MimeTreeParser::NodeHelper::update (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/messagelib-22.12.0/build/mimetreeparser/src/KF5MimeTreeParser_autogen/EWIEGA46WW/moc_nodehelper.cpp:133
#49 0x00007f29691132cd in QtPrivate::QSlotObjectBase::call (a=0x7ffd1a6143b0, r=0x555d1e4fa3b0, this=0x555d1fcd88c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#50 doActivate<false> (sender=0x555d1fd12050, signal_index=3, argv=0x7ffd1a6143b0) at kernel/qobject.cpp:3919
#51 0x00007f296910c74f in QMetaObject::activate (sender=sender@entry=0x555d1fd12050, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd1a6143b0) at kernel/qobject.cpp:3979
#52 0x00007f29680755f4 in MimeTreeParser::CryptoBodyPartMemento::update (_t1=<optimized out>, this=0x555d1fd12050) at /usr/src/debug/messagelib-22.12.0/build/mimetreeparser/src/KF5MimeTreeParser_autogen/YHS7SJUNTZ/moc_cryptobodypartmemento.cpp:144
#53 MimeTreeParser::CryptoBodyPartMemento::notify (this=0x555d1fd12050) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/memento/cryptobodypartmemento.h:48
#54 MimeTreeParser::VerifyDetachedBodyPartMemento::slotKeyListJobDone (this=0x555d1fd12050) at /usr/src/debug/messagelib-22.12.0/mimetreeparser/src/memento/verifydetachedbodypartmemento.cpp:157
#55 0x00007f29691132cd in QtPrivate::QSlotObjectBase::call (a=0x7ffd1a614450, r=0x555d1fd12050, this=0x555d1fd299b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#56 doActivate<false> (sender=0x7f2918050440, signal_index=4, argv=0x7ffd1a614450) at kernel/qobject.cpp:3919
#57 0x00007f2967bbf6c7 in QGpgME::_detail::ThreadedJobMixin<QGpgME::KeyListJob, std::tuple<GpgME::KeyListResult, std::vector<GpgME::Key, std::allocator<GpgME::Key> >, QString, GpgME::Error> >::slotFinished (this=0x7f2918050440) at /usr/src/debug/gpgme-1.18.0/lang/qt/src/threadedjobmixin.h:217
#58 0x00007f2969107c40 in QObject::event (this=0x7f2918050440, e=0x7f28d0021370) at kernel/qobject.cpp:1347
#59 0x00007f2969da53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f2918050440, e=0x7f28d0021370) at kernel/qapplication.cpp:3637
#60 0x00007f29690dc128 in QCoreApplication::notifyInternal2 (receiver=0x7f2918050440, event=0x7f28d0021370) at kernel/qcoreapplication.cpp:1064
#61 0x00007f29690df0c1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555d1e054990) at kernel/qcoreapplication.cpp:1821
#62 0x00007f2969134353 in postEventSourceDispatch (s=0x555d1e1d5090) at kernel/qeventdispatcher_glib.cpp:277
#63 0x00007f29656bba90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#64 0x00007f29656bbe48 in ?? () from /lib64/libglib-2.0.so.0
#65 0x00007f29656bbedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#66 0x00007f2969133b56 in QEventDispatcherGlib::processEvents (this=0x555d1e1ceca0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#67 0x00007f29690dab9b in QEventLoop::exec (this=this@entry=0x7ffd1a614930, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#68 0x00007f29690e2d06 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#69 0x0000555d1cfec701 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-22.12.0/src/main.cpp:184
[Inferior 1 (process 25769) detached]

Reported using DrKonqi
Comment 1 Marc Joliet 2022-12-11 16:36:06 UTC
I've been getting this crash more often lately, so I would now say it is *partially* reproducible.
Comment 2 Marc Joliet 2022-12-11 16:40:02 UTC
Oh, interesting: I didn't notice before sending off my previous comment that the email I double clicked on to open *is actually open* after I launch KMail again!  Now that I write that, I'm fairly certain that that happened before, too.  (Specifically, I'm talking about an email in a Drafts folder that I want to continue working on, and when reopening KMail, it is open in a new window, and also missing from the Drafts folder, as would be expected if KMail hadn't crashed.)