https://bugs.kde.org/show_bug.cgi?id=429027

            Bug ID: 429027
           Summary: System Settings segmentation faulted in
                    std::__atomic_base<QObjectPrivate::ConnectionData*>::l
                    oad when selecting Regional Settings
           Product: systemsettings
           Version: 5.20.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: matthew.fagn...@utoronto.ca
  Target Milestone: ---

Application: systemsettings5 (5.20.2)

Qt Version: 5.15.1
Frameworks Version: 5.75.0
Operating System: Linux 5.9.8-200.fc33.x86_64 x86_64
Windowing system: Wayland
Distribution: Fedora 33 (KDE Plasma)

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

I was using Plasma 5.20.3 on Wayland in Fedora 33 with KF 5.75.0, Qt 5.15.1,
Mesa 20.2.2 in Fedora 33. I started System Settings. I selected Startup and
Shutdown > Login Screen (SDDM). I set the sddm background to Breeze because the
default Breeze Fedora showed a white sddm background after logging out of
Plasma. I selected various items on the menu on the left. System Settings
segmentation faulted in
std::__atomic_base<QObjectPrivate::ConnectionData*>::load when I selected
Regional Settings.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f434d202264 in
std::__atomic_base<QObjectPrivate::ConnectionData*>::load(std::memory_order)
const (__m=<optimized out>, this=<optimized out>) at
/usr/include/c++/10/bits/atomic_base.h:747
#5  std::atomic<QObjectPrivate::ConnectionData*>::load(std::memory_order) const
(__m=<optimized out>, this=<optimized out>) at /usr/include/c++/10/atomic:523
#6 
QAtomicOps<QObjectPrivate::ConnectionData*>::loadRelaxed<QObjectPrivate::ConnectionData*>(std::atomic<QObjectPrivate::ConnectionData*>
const&) (_q_value=<optimized out>) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#7  QBasicAtomicPointer<QObjectPrivate::ConnectionData>::loadRelaxed() const
(this=<optimized out>) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#8  QObjectPrivate::ensureConnectionData() (this=<optimized out>) at
kernel/qobject_p.h:371
#9  QObjectPrivate::addConnection(int, QObjectPrivate::Connection*) (this=0x0,
signal=signal@entry=3, c=c@entry=0x55743c065190) at kernel/qobject.cpp:324
#10 0x00007f434d204b3e in QObjectPrivate::connectImpl(QObject const*, int,
QObject const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int
const*, QMetaObject const*) (sender=0x55743d481e40, signal_index=3,
receiver=0x55743c17c8f0, slot=<optimized out>, slotObj=<optimized out>,
type=<optimized out>, types=<optimized out>, senderMetaObject=<optimized out>)
at kernel/qobject.h:132
#11 0x00007f434d205005 in QObject::connectImpl(QObject const*, void**, QObject
const*, void**, QtPrivate::QSlotObjectBase*, Qt::ConnectionType, int const*,
QMetaObject const*) (sender=0x55743d481e40, signal=<optimized out>,
receiver=0x55743c17c8f0, slot=0x0, slotObj=0x55743c796c90,
type=Qt::AutoConnection, types=0x0, senderMetaObject=<optimized out>) at
kernel/qobject.cpp:5001
#12 0x00007f432438dd64 in QObject::connect<void (QmlComponentsPool::*)(),
ColumnView::classBegin()::<lambda()> > (type=Qt::AutoConnection, slot=...,
context=0x55743c17c8f0, signal=(void (QmlComponentsPool::*)(class
QmlComponentsPool * const)) 0x7f432437b170
<QmlComponentsPool::gridUnitChanged()>, sender=0x55743d481e40) at
/usr/include/qt5/QtCore/qobject.h:347
#13 ColumnView::classBegin() (this=0x55743c17c8f0) at
/usr/src/debug/kf5-kirigami2-5.75.0-1.fc33.x86_64/src/columnview.cpp:1406
#14 0x00007f434c2fbe6d in QQmlObjectCreator::createInstance(int, QObject*,
bool) (this=0x7ffe1365fc30, index=38, parent=<optimized out>,
isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1291
#15 0x00007f434c2fe1fe in
QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*,
QV4::CompiledData::Binding const*) (this=this@entry=0x7ffe1365fc30,
bindingProperty=bindingProperty@entry=0x7f42f40c93a8,
binding=binding@entry=0x7f42b3b4abc8) at /usr/include/qt5/QtCore/qendian.h:288
#16 0x00007f434c2fe7cf in QQmlObjectCreator::setupBindings(bool)
(this=0x7ffe1365fc30, applyDeferredBindings=false) at
qml/qqmlobjectcreator.cpp:798
#17 0x00007f434c2fb57e in QQmlObjectCreator::populateInstance(int, QObject*,
QObject*, QQmlPropertyData const*) (this=this@entry=0x7ffe1365fc30, index=-1,
index@entry=0, instance=0x0, bindingTarget=0x0,
valueTypeProperty=valueTypeProperty@entry=0x0) at
qml/qqmlobjectcreator.cpp:1555
#18 0x00007f434c2fc0db in QQmlObjectCreator::createInstance(int, QObject*,
bool) (this=0x7ffe1365fc30, index=0, parent=<optimized out>,
isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1348
#19 0x00007f434c2f73a0 in QQmlObjectCreator::create(int, QObject*,
QQmlInstantiationInterrupt*, int) (this=0x7ffe1365fc30,
subComponentIndex=<optimized out>, parent=0x0, interrupt=0x0, flags=<optimized
out>) at qml/qqmlobjectcreator.cpp:204
#20 0x00007f434c2fc5e6 in QQmlObjectCreator::createInstance(int, QObject*,
bool) (this=0x7ffe13660460, index=2, parent=0x55743d559b40,
isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1231
#21 0x00007f434c2fe1fe in
QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*,
QV4::CompiledData::Binding const*) (this=this@entry=0x7ffe13660460,
bindingProperty=bindingProperty@entry=0x7f42b40e8958,
binding=binding@entry=0x7f42b389eb90) at /usr/include/qt5/QtCore/qendian.h:288
#22 0x00007f434c2fe7cf in QQmlObjectCreator::setupBindings(bool)
(this=0x7ffe13660460, applyDeferredBindings=false) at
qml/qqmlobjectcreator.cpp:798
#23 0x00007f434c2fb57e in QQmlObjectCreator::populateInstance(int, QObject*,
QObject*, QQmlPropertyData const*) (this=this@entry=0x7ffe13660460, index=-1,
index@entry=0, instance=0x0, bindingTarget=0x0,
valueTypeProperty=valueTypeProperty@entry=0x0) at
qml/qqmlobjectcreator.cpp:1555
#24 0x00007f434c2fc0db in QQmlObjectCreator::createInstance(int, QObject*,
bool) (this=0x7ffe13660460, index=0, parent=<optimized out>,
isContextObject=<optimized out>) at qml/qqmlobjectcreator.cpp:1348
#25 0x00007f434c2f73a0 in QQmlObjectCreator::create(int, QObject*,
QQmlInstantiationInterrupt*, int) (this=0x7ffe13660460,
subComponentIndex=<optimized out>, parent=0x0, interrupt=0x0, flags=<optimized
out>) at qml/qqmlobjectcreator.cpp:204
#26 0x00007f434c2fc5e6 in QQmlObjectCreator::createInstance(int, QObject*,
bool) (this=0x55743c6b5bf0, index=0, parent=0x0, isContextObject=<optimized
out>) at qml/qqmlobjectcreator.cpp:1231
#27 0x00007f434c2f73a0 in QQmlObjectCreator::create(int, QObject*,
QQmlInstantiationInterrupt*, int) (this=0x55743c6b5bf0,
subComponentIndex=<optimized out>, parent=0x0, interrupt=0x0, flags=<optimized
out>) at qml/qqmlobjectcreator.cpp:204
#28 0x00007f434c29d60b in QQmlComponentPrivate::beginCreate(QQmlContextData*)
(this=0x55743d564090, context=<optimized out>) at
/usr/include/qt5/QtCore/qscopedpointer.h:116
#29 0x00007f434c29e15a in QQmlComponent::create(QQmlContext*)
(this=0x55743be26a80, context=<optimized out>) at qml/qqmlcomponent.cpp:818
#30 0x00007f434e6f2435 in
KCModuleQml::KCModuleQml(std::unique_ptr<KQuickAddons::ConfigModule,
std::default_delete<KQuickAddons::ConfigModule> >, QWidget*, QList<QVariant>
const&) (args=..., parent=0x55743d504a50, configModule=std::unique_ptr<class
KQuickAddons::ConfigModule> = {...}, this=0x55743c21ed20) at
/usr/src/debug/kf5-kcmutils-5.75.0-1.fc33.x86_64/src/kcmoduleqml.cpp:150
#31 KCModuleLoader::loadModule(KCModuleInfo const&,
KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) (mod=<optimized
out>, report=<optimized out>, parent=0x55743d504a50, args=<optimized out>) at
/usr/src/debug/kf5-kcmutils-5.75.0-1.fc33.x86_64/src/kcmoduleloader.cpp:101
#32 0x00007f434e6f3ae4 in KCModuleProxyPrivate::loadModule()
(this=this@entry=0x55743c6fae40) at
/usr/src/debug/kf5-kcmutils-5.75.0-1.fc33.x86_64/src/kcmoduleproxy.cpp:83
#33 0x00007f434e6f4178 in KCModuleProxy::realModule() const (this=<optimized
out>) at
/usr/src/debug/kf5-kcmutils-5.75.0-1.fc33.x86_64/src/kcmoduleproxy.cpp:56
#34 0x00007f434e731439 in ModuleView::updatePageIconHeader(KPageWidgetItem*,
bool) (this=<optimized out>, page=0x55743c88da40, light=<optimized out>) at
/usr/src/debug/plasma-systemsettings-5.20.3-1.fc33.x86_64/core/ModuleView.cpp:224
#35 0x00007f434e732072 in ModuleView::addModule(KCModuleInfo*, QStringList
const&) (this=0x55743a825a00, module=0x55743a839428, args=<optimized out>) at
/usr/src/debug/plasma-systemsettings-5.20.3-1.fc33.x86_64/core/ModuleView.cpp:201
#36 0x00007f434e732620 in ModuleView::loadModule(QModelIndex const&,
QStringList const&) (args=..., menuItem=<optimized out>, this=0x55743a825a00)
at
/usr/src/debug/plasma-systemsettings-5.20.3-1.fc33.x86_64/core/ModuleView.cpp:156
#37 ModuleView::loadModule(QModelIndex const&, QStringList const&)
(this=0x55743a825a00, menuItem=<optimized out>, args=...) at
/usr/src/debug/plasma-systemsettings-5.20.3-1.fc33.x86_64/core/ModuleView.cpp:140
#38 0x00007f4338195915 in SidebarMode::loadModule(QModelIndex const&,
QStringList const&) (this=0x55743a7d65f0, activeModule=..., args=...) at
/usr/src/debug/plasma-systemsettings-5.20.3-1.fc33.x86_64/sidebar/SidebarMode.cpp:473
#39 0x00007f4338199541 in SidebarMode::loadModule(QModelIndex const&,
QStringList const&) (args=..., activeModule=<optimized out>,
this=0x55743a7d65f0) at /usr/include/qt5/QtCore/qabstractitemmodel.h:76
#40 SidebarMode::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
(_o=0x55743a7d65f0, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at
/usr/src/debug/plasma-systemsettings-5.20.3-1.fc33.x86_64/x86_64-redhat-linux-gnu/sidebar/systemsettings_sidebar_mode_autogen/EWIEGA46WW/moc_SidebarMode.cpp:464
#41 0x00007f4338199b33 in SidebarMode::qt_metacall(QMetaObject::Call, int,
void**) (this=0x55743a7d65f0, _c=QMetaObject::InvokeMetaMethod, _id=19,
_a=0x7ffe13660eb0) at
/usr/src/debug/plasma-systemsettings-5.20.3-1.fc33.x86_64/x86_64-redhat-linux-gnu/sidebar/systemsettings_sidebar_mode_autogen/EWIEGA46WW/moc_SidebarMode.cpp:591
#42 0x00007f434c2cb71d in QQmlObjectOrGadget::metacall(QMetaObject::Call, int,
void**) const (this=0x7ffe13661150, type=QMetaObject::InvokeMetaMethod,
index=<optimized out>, argv=<optimized out>) at qml/qqmlobjectorgadget.cpp:51
#43 0x00007f434c1d6739 in CallMethod (callType=<optimized out>,
callArgs=0x7ffe13660f38, engine=<optimized out>, argTypes=<optimized out>,
argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>,
object=...) at /usr/include/qt5/QtCore/qvarlengtharray.h:201
#44 CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&,
QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=...,
data=..., engine=engine@entry=0x55743a6a6440,
callArgs=callArgs@entry=0x7f432c2165b8,
callType=callType@entry=QMetaObject::InvokeMetaMethod) at
jsruntime/qv4qobjectwrapper.cpp:1569
#45 0x00007f434c1d7b6b in CallOverloaded
(callType=QMetaObject::InvokeMetaMethod, propertyCache=0x55743aa2c200,
callArgs=0x7f432c2165b8, engine=0x55743a6a6440, data=..., object=...) at
jsruntime/qv4qobjectwrapper.cpp:1645
#46 QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int)
const (this=<optimized out>, thisObject=0x7ffe13661220, argv=<optimized out>,
argc=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:2133
#47 0x00007f434c1fd80a in QV4::FunctionObject::call(QV4::Value const*,
QV4::Value const*, int) const (argc=1, argv=0x7f432c216558,
thisObject=0x7f432c216540, this=0x7ffe136612a8) at
jsruntime/qv4functionobject_p.h:172
#48 QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value
const&, unsigned int, QV4::Value*, int) (engine=0x55743a6a6440, base=...,
index=<optimized out>, argv=0x7f432c216558, argc=1) at
jsruntime/qv4runtime.cpp:1460
#49 0x00007f42ca5e544c in  ()
#50 0x00007ffe136614e0 in  ()
#51 0x0000000000000000 in  ()
[Inferior 1 (process 10609) detached]

The reporter indicates this bug may be a duplicate of or related to bug 428170.

Possible duplicates by query: bug 428170, bug 417802.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to