Bug 439645 - Crash following invalid arguments to KXMLGUI::ContainerNode::plugActionList
Summary: Crash following invalid arguments to KXMLGUI::ContainerNode::plugActionList
Status: REPORTED
Alias: None
Product: kontact
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: 2021-07-08 13:11 UTC by Christopher Yeleighton
Modified: 2021-07-08 13:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2021-07-08 13:11:49 UTC
Application: kontact (5.17.2 (21.04.2))

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.12.13-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.2
Distribution: openSUSE Tumbleweed

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

Kontact informed me that Akonadi had not start correctly, so I told it to quit and launch.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fe7b25c8040 (LWP 1960))]
[KCrash Handler]
#6  0x00007fe7c5891147 in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/11/bits/atomic_base.h:481
#7  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#8  QBasicAtomicInteger<int>::loadRelaxed (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#9  QtPrivate::RefCount::isShared (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:101
#10 QList<QWidget*>::append (this=0x55b7d3b0ad70, t=@0x7ffd89a74510: 0x55b7d2ed9180) at ../../include/QtCore/../../src/corelib/tools/qlist.h:622
#11 0x00007fe7c58bdde0 in QWidget::insertAction (this=this@entry=0x55b7d2ed9180, before=<optimized out>, before@entry=0x0, action=0x55b7d3b0af30) at kernel/qwidget.cpp:3129
#12 0x00007fe7c60b1e43 in KXMLGUI::ActionList::plug (index=<optimized out>, container=0x55b7d2ed9180, this=0x55b7d39abcf0) at /usr/src/debug/kxmlgui-5.83.0-2.1.x86_64/src/kxmlguifactory_p.cpp:33
#13 KXMLGUI::ContainerNode::plugActionList (mergingIdxIt=<error reading variable: access outside bounds of object referenced via synthetic pointer>, mergingIdxIt=<error reading variable: access outside bounds of object referenced via synthetic pointer>, state=..., this=0x55b7d2eda850) at /usr/src/debug/kxmlgui-5.83.0-2.1.x86_64/src/kxmlguifactory_p.cpp:228
#14 KXMLGUI::ContainerNode::plugActionList (this=0x55b7d2eda850, state=...) at /usr/src/debug/kxmlgui-5.83.0-2.1.x86_64/src/kxmlguifactory_p.cpp:200
#15 0x00007fe7c60b1f00 in KXMLGUI::ContainerNode::plugActionList (this=0x55b7d4ab81c0, state=...) at /usr/src/debug/kxmlgui-5.83.0-2.1.x86_64/src/kxmlguifactory_p.cpp:204
#16 0x00007fe7c60b1f00 in KXMLGUI::ContainerNode::plugActionList (this=0x55b7d4984610, state=...) at /usr/src/debug/kxmlgui-5.83.0-2.1.x86_64/src/kxmlguifactory_p.cpp:204
#17 0x00007fe7c60b4911 in KXMLGUIFactory::plugActionList (this=0x55b7d2017390, client=0x55b7d4ad7c90, name=..., actionList=...) at /usr/src/debug/kxmlgui-5.83.0-2.1.x86_64/src/kxmlguifactory.cpp:556
#18 0x00007fe75cb5e830 in PimCommon::PluginInterface::initializePluginActions (this=<optimized out>, prefix=..., guiClient=0x55b7d4ad7c90) at /usr/src/debug/pimcommon-21.04.2-1.2.x86_64/src/pimcommonakonadi/genericplugins/plugininterface.cpp:157
#19 0x00007fe75d572d20 in KMMainWidget::initializePluginActions (this=0x55b7d584b920) at /usr/src/debug/kmail-21.04.2-1.1.x86_64/src/kmmainwidget.cpp:4083
#20 0x00007fe770007865 in KMailPart::guiActivateEvent (e=<optimized out>, this=0x55b7d4ad7c60) at /usr/src/debug/kmail-21.04.2-1.1.x86_64/src/kmail_part.cpp:114
#21 KMailPart::guiActivateEvent (this=0x55b7d4ad7c60, e=0x7ffd89a74900) at /usr/src/debug/kmail-21.04.2-1.1.x86_64/src/kmail_part.cpp:106
#22 0x00007fe7c4d08e7f in QObject::event (this=0x55b7d4ad7c60, e=0x7ffd89a74a90) at kernel/qobject.cpp:1336
#23 0x00007fe7c5885a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b7d4ad7c60, e=0x7ffd89a74a90) at kernel/qapplication.cpp:3632
#24 0x00007fe7c4cdc96a in QCoreApplication::notifyInternal2 (receiver=0x55b7d4ad7c60, event=0x7ffd89a74a90) at kernel/qcoreapplication.cpp:1064
#25 0x00007fe7c4499b8d in KParts::MainWindow::createGUI (this=0x55b7d4978910, part=0x55b7d4ad7c60) at /usr/src/debug/kparts-5.83.0-1.2.x86_64/src/mainwindow.cpp:102
#26 0x00007fe7c613244a in Kontact::MainWindow::selectPlugin (this=0x55b7d4978910, plugin=<optimized out>) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/mainwindow.cpp:626
#27 0x00007fe7c4d12fe8 in doActivate<false> (sender=0x55b7d3bdedc0, signal_index=7, argv=0x7ffd89a74cd0) at kernel/qobject.cpp:3898
#28 0x00007fe7c4d0c47f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fe7c6150800 <Kontact::SidePaneBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd89a74cd0) at kernel/qobject.cpp:3946
#29 0x00007fe7c612e3bf in Kontact::SidePaneBase::pluginSelected (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/build/src/kontactprivate_autogen/EWIEGA46WW/moc_sidepanebase.cpp:141
#30 0x00007fe7c4d12fb3 in QtPrivate::QSlotObjectBase::call (a=0x7ffd89a74e00, r=0x55b7d3bdedc0, this=0x55b7d2089610) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#31 doActivate<false> (sender=0x55b7d217f710, signal_index=15, argv=0x7ffd89a74e00) at kernel/qobject.cpp:3886
#32 0x00007fe7c4d0c47f in QMetaObject::activate (sender=sender@entry=0x55b7d217f710, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd89a74e00) at kernel/qobject.cpp:3946
#33 0x00007fe7c613b440 in Kontact::Navigator::pluginActivated (_t1=<optimized out>, this=0x55b7d217f710) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/build/src/kontactprivate_autogen/EWIEGA46WW/moc_iconsidepane.cpp:161
#34 Kontact::Navigator::slotCurrentChanged (this=0x55b7d217f710, current=...) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/iconsidepane.cpp:477
#35 0x00007fe7c4d12fb3 in QtPrivate::QSlotObjectBase::call (a=0x7ffd89a74f10, r=0x55b7d217f710, this=0x55b7d3b8c970) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#36 doActivate<false> (sender=0x55b7d3f50ee0, signal_index=4, argv=0x7ffd89a74f10) at kernel/qobject.cpp:3886
#37 0x00007fe7c4d0c47f in QMetaObject::activate (sender=sender@entry=0x55b7d3f50ee0, m=m@entry=0x7fe7c4fab080 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd89a74f10) at kernel/qobject.cpp:3946
#38 0x00007fe7c4c872b3 in QItemSelectionModel::currentChanged (this=this@entry=0x55b7d3f50ee0, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:482
#39 0x00007fe7c4c8ac99 in QItemSelectionModel::setCurrentIndex (this=0x55b7d3f50ee0, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1416
#40 0x00007fe7c613e0b9 in Kontact::Navigator::setCurrentPlugin (this=0x55b7d217f710, plugin=...) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/iconsidepane.cpp:375
#41 0x00007fe7c6132380 in Kontact::IconSidePane::setCurrentPlugin (plugin=..., this=0x55b7d3bdedc0) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/iconsidepane.cpp:540
#42 Kontact::MainWindow::selectPlugin (this=0x55b7d4978910, plugin=<optimized out>) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/mainwindow.cpp:595
#43 0x00007fe7c61334dc in Kontact::MainWindow::loadSettings (this=this@entry=0x55b7d4978910) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/mainwindow.cpp:689
#44 0x00007fe7c6137846 in Kontact::MainWindow::initObject (this=0x55b7d4978910) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/mainwindow.cpp:158
#45 0x00007fe7c6138537 in Kontact::MainWindow::MainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/mainwindow.cpp:86
#46 0x000055b7cfcd7095 in KontactApp::activate (this=0x7ffd89a75bd0, args=..., workingDir=...) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/main.cpp:112
#47 0x00007fe7c610434e in KontactInterface::PimUniqueApplication::newInstance (this=0x7ffd89a75bd0, startupId=..., arguments=..., workingDirectory=...) at /usr/src/debug/kontactinterface-21.04.2-1.3.x86_64/src/pimuniqueapplication.cpp:177
#48 0x00007fe7c6106703 in KontactInterface::PimUniqueApplication::qt_static_metacall (_c=<optimized out>, _id=<optimized out>, _a=0x7ffd89a754d0, _o=0x7ffd89a75bd0) at /usr/src/debug/kontactinterface-21.04.2-1.3.x86_64/build/src/KF5KontactInterface_autogen/EWIEGA46WW/moc_pimuniqueapplication.cpp:87
#49 KontactInterface::PimUniqueApplication::qt_static_metacall (_o=_o@entry=0x7ffd89a75bd0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7ffd89a754d0) at /usr/src/debug/kontactinterface-21.04.2-1.3.x86_64/build/src/KF5KontactInterface_autogen/EWIEGA46WW/moc_pimuniqueapplication.cpp:79
#50 0x00007fe7c61067e3 in KontactInterface::PimUniqueApplication::qt_metacall (this=0x7ffd89a75bd0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffd89a754d0) at /usr/src/debug/kontactinterface-21.04.2-1.3.x86_64/build/src/KF5KontactInterface_autogen/EWIEGA46WW/moc_pimuniqueapplication.cpp:124
#51 0x00007fe7c5e4b6bb in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:190
#52 0x00007fe7c5e4f0ac in QDBusConnectionPrivate::activateCall (this=this@entry=0x7fe7a00085f0, object=0x7ffd89a75bd0, flags=81, msg=...) at qdbusintegrator.cpp:904
#53 0x00007fe7c5e4f93d in QDBusConnectionPrivate::activateCall (msg=..., flags=<optimized out>, object=<optimized out>, this=0x7fe7a00085f0) at qdbusintegrator.cpp:853
#54 QDBusConnectionPrivate::activateObject (this=0x7fe7a00085f0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1521
#55 0x00007fe7c5e51e58 in QDBusActivateObjectEvent::placeMetaCall (this=0x55b7d2039890) at qdbusintegrator.cpp:1617
#56 0x00007fe7c4d08f5e in QObject::event (this=0x7ffd89a75bd0, e=0x55b7d2039890) at kernel/qobject.cpp:1314
#57 0x00007fe7c5885a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7ffd89a75bd0, e=0x55b7d2039890) at kernel/qapplication.cpp:3632
#58 0x00007fe7c4cdc96a in QCoreApplication::notifyInternal2 (receiver=0x7ffd89a75bd0, event=0x55b7d2039890) at kernel/qcoreapplication.cpp:1064
#59 0x00007fe7c4cdf9b7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b7d1b245d0) at kernel/qcoreapplication.cpp:1821
#60 0x00007fe7c4d347d3 in postEventSourceDispatch (s=s@entry=0x55b7d1c1d160) at kernel/qeventdispatcher_glib.cpp:277
#61 0x00007fe7bb55780f in g_main_dispatch (context=0x7fe7a8005000) at ../glib/gmain.c:3337
#62 g_main_context_dispatch (context=0x7fe7a8005000) at ../glib/gmain.c:4055
#63 0x00007fe7bb557b98 in g_main_context_iterate (context=context@entry=0x7fe7a8005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#64 0x00007fe7bb557c4f in g_main_context_iteration (context=0x7fe7a8005000, may_block=1) at ../glib/gmain.c:4196
#65 0x00007fe7c4d33e54 in QEventDispatcherGlib::processEvents (this=0x55b7d1c1e5e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#66 0x00007fe7c4cdb36b in QEventLoop::exec (this=this@entry=0x7ffd89a75ab0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#67 0x00007fe7c4ce3650 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#68 0x00007fe7c51271dc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#69 0x00007fe7c58859f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#70 0x000055b7cfcd5fb8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kontact-21.04.2-1.1.x86_64/src/main.cpp:208
[Inferior 1 (process 1960) detached]

Possible duplicates by query: bug 435992, bug 434725, bug 434205, bug 433252, bug 429420.

Reported using DrKonqi