Bug 464188 - System settings crashing in KPropertiesDialogPrivate::insertPages() after modifying autostart-file
Summary: System settings crashing in KPropertiesDialogPrivate::insertPages() after mod...
Status: RESOLVED DUPLICATE of bug 465290
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_autostart (show other bugs)
Version: 5.26.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Nicolas Fella
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-01-12 10:44 UTC by Alve
Modified: 2023-02-05 14:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alve 2023-01-12 10:44:17 UTC
Application: systemsettings (5.26.5)

Qt Version: 5.15.8
Frameworks Version: 5.101.0
Operating System: Linux 6.1.4-lqx2-2-lqx x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
I tried to change the launch arguments for an autostart application which caused a permission error the first time, the second time I tried it seemed like it saved and updated but the following attemts at opening the dekstop file from within the autostart section of system settings instantly crashes system settings without showing the dialog.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007f81348b7854 in QWidgetLineControl::internalSetText (this=0x5642fad039c0, txt=..., pos=-1, edited=<optimized out>) at widgets/qwidgetlinecontrol.cpp:766
#7  0x00007f8134593db4 in KDEPrivate::KDesktopPropsPlugin::KDesktopPropsPlugin (this=<optimized out>, _props=<optimized out>, this=<optimized out>, _props=<optimized out>) at /usr/src/debug/kio/kio-5.101.0/src/widgets/kpropertiesdialog.cpp:3417
#8  0x00007f813457efc6 in KPropertiesDialogPrivate::insertPages (this=this@entry=0x5642fad80000) at /usr/src/debug/kio/kio-5.101.0/src/widgets/kpropertiesdialog.cpp:640
#9  0x00007f8134581709 in KPropertiesDialogPrivate::init (this=0x5642fad80000) at /usr/src/debug/kio/kio-5.101.0/src/widgets/kpropertiesdialog.cpp:435
#10 0x00007f810f7bdd60 in ?? () from /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_autostart.so
#11 0x00007f810f7be1c1 in ?? () from /usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_autostart.so
#12 0x00007f8131876544 in QQmlObjectOrGadget::metacall (this=0x7ffc44e51a80, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:51
#13 0x00007f8131777671 in CallMethod (callType=<optimized out>, callArgs=<optimized out>, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>, object=...) at /usr/include/qt/QtCore/qvarlengtharray.h:189
#14 CallPrecise (object=..., data=..., engine=<optimized out>, callArgs=<optimized out>, callType=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1553
#15 0x00007f813177cde2 in QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=0x7f810ddbe660, argc=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2115
#16 0x00007f813178eda3 in QV4::Moth::VME::interpret (frame=0x7ffc44e51e90, engine=0x5642fab36770, code=0x7f810ddbe648 " R\201\r\201\177") at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:757
#17 0x00007f8131794804 in QV4::Moth::VME::exec (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:466
#18 0x00007f8131736c36 in QV4::Function::call (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:69
#19 0x00007f81318971ad in QQmlJavaScriptExpression::evaluate (this=0x5642faa8dc70, callData=0x7f810ddbe5d0, isUndefined=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:212
#20 0x00007f81318537f1 in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:224
#21 0x00007f813185476c in QQmlBoundSignal_callback (a=0x7ffc44e53b20, e=0x5642fccbad40) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#22 QQmlBoundSignal_callback (e=0x5642fccbad40, a=0x7ffc44e53b20) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:341
#23 0x00007f813187647f in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x7ffc44e53b20) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:104
#24 0x00007f8133abd760 in doActivate<false> (sender=0x5642fad01c70, signal_index=11, argv=0x7ffc44e53b20) at kernel/qobject.cpp:3815
#25 0x00007f812c7a9e27 in QQuickAction::triggered (this=this@entry=0x5642fad01c70, _t1=<optimized out>, _t1@entry=0x0) at .moc/moc_qquickaction_p.cpp:363
#26 0x00007f812c7ac760 in QQuickActionPrivate::trigger (this=0x5642fad01d20, source=0x0, doToggle=doToggle@entry=true) at /usr/src/debug/qt5-quickcontrols2/qtquickcontrols2/src/quicktemplates2/qquickaction.cpp:558
#27 0x00007f812c7ac812 in QQuickAction::trigger (this=<optimized out>, source=<optimized out>) at /usr/src/debug/qt5-quickcontrols2/qtquickcontrols2/src/quicktemplates2/qquickaction.cpp:539
#28 0x00007f812c7b2df3 in QQuickAction::qt_metacall (this=0x5642fad01c70, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7ffc44e53d70) at .moc/moc_qquickaction_p.cpp:283
#29 0x00007f8131876544 in QQmlObjectOrGadget::metacall (this=0x7ffc44e53fc0, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:51
#30 0x00007f8131776a57 in CallMethod (callType=QMetaObject::InvokeMetaMethod, callArgs=0x7f810ddbe588, engine=0x5642fab36770, argTypes=0x0, argCount=0, returnType=43, index=<optimized out>, object=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1303
#31 CallPrecise (object=..., data=..., engine=0x5642fab36770, callArgs=0x7f810ddbe588, callType=QMetaObject::InvokeMetaMethod) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1557
#32 0x00007f813177cfb8 in CallOverloaded (callType=QMetaObject::InvokeMetaMethod, propertyCache=<optimized out>, callArgs=0x7f810ddbe588, engine=<optimized out>, data=..., object=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1629
#33 QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2117
#34 0x00007f813178eda3 in QV4::Moth::VME::interpret (frame=0x7ffc44e543d0, engine=0x5642fab36770, code=0x7f810ddbe540 "\300{\202\r\201\177") at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:757
#35 0x00007f8131794804 in QV4::Moth::VME::exec (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:466
#36 0x00007f8131736c36 in QV4::Function::call (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:69
#37 0x00007f81318971ad in QQmlJavaScriptExpression::evaluate (this=0x5642fa8d2af0, callData=0x7f810ddbe4d0, isUndefined=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:212
#38 0x00007f81318537f1 in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:224
#39 0x00007f813185476c in QQmlBoundSignal_callback (a=0x0, e=0x5642fa969ad0) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#40 QQmlBoundSignal_callback (e=0x5642fa969ad0, a=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:341
#41 0x00007f813187647f in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:104
#42 0x00007f8133abd760 in doActivate<false> (sender=0x5642fac833b0, signal_index=64, argv=0x0) at kernel/qobject.cpp:3815
#43 0x00007f812c7afa5a in QQuickAbstractButtonPrivate::handleRelease (this=0x5642fa9a7b40, point=...) at /usr/src/debug/qt5-quickcontrols2/qtquickcontrols2/src/quicktemplates2/qquickabstractbutton.cpp:182
#44 0x00007f812c7cad39 in QQuickControl::mouseReleaseEvent (this=<optimized out>, event=0x7ffc44e56390) at /usr/src/debug/qt5-quickcontrols2/qtquickcontrols2/src/quicktemplates2/qquickcontrol.cpp:2181
#45 0x00007f8131e407d9 in QQuickItem::event (this=0x5642fac833b0, ev=0x7ffc44e56390) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:8287
#46 0x00007f8134778b5c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5642fac833b0, e=0x7ffc44e56390) at kernel/qapplication.cpp:3640
#47 0x00007f8133a8cf98 in QCoreApplication::notifyInternal2 (receiver=0x5642fac833b0, event=0x7ffc44e56390) at kernel/qcoreapplication.cpp:1064
#48 0x00007f8131e4ed55 in QQuickWindowPrivate::deliverMouseEvent (this=this@entry=0x5642fa3f8350, pointerEvent=0x5642fafaf690) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:2025
#49 0x00007f8131e4f7a2 in QQuickWindowPrivate::deliverPointerEvent (this=0x5642fa3f8350, event=0x5642fafaf690) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:2628
#50 0x00007f8133f55a65 in QWindow::event (this=0x5642fb150e10, ev=<optimized out>) at kernel/qwindow.cpp:2455
#51 0x00007f8134778b5c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5642fb150e10, e=0x7ffc44e56390) at kernel/qapplication.cpp:3640
#52 0x00007f8133a8cf98 in QCoreApplication::notifyInternal2 (receiver=0x5642fb150e10, event=0x7ffc44e56390) at kernel/qcoreapplication.cpp:1064
#53 0x00007f81329dc1be in QQuickWidget::mouseReleaseEvent (this=<optimized out>, e=0x7ffc44e56900) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quickwidgets/qquickwidget.cpp:1426
#54 0x00007f81347af837 in QWidget::event (this=0x5642fb150f50, event=0x7ffc44e56900) at kernel/qwidget.cpp:8671
#55 0x00007f8134778b5c in QApplicationPrivate::notify_helper (this=this@entry=0x5642f9fc1040, receiver=receiver@entry=0x5642fb150f50, e=e@entry=0x7ffc44e56900) at kernel/qapplication.cpp:3640
#56 0x00007f813477e379 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffc44e56900) at kernel/qapplication.cpp:3084
#57 0x00007f8133a8cf98 in QCoreApplication::notifyInternal2 (receiver=0x5642fb150f50, event=0x7ffc44e56900) at kernel/qcoreapplication.cpp:1064
#58 0x00007f813477c377 in QApplicationPrivate::sendMouseEvent (receiver=0x5642fb150f50, event=0x7ffc44e56900, alienWidget=<optimized out>, nativeWidget=0x5642fa6cb6c0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#59 0x00007f81347cd505 in QWidgetWindow::handleMouseEvent (this=0x5642fab93930, event=0x7ffc44e56c60) at kernel/qwidgetwindow.cpp:683
#60 0x00007f81347cf2ae in QWidgetWindow::event (this=0x5642fab93930, event=0x7ffc44e56c60) at kernel/qwidgetwindow.cpp:300
#61 0x00007f8134778b5c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5642fab93930, e=0x7ffc44e56c60) at kernel/qapplication.cpp:3640
#62 0x00007f8133a8cf98 in QCoreApplication::notifyInternal2 (receiver=0x5642fab93930, event=0x7ffc44e56c60) at kernel/qcoreapplication.cpp:1064
#63 0x00007f8133f3f03c in QGuiApplicationPrivate::processMouseEvent (e=0x5642faa5ce70) at kernel/qguiapplication.cpp:2285
#64 0x00007f8133f28885 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#65 0x00007f812db2e7f0 in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#66 0x00007f813251687b in g_main_dispatch (context=0x7f8128005010) at ../glib/glib/gmain.c:3454
#67 g_main_context_dispatch (context=0x7f8128005010) at ../glib/glib/gmain.c:4172
#68 0x00007f813256dc89 in g_main_context_iterate.constprop.0 (context=0x7f8128005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4248
#69 0x00007f8132515132 in g_main_context_iteration (context=0x7f8128005010, may_block=1) at ../glib/glib/gmain.c:4313
#70 0x00007f8133ad7c8c in QEventDispatcherGlib::processEvents (this=0x5642fa1a0dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#71 0x00007f8133a8574c in QEventLoop::exec (this=0x7ffc44e57000, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#72 0x00007f8133a90269 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#73 0x00007f8133f39fe2 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#74 0x00007f8134776f2a in QApplication::exec () at kernel/qapplication.cpp:2832
#75 0x00005642f9da3c03 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings/systemsettings-5.26.5/app/main.cpp:188
[Inferior 1 (process 12723) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-01-12 20:25:11 UTC
Which application did you change the settings for? Can you attach the edited .desktop file that was created as a result of the editing?
Comment 2 Bug Janitor Service 2023-01-27 05:08:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Nicolas Fella 2023-02-05 14:48:13 UTC

*** This bug has been marked as a duplicate of bug 465290 ***