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

            Bug ID: 457350
           Summary: systemsettings crashes when accessing "Display and
                    Monitor"
           Product: systemsettings
           Version: 5.25.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: gunnar.s.mikkel...@gmail.com
  Target Milestone: ---

Application: systemsettings (5.25.3)

Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.18.13-200.fc36.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 36 (KDE Plasma)
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
$ systemsettings 
kf.coreaddons: "Could not load plugin from kcm_kaccounts: The shared library
was not found."
kf.coreaddons: "Could not load plugin from kcm_kscreen: The shared library was
not found."
kf.coreaddons: "Could not load plugin from kcm_pulseaudio: The shared library
was not found."
QQmlEngine::setContextForObject(): Object already has a QQmlContext


Then when clicking on  "Display and Monitor"

kf.coreaddons: "Could not load plugin from kcm_kscreen: The shared library was
not found."
QQmlEngine::setContextForObject(): Object already has a QQmlContext
KCrash: Application 'systemsettings' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi

Same with strace:

$ strace systemsettings 2>&1 | grep kcm_kscreen.so
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffdf2bd9f10) = -1 ENOENT
(No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/libkcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffdf2bd9f10) = -1 ENOENT
(No such file or directory)
statx(AT_FDCWD, "/usr/bin/kcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffdf2bd9f10) = -1 ENOENT
(No such file or directory)
statx(AT_FDCWD, "/usr/bin/libkcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffdf2bd9f10) = -1 ENOENT
(No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0755,
stx_size=230336, ...}) = 0
openat(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so",
O_RDONLY|O_CLOEXEC) = 15
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0755,
stx_size=230336, ...}) = 0
readlink("/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so", 0x7ffdf2bd96f0, 1023) =
-1 EINVAL (Invalid argument)
openat(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so",
O_RDONLY|O_CLOEXEC) = 15
openat(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so",
O_RDONLY|O_CLOEXEC) = 15
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffdf2bd7110) = -1 ENOENT
(No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/libkcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffdf2bd7110) = -1 ENOENT
(No such file or directory)
statx(AT_FDCWD, "/usr/bin/kcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffdf2bd7110) = -1 ENOENT
(No such file or directory)
statx(AT_FDCWD, "/usr/bin/libkcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffdf2bd7110) = -1 ENOENT
(No such file or directory)
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0755,
stx_size=230336, ...}) = 0
statx(AT_FDCWD, "/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0755,
stx_size=230336, ...}) = 0
readlink("/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so", 0x7ffdf2bd68f0, 1023) =
-1 EINVAL (Invalid argument)


$ ls -l /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
-rwxr-xr-x. 1 root root 230336 juli  12 19:24
/usr/lib64/qt5/plugins/kcms/kcm_kscreen.so

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Floating point exception

