KMail crashes when I open certain e-mails. This has started today, after I upgraded my KDE Apps to version 23.04 and KDE Frameworks to 5.105. I haven't been able to figure out what those mails have in common, although most of them seem to be forwards, possibly with attached images. The same e-mails are viewed perfectly in another computer with KMail 5.22.3. This is the backtrace (identical in all the e-mails that produce the crash): ****** Application: KMail (kmail), signal: Aborted [KCrash Handler] #4 0x00007f54331a9c6b in raise () from /lib64/libc.so.6 #5 0x00007f54331ab305 in abort () from /lib64/libc.so.6 #6 0x00007f5433618675 in ?? () from /usr/lib64/libstdc++.so.6 #7 0x00007f5433623d0c in ?? () from /usr/lib64/libstdc++.so.6 #8 0x00007f5433622d79 in ?? () from /usr/lib64/libstdc++.so.6 #9 0x00007f5433623496 in __gxx_personality_v0 () from /usr/lib64/libstdc++.so.6 #10 0x00007f543336aa34 in _Unwind_RaiseException_Phase2 (exc=0x55ae89def080, context=0x7ffcd0fe8330, frames_p=0x7ffcd0fe8420) at ../../../libgcc/unwind.inc:64 #11 0x00007f543336b0f1 in _Unwind_RaiseException (exc=0x55ae89def080) at ../../../libgcc/unwind.inc:136 #12 0x00007f5433623fcb in __cxa_throw () from /usr/lib64/libstdc++.so.6 #13 0x00007f543361827e in ?? () from /usr/lib64/libstdc++.so.6 #14 0x00007f541ed4a4c6 in ZXing::QRCode::Reader::Reader(ZXing::DecodeHints const&) () from /usr/lib64/libZXing.so.1 #15 0x00007f541ecd5a49 in ZXing::MultiFormatReader::MultiFormatReader(ZXing::DecodeHints const&) () from /usr/lib64/libZXing.so.1 #16 0x00007f541ecd7cd7 in ?? () from /usr/lib64/libZXing.so.1 #17 0x00007f541ecd8089 in ZXing::ReadBarcode(ZXing::ImageView const&, ZXing::DecodeHints const&) () from /usr/lib64/libZXing.so.1 #18 0x00007f53cc1047b5 in zxingReadBarcode (img=..., hints=...) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/barcodedecoder.cpp:211 #19 0x00007f53cc104dd5 in KItinerary::BarcodeDecoder::decodeZxing (this=<optimized out>, img=..., format=..., result=...) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/barcodedecoder.cpp:230 #20 0x00007f53cc1051ae in KItinerary::BarcodeDecoder::decodeBinary (this=0x55ae895828e0, img=..., hint=...) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/barcodedecoder.cpp:54 #21 0x00007f53cc0d39f6 in KItinerary::BarcodeDocumentProcessorHelper::expandNode (img=..., barcodeHints=..., parent=..., engine=0x7ffcd0fe8e40) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/processors/barcodedocumentprocessorhelper.cpp:20 #22 0x00007f53cc0db2b0 in KItinerary::ImageDocumentProcessor::expandNode (this=<optimized out>, engine=0x7ffcd0fe8e40, node=...) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/processors/imagedocumentprocessor.cpp:46 #23 KItinerary::ImageDocumentProcessor::expandNode (this=<optimized out>, node=..., engine=0x7ffcd0fe8e40) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/processors/imagedocumentprocessor.cpp:30 #24 0x00007f53cc07f65a in KItinerary::ExtractorEnginePrivate::processNode (this=this@entry=0x55ae89582890, node=...) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/engine/extractorengine.cpp:62 #25 0x00007f53cc07f690 in KItinerary::ExtractorEnginePrivate::processNode (node=..., this=0x55ae89582890) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/engine/extractorengine.cpp:58 #26 KItinerary::ExtractorEnginePrivate::processNode (this=this@entry=0x55ae89582890, node=...) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/engine/extractorengine.cpp:64 #27 0x00007f53cc07febe in KItinerary::ExtractorEnginePrivate::processNode (node=..., this=0x55ae89582890) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/engine/extractorengine.cpp:58 #28 KItinerary::ExtractorEngine::extract (this=this@entry=0x7ffcd0fe8e40) at /usr/src/debug/kitinerary-23.04.1-lp154.172.1.x86_64/src/lib/engine/extractorengine.cpp:154 #29 0x00007f53e4148a8a in ItineraryProcessor::process (this=<optimized out>, part=...) at /usr/src/debug/kdepim-addons-23.04.1-lp154.254.1.x86_64/plugins/messageviewer/bodypartformatter/itinerary/itineraryprocessor.cpp:152 #30 0x00007f54323200c5 in MimeTreeParser::ObjectTreeParser::processType (this=this@entry=0x7ffcd0fe9960, node=0x55ae89dea6c0, processResult=..., mimeType=...) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/objecttreeparser.cpp:146 #31 0x00007f543232091d in MimeTreeParser::ObjectTreeParser::parseObjectTreeInternal (this=0x7ffcd0fe9960, node=<optimized out>, node@entry=0x55ae89dea6c0, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/objecttreeparser.cpp:213 #32 0x00007f54323256b0 in MimeTreeParser::MessagePart::parseInternal (this=this@entry=0x55ae8943f8f0, node=node@entry=0x55ae89dea6c0, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/messagepart.cpp:188 #33 0x00007f5432325811 in MimeTreeParser::MimeMessagePart::MimeMessagePart (this=0x55ae8943f8f0, otp=<optimized out>, node=0x55ae89dea6c0, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/messagepart.cpp:518 #34 0x00007f543232a7e7 in MimeTreeParser::AlternativeMessagePart::AlternativeMessagePart (this=0x55ae89cdad70, otp=<optimized out>, node=<optimized out>, preferredMode=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/messagepart.cpp:586 #35 0x00007f5432307e92 in MimeTreeParser::MultiPartAlternativeBodyPartFormatter::process (this=<optimized out>, part=...) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/bodyformatter/multipartalternative.cpp:34 #36 0x00007f54323200c5 in MimeTreeParser::ObjectTreeParser::processType (this=this@entry=0x7ffcd0fe9960, node=0x55ae89575ad0, processResult=..., mimeType=...) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/objecttreeparser.cpp:146 #37 0x00007f543232091d in MimeTreeParser::ObjectTreeParser::parseObjectTreeInternal (this=0x7ffcd0fe9960, node=<optimized out>, node@entry=0x55ae89575ad0, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/objecttreeparser.cpp:213 #38 0x00007f54323256b0 in MimeTreeParser::MessagePart::parseInternal (this=this@entry=0x55ae89519800, node=node@entry=0x55ae89575ad0, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/messagepart.cpp:188 #39 0x00007f5432325811 in MimeTreeParser::MimeMessagePart::MimeMessagePart (this=0x55ae89519800, otp=<optimized out>, node=0x55ae89575ad0, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/messagepart.cpp:518 #40 0x00007f5432308e9d in MimeTreeParser::MultiPartMixedBodyPartFormatter::process (this=<optimized out>, part=...) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/bodyformatter/multipartmixed.cpp:33 #41 0x00007f54323200c5 in MimeTreeParser::ObjectTreeParser::processType (this=this@entry=0x7ffcd0fe9960, node=0x55ae8908e870, processResult=..., mimeType=...) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/objecttreeparser.cpp:146 #42 0x00007f543232091d in MimeTreeParser::ObjectTreeParser::parseObjectTreeInternal (this=0x7ffcd0fe9960, node=<optimized out>, node@entry=0x55ae8908e870, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/objecttreeparser.cpp:213 #43 0x00007f54323256b0 in MimeTreeParser::MessagePart::parseInternal (this=this@entry=0x55ae897b7340, node=node@entry=0x55ae8908e870, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/messagepart.cpp:188 #44 0x00007f5432325811 in MimeTreeParser::MimeMessagePart::MimeMessagePart (this=0x55ae897b7340, otp=<optimized out>, node=0x55ae8908e870, onlyOneMimePart=<optimized out>) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/messagepart.cpp:518 #45 0x00007f53e412769e in ApplicationGnuPGWKSFormatter::process (this=<optimized out>, part=...) at /usr/src/debug/kdepim-addons-23.04.1-lp154.254.1.x86_64/plugins/messageviewer/bodypartformatter/gnupgwks/gnupgwksformatter.cpp:58 #46 0x00007f54323200c5 in MimeTreeParser::ObjectTreeParser::processType (this=this@entry=0x7ffcd0fe9960, node=0x55ae84aa20c0, processResult=..., mimeType=...) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/objecttreeparser.cpp:146 #47 0x00007f543232091d in MimeTreeParser::ObjectTreeParser::parseObjectTreeInternal (this=this@entry=0x7ffcd0fe9960, node=<optimized out>, node@entry=0x55ae84aa20c0, onlyOneMimePart=onlyOneMimePart@entry=false) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/objecttreeparser.cpp:213 #48 0x00007f5432320b3b in MimeTreeParser::ObjectTreeParser::parseObjectTree (this=this@entry=0x7ffcd0fe9960, node=node@entry=0x55ae84aa20c0, parseOnlySingleNode=parseOnlySingleNode@entry=false) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/mimetreeparser/src/objecttreeparser.cpp:116 #49 0x00007f543272c8e2 in MessageViewer::ViewerPrivate::parseContent (this=this@entry=0x55ae843cad10, content=0x55ae84aa20c0) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/messageviewer/src/viewer/viewer_p.cpp:862 #50 0x00007f543272ebc0 in MessageViewer::ViewerPrivate::displayMessage (this=this@entry=0x55ae843cad10) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/messageviewer/src/viewer/viewer_p.cpp:818 #51 0x00007f543272f24d in MessageViewer::ViewerPrivate::updateReaderWin (this=0x55ae843cad10) at /usr/src/debug/messagelib-23.04.1-lp154.277.1.x86_64/messageviewer/src/viewer/viewer_p.cpp:2147 #52 0x00007f5433cacb9b in QtPrivate::QSlotObjectBase::call (a=0x7ffcd0fe9ca0, r=0x55ae843cad10, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #53 doActivate<false> (sender=0x55ae843cad80, signal_index=3, argv=0x7ffcd0fe9ca0) at kernel/qobject.cpp:3923 #54 0x00007f5433ca6012 in QMetaObject::activate (sender=sender@entry=0x55ae843cad80, m=m@entry=0x7f5433f59960 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd0fe9ca0) at kernel/qobject.cpp:3983 #55 0x00007f5433cb16e7 in QTimer::timeout (this=this@entry=0x55ae843cad80, _t1=...) at .moc/moc_qtimer.cpp:205 #56 0x00007f5433cb1a48 in QTimer::timerEvent (this=0x55ae843cad80, e=<optimized out>) at kernel/qtimer.cpp:257 #57 0x00007f5433ca35a3 in QObject::event (this=0x55ae843cad80, e=0x7ffcd0fe9fe0) at kernel/qobject.cpp:1369 #58 0x00007f543482453c in QApplicationPrivate::notify_helper (this=this@entry=0x55ae82a82fb0, receiver=receiver@entry=0x55ae843cad80, e=e@entry=0x7ffcd0fe9fe0) at kernel/qapplication.cpp:3640 #59 0x00007f543482b2ff in QApplication::notify (this=<optimized out>, receiver=0x55ae843cad80, e=0x7ffcd0fe9fe0) at kernel/qapplication.cpp:3164 #60 0x00007f5433c6f1a3 in QCoreApplication::notifyInternal2 (receiver=0x55ae843cad80, event=0x7ffcd0fe9fe0) at kernel/qcoreapplication.cpp:1064 #61 0x00007f5433cd0f79 in QTimerInfoList::activateTimers (this=0x55ae82b41110) at kernel/qtimerinfo_unix.cpp:643 #62 0x00007f5433cd1741 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183 #63 0x00007f542d6d082b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #64 0x00007f542d6d0bd0 in ?? () from /usr/lib64/libglib-2.0.so.0 #65 0x00007f542d6d0c5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #66 0x00007f5433cd1aec in QEventDispatcherGlib::processEvents (this=0x55ae82b4f830, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #67 0x00007f5433c6da0a in QEventLoop::exec (this=this@entry=0x7ffcd0fea230, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235 #68 0x00007f5433c77247 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375 #69 0x000055ae82865479 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-23.04.1-lp154.240.1.x86_64/src/main.cpp:188 [Inferior 1 (process 12669) detached] **** SOFTWARE/OS VERSIONS Operating System: openSUSE Leap 15.4 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Kernel Version: 5.14.21-150400.24.63-default (64-bit) Graphics Platform: X11 Graphics Processor: Mesa DRI Intel® HD Graphics 520 ADDITIONAL INFORMATION I'll attach some non confidential e-mails (they're actually spam) that produce the crash.
Created attachment 158892 [details] One of the mails that crash my KMail
Created attachment 158895 [details] Another one
Created attachment 158896 [details] And a third one
The bug disappeared after a reinstall, there must have been something wrong with my previous system. Marking as resolved.