Bug 437263

Summary: Kontact crashes when switching to contacts while writing a mail
Product: [Applications] kontact Reporter: Axel Braun <axel.braun>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Axel Braun 2021-05-17 15:52:35 UTC
Application: kontact (5.17.0 (21.04.0))

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.12.3-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
Create an Email and edit content. Switch to contacts while mail is still open: Kontact crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f280bd00040 (LWP 3323))]
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#7  0x00007f281cd2d864 in __GI_abort () at abort.c:79
#8  0x00007f281cf7f9f6 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#9  0x00007f281cf8b0ec in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#10 0x00007f281cf8b157 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#11 0x00007f281cf8b3f9 in __cxxabiv1::__cxa_throw (obj=obj@entry=0x5592396315c0, tinfo=0x7f27b294ac58 <typeinfo for Akonadi::PayloadException>, dest=0x7f27b2834c30 <Akonadi::PayloadException::~PayloadException()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:95
#12 0x00007f27b27f2c68 in Akonadi::Item::throwPayloadException (this=this@entry=0x559241305208, spid=spid@entry=0, mtid=mtid@entry=1163) at /usr/src/debug/akonadi-server-21.04.0-1.1.x86_64/src/core/item.cpp:467
#13 0x00007f27d3f8b69d in Akonadi::Item::payloadImpl<KContacts::Addressee> (this=0x559241305208) at /usr/include/KF5/AkonadiCore/item.h:819
#14 0x00007f27d3f933d0 in Akonadi::Item::payload<KContacts::Addressee> (this=0x7ffe8e0b4398) at /usr/include/KF5/AkonadiCore/item.h:794
#15 ContactInfoProxyModel::ContactCacheData::setData (this=0x5592413eef18, item=...) at /usr/src/debug/kaddressbook-21.04.0-1.1.x86_64/src/contactinfoproxymodel.cpp:364
#16 0x00007f27d3f8f994 in ContactInfoProxyModel::slotFetchJobFinished (this=0x55924073ae40, job=0x7ffe8e0b4418) at /usr/src/debug/kaddressbook-21.04.0-1.1.x86_64/src/contactinfoproxymodel.cpp:291
#17 0x00007f281d400c17 in QtPrivate::QSlotObjectBase::call (a=0x7ffe8e0b45a0, r=0x55924073ae40, this=0x5592413f00d0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x5592413862e0, signal_index=6, argv=argv@entry=0x7ffe8e0b45a0) at kernel/qobject.cpp:3886
#19 0x00007f281d3f9f60 in QMetaObject::activate (sender=sender@entry=0x5592413862e0, m=m@entry=0x7f281e654640 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe8e0b45a0) at kernel/qobject.cpp:3946
#20 0x00007f281e5fe70c in KJob::result (this=this@entry=0x5592413862e0, _t1=<optimized out>, _t1@entry=0x5592413862e0, _t2=...) at /usr/src/debug/kcoreaddons-5.82.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:636
#21 0x00007f281e603423 in KJob::finishJob (this=0x5592413862e0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.82.0-1.1.x86_64/src/lib/jobs/kjob.cpp:94
#22 0x00007f281d3f6a2c in QObject::event (this=0x5592413862e0, e=0x55924141f4c0) at kernel/qobject.cpp:1314
#23 0x00007f281df8caff in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5592413862e0, e=0x55924141f4c0) at kernel/qapplication.cpp:3632
#24 0x00007f281d3ca13a in QCoreApplication::notifyInternal2 (receiver=0x5592413862e0, event=0x55924141f4c0) at kernel/qcoreapplication.cpp:1063
#25 0x00007f281d3cd0b1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5592386faaf0) at kernel/qcoreapplication.cpp:1817
#26 0x00007f281d4226b3 in postEventSourceDispatch (s=s@entry=0x5592387fdaa0) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f2813bc48b7 in g_main_dispatch (context=0x7f2804005000) at ../glib/gmain.c:3337
#28 g_main_context_dispatch (context=0x7f2804005000) at ../glib/gmain.c:4055
#29 0x00007f2813bc4c38 in g_main_context_iterate (context=context@entry=0x7f2804005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#30 0x00007f2813bc4cef in g_main_context_iteration (context=0x7f2804005000, may_block=may_block@entry=1) at ../glib/gmain.c:4196
#31 0x00007f281d421d30 in QEventDispatcherGlib::processEvents (this=0x559238811d40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f281d3c8b7b in QEventLoop::exec (this=this@entry=0x7ffe8e0b4990, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#33 0x00007f281d3d0db0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x00007f281d82ba9c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#35 0x00007f281df8ca75 in QApplication::exec () at kernel/qapplication.cpp:2824
#36 0x000055923756cfc7 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kontact-21.04.0-1.1.x86_64/src/main.cpp:208
[Inferior 1 (process 3323) detached]

Possible duplicates by query: bug 432084, bug 429344, bug 427384, bug 424911, bug 423222.

Reported using DrKonqi