Bug 434107

Summary: Kontect fails to restart
Product: [Applications] kontact Reporter: Simón Martínez <hostmaster>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash CC: bugs
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Simón Martínez 2021-03-07 13:15:55 UTC
Application: kontact (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.63-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

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

If I close Kontact and immediately start it again, it shows an error, but it starts up anyway and still works fine. But it always gives that error.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#4  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::load<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:227
#6  QBasicAtomicInteger<int>::load (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:103
#7  QtPrivate::RefCount::isShared (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:101
#8  QList<QWidget*>::append (this=0x56410fb4bd98, t=@0x7ffd825f6050: 0x56410f8fa980) at ../../include/QtCore/../../src/corelib/tools/qlist.h:584
#9  0x00007f48ef98b7e8 in QWidget::insertAction (this=0x56410f8fa980, before=<optimized out>, action=0x56410fb58570) at kernel/qwidget.cpp:3314
#10 0x00007f48f085d3e2 in ?? () from /usr/lib64/libKF5XmlGui.so.5
#11 0x00007f48f0860d02 in ?? () from /usr/lib64/libKF5XmlGui.so.5
#12 0x00007f48f0860ec6 in ?? () from /usr/lib64/libKF5XmlGui.so.5
#13 0x00007f48f0860f03 in ?? () from /usr/lib64/libKF5XmlGui.so.5
#14 0x00007f48f0860f03 in ?? () from /usr/lib64/libKF5XmlGui.so.5
#15 0x00007f48f085a7fb in KXMLGUIFactory::plugActionList(KXMLGUIClient*, QString const&, QList<QAction*> const&) () from /usr/lib64/libKF5XmlGui.so.5
#16 0x00007f4841c65b1d in PimCommon::PluginInterface::initializePluginActions(QString const&, KXMLGUIClient*) () from /usr/lib64/libKF5PimCommonAkonadi.so.5
#17 0x00007f4848f7b3ce in KMMainWidget::initializePluginActions (this=<optimized out>) at /usr/src/debug/kmail-20.04.2-lp152.2.3.1.x86_64/src/kmmainwidget.cpp:4217
#18 0x00007f4849346155 in KMailPart::guiActivateEvent (this=0x564111713aa0, e=<optimized out>) at /usr/src/debug/kmail-20.04.2-lp152.2.3.1.x86_64/src/kmail_part.cpp:133
#19 0x00007f48eeaf999b in QObject::event (this=0x564111713aa0, e=<optimized out>) at kernel/qobject.cpp:1283
#20 0x00007f48ef953f2c in QApplicationPrivate::notify_helper (this=this@entry=0x56410f14b190, receiver=receiver@entry=0x564111713aa0, e=e@entry=0x7ffd825f67c0) at kernel/qapplication.cpp:3701
#21 0x00007f48ef95b540 in QApplication::notify (this=0x7ffd825f7be0, receiver=0x564111713aa0, e=0x7ffd825f67c0) at kernel/qapplication.cpp:3447
#22 0x00007f48eeac9328 in QCoreApplication::notifyInternal2 (receiver=0x564111713aa0, event=0x7ffd825f67c0) at kernel/qcoreapplication.cpp:1088
#23 0x00007f48ec85a061 in KParts::MainWindow::createGUI(KParts::Part*) () from /usr/lib64/libKF5Parts.so.5
#24 0x00007f48f119b793 in Kontact::MainWindow::selectPlugin(KontactInterface::Plugin*) () from /usr/lib64/libkontactprivate.so.5
#25 0x00007f48f1195108 in ?? () from /usr/lib64/libkontactprivate.so.5
#26 0x00007f48eeaf8e35 in QMetaObject::activate (sender=0x56410f93cc20, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3804
#27 0x00007f48f1194adf in ?? () from /usr/lib64/libkontactprivate.so.5
#28 0x00007f48eeaf8f4f in QtPrivate::QSlotObjectBase::call (a=0x7ffd825f6b90, r=0x56410f93cc20, this=0x5641125340f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#29 QMetaObject::activate (sender=0x56410fa535f0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3784
#30 0x00007f48f1194a7f in ?? () from /usr/lib64/libkontactprivate.so.5
#31 0x00007f48eeaf8f4f in QtPrivate::QSlotObjectBase::call (a=0x7ffd825f6cc0, r=0x56410fa535f0, this=0x5641121d5960) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#32 QMetaObject::activate (sender=sender@entry=0x5641124aeca0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd825f6cc0) at kernel/qobject.cpp:3784
#33 0x00007f48eeaf9547 in QMetaObject::activate (sender=sender@entry=0x5641124aeca0, m=m@entry=0x7f48eef76620 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd825f6cc0) at kernel/qobject.cpp:3657
#34 0x00007f48eea7e9fa in QItemSelectionModel::currentChanged (this=this@entry=0x5641124aeca0, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:465
#35 0x00007f48eea7ec86 in QItemSelectionModel::setCurrentIndex (this=0x5641124aeca0, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1414
#36 0x00007f48f11a24b1 in ?? () from /usr/lib64/libkontactprivate.so.5
#37 0x00007f48f119b6c0 in Kontact::MainWindow::selectPlugin(KontactInterface::Plugin*) () from /usr/lib64/libkontactprivate.so.5
#38 0x00007f48f119a03c in Kontact::MainWindow::loadSettings() () from /usr/lib64/libkontactprivate.so.5
#39 0x00007f48f119dd8d in Kontact::MainWindow::initObject() () from /usr/lib64/libkontactprivate.so.5
#40 0x00007f48f119e5aa in Kontact::MainWindow::MainWindow() () from /usr/lib64/libkontactprivate.so.5
#41 0x000056410cf5f5ac in ?? ()
#42 0x00007f48f0f6d33e in KontactInterface::PimUniqueApplication::newInstance(QByteArray const&, QStringList const&, QString const&) () from /usr/lib64/libKF5KontactInterface.so.5
#43 0x00007f48f0f67053 in ?? () from /usr/lib64/libKF5KontactInterface.so.5
#44 0x00007f48f0f67403 in KontactInterface::PimUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libKF5KontactInterface.so.5
#45 0x00007f48ed1a3f78 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x7f48b800bde0, object=object@entry=0x7ffd825f7be0, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:991
#46 0x00007f48ed1a8de0 in QDBusConnectionPrivate::activateCall (this=this@entry=0x7f48b800bde0, object=0x7ffd825f7be0, flags=81, msg=...) at qdbusintegrator.cpp:894
#47 0x00007f48ed1a92c7 in QDBusConnectionPrivate::activateCall (msg=..., flags=<optimized out>, object=<optimized out>, this=0x7f48b800bde0) at qdbusintegrator.cpp:843
#48 QDBusConnectionPrivate::activateObject (this=0x7f48b800bde0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1502
#49 0x00007f48ed1abd7e in QDBusActivateObjectEvent::placeMetaCall (this=0x7f48b8014fa0) at qdbusintegrator.cpp:1598
#50 0x00007f48eeaf99e2 in QObject::event (this=this@entry=0x7ffd825f7be0, e=e@entry=0x7f48b8014fa0) at kernel/qobject.cpp:1261
#51 0x00007f48eead06cc in QCoreApplication::event (this=this@entry=0x7ffd825f7be0, e=e@entry=0x7f48b8014fa0) at kernel/qcoreapplication.cpp:1957
#52 0x00007f48ef0cf8f4 in QGuiApplication::event (this=this@entry=0x7ffd825f7be0, e=e@entry=0x7f48b8014fa0) at kernel/qguiapplication.cpp:1806
#53 0x00007f48ef959acf in QApplication::event (this=0x7ffd825f7be0, e=0x7f48b8014fa0) at kernel/qapplication.cpp:1955
#54 0x00007f48ef953f2c in QApplicationPrivate::notify_helper (this=this@entry=0x56410f14b190, receiver=receiver@entry=0x7ffd825f7be0, e=e@entry=0x7f48b8014fa0) at kernel/qapplication.cpp:3701
#55 0x00007f48ef95b540 in QApplication::notify (this=0x7ffd825f7be0, receiver=0x7ffd825f7be0, e=0x7f48b8014fa0) at kernel/qapplication.cpp:3447
#56 0x00007f48eeac9328 in QCoreApplication::notifyInternal2 (receiver=0x7ffd825f7be0, event=0x7f48b8014fa0) at kernel/qcoreapplication.cpp:1088
#57 0x00007f48eeac94fe in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f48b8014fa0) at kernel/qcoreapplication.cpp:1476
#58 0x00007f48eeacbee7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x56410f145620) at kernel/qcoreapplication.cpp:1825
#59 0x00007f48eeacc488 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#60 0x00007f48eeb26d93 in postEventSourceDispatch (s=0x56410f2346e0) at kernel/qeventdispatcher_glib.cpp:276
#61 0x00007f48e79f24a4 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#62 0x00007f48e79f2840 in ?? () from /usr/lib64/libglib-2.0.so.0
#63 0x00007f48e79f28cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#64 0x00007f48eeb263af in QEventDispatcherGlib::processEvents (this=0x56410f235750, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#65 0x00007f48eeac757a in QEventLoop::exec (this=this@entry=0x7ffd825f7ab0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#66 0x00007f48eead0780 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#67 0x000056410cf5e785 in ?? ()
#68 0x00007f48ede8434a in __libc_start_main () from /lib64/libc.so.6
#69 0x000056410cf5edaa in ?? ()
[Inferior 1 (process 3223) detached]

Possible duplicates by query: bug 433252, bug 431764, bug 430790, bug 429420, bug 427021.

Reported using DrKonqi
Comment 1 Taner 2021-03-16 11:57:48 UTC
Created attachment 136734 [details]
New crash information added by DrKonqi

kontact (5.16.3 (20.12.3)) using Qt 5.15.2

Kontact crashed message shown at every startup of Kontact except the first one after a new plasma session is started, Kontact seems to still work fine.

-- Backtrace (Reduced):
#8  QList<QWidget*>::append(QWidget* const&) (this=0x107, t=@0x7ffdab5bc400: 0x55b443369de0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:622
#9  0x00007f797c1bcbb0 in QWidget::insertAction(QAction*, QAction*) (this=this@entry=0x55b443369de0, before=<optimized out>, before@entry=0x0, action=0x55b446630a20) at kernel/qwidget.cpp:3129
#10 0x00007f797c9851b3 in KXMLGUI::ActionList::plug(QWidget*, int) const (index=<optimized out>, container=0x55b443369de0, this=0x55b4436c7a00) at /usr/src/debug/kxmlgui-5.80.0-241.1.x86_64/src/kxmlguifactory_p.cpp:33
#11 KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&, QTypedArrayData<KXMLGUI::MergingIndex>::iterator const&) (mergingIdxIt=<optimized out>, mergingIdxIt=<synthetic pointer>..., state=..., this=0x55b4468018e0) at /usr/src/debug/kxmlgui-5.80.0-241.1.x86_64/src/kxmlguifactory_p.cpp:222
#12 KXMLGUI::ContainerNode::plugActionList(KXMLGUI::BuildState&) (this=0x55b4468018e0, state=...) at /usr/src/debug/kxmlgui-5.80.0-241.1.x86_64/src/kxmlguifactory_p.cpp:192