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

            Bug ID: 465752
           Summary: System Settings crashes when launching Flatpak
                    Permissions KCM
    Classification: Applications
           Product: systemsettings
           Version: 5.27.0
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: lemuelsimo...@protonmail.com
  Target Milestone: ---

Application: systemsettings (5.27.0)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.10-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.0 [KCrashBackend]

-- Information about the crash:
This problem comes with the addition of the Flapak Permissions KCM, that came
with the Plasma 5.27 update. When searching for the KCM in KRunner or System
Settings, the icon is broken/missing. Selecting the Flatpak KCM will
immediately crash System Settings. Running it in the terminal doesn't give much
info as to what went wrong either. I want to assume it is  a packaging issue,
but I'm not seeing anything obvious in the package spec files.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f76548a8640 in flatpak_installation_list_installed_refs_by_kind ()
from /lib64/libflatpak.so.0
#5  0x00007f7654939338 in ?? () from
/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_flatpak.so
#6  0x00007f765493a2de in ?? () from
/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_flatpak.so
#7  0x00007f768b8004e8 in KPluginFactory::create(char const*, QWidget*,
QObject*, QList<QVariant> const&, QString const&) () from
/lib64/libKF5CoreAddons.so.5
#8  0x00007f768b76df59 in KCModuleLoader::loadModule(KPluginMetaData const&,
QWidget*, QList<QVariant> const&) () from /lib64/libKF5KCMUtils.so.5
#9  0x00007f768b77127d in ?? () from /lib64/libKF5KCMUtils.so.5
#10 0x00007f768b7718a8 in KCModuleProxy::realModule() const () from
/lib64/libKF5KCMUtils.so.5
#11 0x00007f768bf4d080 in ModuleView::updatePageIconHeader(KPageWidgetItem*) ()
from /lib64/libsystemsettingsview.so.3
#12 0x00007f768bf5050a in ModuleView::addModule(MenuItem*, QStringList const&)
() from /lib64/libsystemsettingsview.so.3
#13 0x00007f765a92c1d9 in ?? () from
/usr/lib64/qt5/plugins/systemsettingsview/systemsettings_sidebar_mode.so
#14 0x00007f765a92eef1 in ?? () from
/usr/lib64/qt5/plugins/systemsettingsview/systemsettings_sidebar_mode.so
#15 0x00007f765a92f883 in ?? () from
/usr/lib64/qt5/plugins/systemsettingsview/systemsettings_sidebar_mode.so
#16 0x00007f76882de3a3 in QQmlObjectOrGadget::metacall
(this=this@entry=0x7fffa71ba640, type=type@entry=QMetaObject::InvokeMetaMethod,
index=<optimized out>, index@entry=27, argv=<optimized out>) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/qml/qqmlobjectorgadget.cpp:51
#17 0x00007f76881bb799 in CallMethod (callType=<optimized out>, callArgs=0x2,
engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>,
returnType=<optimized out>, index=<optimized out>, object=...) at
/usr/include/qt5/QtCore/qvarlengtharray.h:189
#18 CallPrecise (object=..., data=..., engine=engine@entry=0x564671da4aa0,
callArgs=callArgs@entry=0x7f765622b5b8,
callType=callType@entry=QMetaObject::InvokeMetaMethod) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/jsruntime/qv4qobjectwrapper.cpp:1553
#19 0x00007f76881bd3fb in CallOverloaded (callType=<optimized out>,
propertyCache=<optimized out>, callArgs=<optimized out>, engine=<optimized
out>, data=..., object=...) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/jsruntime/qv4qobjectwrapper.cpp:1629
#20 QV4::QObjectMethod::callInternal (this=<optimized out>,
thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/jsruntime/qv4qobjectwrapper.cpp:2117
#21 0x00007f76881d9e86 in QV4::FunctionObject::call (argc=<optimized out>,
argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at
../../include/QtQml/5.15.8/QtQml/private/../../../../../../src/qml/jsruntime/qv4functionobject_p.h:202
#22 QV4::Moth::VME::interpret (frame=0x7f7654911168, engine=0x564671da4aa0,
code=0x5646722c7b60 "\340\206\024\210v\177") at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/jsruntime/qv4vme_moth.cpp:757
#23 0x00007f76881dd5cf in QV4::Moth::VME::exec
(frame=frame@entry=0x7fffa71ba900, engine=engine@entry=0x564671da4aa0) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/jsruntime/qv4vme_moth.cpp:466
#24 0x00007f768817050e in QV4::Function::call (this=this@entry=0x564671e0c820,
thisObject=<optimized out>, argv=argv@entry=0x7f765622b500, argc=<optimized
out>, context=<optimized out>) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/jsruntime/qv4function.cpp:69
#25 0x00007f76882f8b5d in QQmlJavaScriptExpression::evaluate
(this=this@entry=0x564672eb5be0, callData=callData@entry=0x7f765622b4d0,
isUndefined=isUndefined@entry=0x0) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/qml/qqmljavascriptexpression.cpp:212
#26 0x00007f76882aa18f in QQmlBoundSignalExpression::evaluate (this=<optimized
out>, a=<optimized out>) at
../../include/QtQml/5.15.8/QtQml/private/../../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#27 0x00007f76882ab368 in QQmlBoundSignal_callback (e=0x56467308c620, a=0x0) at
../../include/QtQml/5.15.8/QtQml/private/../../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#28 0x00007f76882dde8f in QQmlNotifier::emitNotify (endpoint=<optimized out>,
a=0x0) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/qml/qqmlnotifier.cpp:104
#29 0x00007f768a5130dd in ?? () from /lib64/libQt5Core.so.5
#30 0x00007f7687361211 in QQuickAbstractButtonPrivate::handleRelease
(this=0x564673a842c0, point=...) at
/usr/src/debug/qtquickcontrols2-everywhere-src-5.15.8+kde7/src/quicktemplates2/qquickabstractbutton.cpp:182
#31 0x00007f768737b485 in QQuickControl::mouseReleaseEvent (this=<optimized
out>, event=0x7fffa71bc850) at
/usr/src/debug/qtquickcontrols2-everywhere-src-5.15.8+kde7/src/quicktemplates2/qquickcontrol.cpp:2181
#32 0x00007f7688886eb8 in QQuickItem::event (this=0x5646723e9510,
ev=0x7fffa71bc850) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/items/qquickitem.cpp:8308
#33 0x00007f768b1a544e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#34 0x00007f768a4dc1e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#35 0x00007f76888a1b8a in QQuickWindowPrivate::deliverMouseEvent
(this=this@entry=0x564671d8c900, pointerEvent=0x5646724b4c40) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/items/qquickwindow.cpp:2025
#36 0x00007f76888a3379 in QQuickWindowPrivate::deliverPointerEvent
(this=0x564671d8c900, event=0x5646724b4c40) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/items/qquickwindow.cpp:2628
#37 0x00007f768a9878b5 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#38 0x00007f768b1a544e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#39 0x00007f768a4dc1e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#40 0x00007f76893de287 in QQuickWidget::mouseReleaseEvent (this=<optimized
out>, e=0x7fffa71bcd90) at
/usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quickwidgets/qquickwidget.cpp:1426
#41 0x00007f768b1e6d78 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#42 0x00007f768b1a544e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#43 0x00007f768b1ad972 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#44 0x00007f768a4dc1e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#45 0x00007f768b1abaee in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
from /lib64/libQt5Widgets.so.5
#46 0x00007f768b1ffb98 in ?? () from /lib64/libQt5Widgets.so.5
#47 0x00007f768b2030f0 in ?? () from /lib64/libQt5Widgets.so.5
#48 0x00007f768b1a544e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#49 0x00007f768a4dc1e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#50 0x00007f768a97b89d in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib64/libQt5Gui.so.5
#51 0x00007f768a94f26c in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Gui.so.5
#52 0x00007f7684d1914a in ?? () from /lib64/libQt5XcbQpa.so.5
#53 0x00007f7688e69a90 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#54 0x00007f7688e69e48 in ?? () from /lib64/libglib-2.0.so.0
#55 0x00007f7688e69edc in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#56 0x00007f768a533c16 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#57 0x00007f768a4dac5b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#58 0x00007f768a4e2dc6 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#59 0x000056466ff5908c in ?? ()
#60 0x00007f7689c2caf0 in __libc_start_call_main () from /lib64/libc.so.6
#61 0x00007f7689c2cbb9 in __libc_start_main_impl () from /lib64/libc.so.6
#62 0x000056466ff59a05 in ?? ()
[Inferior 1 (process 17700) detached]

Reported using DrKonqi

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

Reply via email to