Bug 477065

Summary: kmail crasht
Product: [Applications] kmail2 Reporter: wj <wnh.jansweijer>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description wj 2023-11-15 22:30:47 UTC
Application: kmail (5.22.3 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 5.14.21-150500.55.36-default x86_64
Windowing System: X11
Distribution: openSUSE Leap 15.5
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
Opening a large .mbox file (6,3 Gb archive) with kmail causes an immediate crash.
Kmail starting in an empty environment however works fine.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted

[KCrash Handler]
#4  0x00007f5915c8cd2b in raise () from /lib64/libc.so.6
#5  0x00007f5915c8e3e5 in abort () from /lib64/libc.so.6
#6  0x00007f5915f054a7 in ?? () from /usr/lib64/libstdc++.so.6
#7  0x00007f5915f14c1c in ?? () from /usr/lib64/libstdc++.so.6
#8  0x00007f5915f14c87 in std::terminate() () from /usr/lib64/libstdc++.so.6
#9  0x00007f5915f14ee8 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#10 0x00007f591615ce82 in qBadAlloc () at global/qglobal.cpp:3371
#11 0x00007f59161dee40 in QByteArray::reallocData (this=this@entry=0x55a1c06d29c8, alloc=2147483649, options=...) at text/qbytearray.cpp:1847
#12 0x00007f59161dffcf in QByteArray::append (this=0x55a1c06d29c8, str=0x55a1c0de3878 "Ik hoop dat hiermee de laatste onduide=\r\nlijkheden weggenomen zijn.</span><o:p></o:p></p>\r\n</div>\r\n<div>\r\n<p class=3D\"MsoNormal\"><span style=3D\"font-size:12.0pt;font-family:&quot;Tim=\r\nes New Roman&qu"...) at text/qbytearray.cpp:2029
#13 0x00007f59163b8a6b in QtPrivate::QSlotObjectBase::call (a=0x7ffca5c9ed20, r=0x55a1c06d2970, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false> (sender=0x55a1c067aa90, signal_index=25, argv=0x7ffca5c9ed20) at kernel/qobject.cpp:3923
#15 0x00007f59163b1ee2 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f5913b989a0 <KIO::TransferJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffca5c9ed20) at kernel/qobject.cpp:3983
#16 0x00007f5913ad4f94 in KIO::TransferJob::data (this=<optimized out>, _t1=<optimized out>, _t2=...) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_transferjob.cpp:296
#17 0x00007f59163b8a6b in QtPrivate::QSlotObjectBase::call (a=0x7ffca5c9ee30, r=0x55a1c067aa90, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x55a1c0ca5970, signal_index=3, argv=0x7ffca5c9ee30) at kernel/qobject.cpp:3923
#19 0x00007f59163b1ee2 in QMetaObject::activate (sender=sender@entry=0x55a1c0ca5970, m=m@entry=0x7f5913b97840 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffca5c9ee30) at kernel/qobject.cpp:3983
#20 0x00007f5913aa87a2 in KIO::SlaveInterface::data (this=this@entry=0x55a1c0ca5970, _t1=...) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:439
#21 0x00007f5913aaaa62 in KIO::SlaveInterface::dispatch (this=0x55a1c0ca5970, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/src/core/slaveinterface.cpp:137
#22 0x00007f5913aa8ed9 in KIO::SlaveInterface::dispatch (this=0x55a1c0ca5970) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/src/core/slaveinterface.cpp:78
#23 0x00007f5913aad1da in KIO::Slave::gotInput (this=0x55a1c0ca5970) at /usr/src/debug/kio-5.103.0-150500.1.2.x86_64/src/core/slave.cpp:354
#24 0x00007f59163b8a6b in QtPrivate::QSlotObjectBase::call (a=0x7ffca5c9f070, r=0x55a1c0ca5970, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false> (sender=0x55a1c0bbed50, signal_index=3, argv=0x7ffca5c9f070) at kernel/qobject.cpp:3923
#26 0x00007f59163af50b in QObject::event (this=0x55a1c0bbed50, e=0x7f58e0028680) at kernel/qobject.cpp:1347
#27 0x00007f5916f3053c in QApplicationPrivate::notify_helper (this=this@entry=0x55a1c007d5d0, receiver=receiver@entry=0x55a1c0bbed50, e=e@entry=0x7f58e0028680) at kernel/qapplication.cpp:3640
#28 0x00007f5916f372ff in QApplication::notify (this=<optimized out>, receiver=0x55a1c0bbed50, e=0x7f58e0028680) at kernel/qapplication.cpp:3164
#29 0x00007f591637b073 in QCoreApplication::notifyInternal2 (receiver=0x55a1c0bbed50, event=0x7f58e0028680) at kernel/qcoreapplication.cpp:1064
#30 0x00007f591637b24e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55a1c0bbed50, event=event@entry=0x7f58e0028680) at kernel/qcoreapplication.cpp:1462
#31 0x00007f591637da91 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55a1c0017480) at kernel/qcoreapplication.cpp:1821
#32 0x00007f591637e018 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#33 0x00007f59163de313 in postEventSourceDispatch (s=0x55a1c014a750) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007f590fd2082b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f590fd20bd0 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f590fd20c5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f59163dd9bc in QEventDispatcherGlib::processEvents (this=0x55a1c014ad50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007f59163798da in QEventLoop::exec (this=this@entry=0x7ffca5c9f620, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235
#39 0x00007f5916383117 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375
#40 0x000055a1be984479 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmail-22.12.3-bp155.1.6.x86_64/src/main.cpp:185
[Inferior 1 (process 4866) detached]

Reported using DrKonqi