[KCrash Handler]
#4  0x00007feedcc43248 in OutputModel::data(QModelIndex const&, int) const ()
from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#5  0x00007fef0253a980 in QQmlDMCachedModelData::metaCall(QMetaObject::Call,
int, void**) () from /lib64/libQt5QmlModels.so.5
#6  0x00007fef04dbeab6 in loadProperty(QV4::ExecutionEngine*, QObject*,
QQmlPropertyData const&) () from /lib64/libQt5Qml.so.5
#7  0x00007fef04ddf6ca in QV4::Moth::VME::interpret(QV4::CppStackFrame*,
QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#8  0x00007fef04de40c7 in QV4::Moth::VME::exec(QV4::CppStackFrame*,
QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#9  0x00007fef04d75586 in QV4::Function::call(QV4::Value const*, QV4::Value
const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#10 0x00007fef04f03ad1 in QQmlJavaScriptExpression::evaluate(QV4::CallData*,
bool*) () from /lib64/libQt5Qml.so.5
#11 0x00007fef04f09f18 in QQmlBinding::evaluate(bool*) () from
/lib64/libQt5Qml.so.5
#12 0x00007fef04f0e167 in
QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&,
QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () from /lib64/libQt5Qml.so.5
#13 0x00007fef04f0bc14 in
QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from
/lib64/libQt5Qml.so.5
#14 0x00007fef04dbee1f in
QV4::QObjectWrapper::getProperty(QV4::ExecutionEngine*, QObject*,
QQmlPropertyData*) () from /lib64/libQt5Qml.so.5
#15 0x00007fef04ddf6ca in QV4::Moth::VME::interpret(QV4::CppStackFrame*,
QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#16 0x00007fef04de40c7 in QV4::Moth::VME::exec(QV4::CppStackFrame*,
QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#17 0x00007fef04d75586 in QV4::Function::call(QV4::Value const*, QV4::Value
const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#18 0x00007fef04f03ad1 in QQmlJavaScriptExpression::evaluate(QV4::CallData*,
bool*) () from /lib64/libQt5Qml.so.5
#19 0x00007fef04f09f18 in QQmlBinding::evaluate(bool*) () from
/lib64/libQt5Qml.so.5
#20 0x00007fef04f0e167 in
QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&,
QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () from /lib64/libQt5Qml.so.5
#21 0x00007fef04f0bc14 in
QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from
/lib64/libQt5Qml.so.5
#22 0x00007fef04f1932b in
QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () from
/lib64/libQt5Qml.so.5
#23 0x00007fef04eaed42 in
QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () from
/lib64/libQt5Qml.so.5
#24 0x00007fef04eaf1c5 in QQmlEnginePrivate::incubate(QQmlIncubator&,
QQmlContextData*) () from /lib64/libQt5Qml.so.5
#25 0x00007fef0254e707 in
QQmlDelegateModelPrivate::object(QQmlListCompositor::Group, int,
QQmlIncubator::IncubationMode) () from /lib64/libQt5QmlModels.so.5
#26 0x00007fef0559958f in QQuickRepeaterPrivate::requestItems() () from
/lib64/libQt5Quick.so.5
#27 0x00007fef0559b686 in QQuickRepeater::setModel(QVariant const&) () from
/lib64/libQt5Quick.so.5
#28 0x00007fef04ea4245 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData
const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>)
() from /lib64/libQt5Qml.so.5
#29 0x00007fef04f0b5b4 in QQmlBinding::slowWrite(QQmlPropertyData const&,
QQmlPropertyData const&, QV4::Value const&, bool,
QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt5Qml.so.5
#30 0x00007fef04f0c998 in GenericBinding<0>::write(QV4::Value const&, bool,
QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt5Qml.so.5
#31 0x00007fef04f0e296 in
QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&,
QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () from /lib64/libQt5Qml.so.5
#32 0x00007fef04f0bc14 in
QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from
/lib64/libQt5Qml.so.5
#33 0x00007fef04ee8b4f in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*,
void**) () from /lib64/libQt5Qml.so.5
#34 0x00007fef072db7e2 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#35 0x00007fef072db8c6 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#36 0x00007feedcc42b21 in KCMKScreen::configReady(KScreen::ConfigOperation*) ()
from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#37 0x00007fef072db8c6 in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#38 0x00007feee897b033 in
KScreen::ConfigOperation::finished(KScreen::ConfigOperation*) () from
/lib64/libKF5Screen.so.7
#39 0x00007feee897b4d8 in
KScreen::ConfigOperationPrivate::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from /lib64/libKF5Screen.so.7
#40 0x00007fef072d22c4 in QObject::event(QEvent*) () from
/lib64/libQt5Core.so.5
#41 0x00007fef07faed22 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#42 0x00007fef072a8228 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#43 0x00007fef072ab594 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib64/libQt5Core.so.5
#44 0x00007fef072f9467 in postEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /lib64/libQt5Core.so.5
#45 0x00007fef059d7faf in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#46 0x00007fef05a2d2c8 in g_main_context_iterate.constprop () from
/lib64/libglib-2.0.so.0
#47 0x00007fef059d5940 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#48 0x00007fef072f8f5a in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#49 0x00007fef072a6c7a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#50 0x00007fef072aed42 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#51 0x00005599fa14d0fb in main ()
[Inferior 1 (process 2197) detached]

Reported using DrKonqi

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

Reply via email to