Bug 473903 - Program startup failed and cannot use right-click to edit the kde-application-description file
Summary: Program startup failed and cannot use right-click to edit the kde-application...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.27.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-08-29 15:26 UTC by bcegkmqs23
Modified: 2023-08-30 14:37 UTC (History)
2 users (show)

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 bcegkmqs23 2023-08-29 15:26:40 UTC
Application: plasmashell (5.27.5)
 (Compiled from sources)
Qt Version: 5.15.9
Frameworks Version: 5.106.0
Operating System: Linux 6.3.7-gentoo-new x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
The kde-application-description file lies in ~/.local/share/application; The EXEC field is with a env variable setting; Running the program in Dolphin or Konsole manually has no problem.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f364dcbd954 in QWidgetLineControl::internalSetText(QString const&, int, bool) () at /usr/lib64/libQt5Widgets.so.5
#5  0x00007f364c2c857b in  () at /usr/lib64/libKF5KIOWidgets.so.5
#6  0x00007f364c2cbcf8 in  () at /usr/lib64/libKF5KIOWidgets.so.5
#7  0x00007f364c2cc23a in  () at /usr/lib64/libKF5KIOWidgets.so.5
#8  0x00007f364c2ccc8d in KPropertiesDialog::KPropertiesDialog(QUrl const&, QWidget*) () at /usr/lib64/libKF5KIOWidgets.so.5
#9  0x00007f364c2ccd4d in KPropertiesDialog::showDialog(QUrl const&, QWidget*, bool) () at /usr/lib64/libKF5KIOWidgets.so.5
#10 0x00007f36101942d0 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#11 0x00007f3610164877 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#12 0x00007f361019c20f in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#13 0x00007f361015d080 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#14 0x00007f3610161283 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#15 0x00007f364e4cced3 in  () at /usr/lib64/libQt5Qml.so.5
#16 0x00007f364e3a3729 in  () at /usr/lib64/libQt5Qml.so.5
#17 0x00007f364e3a571d in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib64/libQt5Qml.so.5
#18 0x00007f364e3c1e93 in  () at /usr/lib64/libQt5Qml.so.5
#19 0x00007f364e3c579f in  () at /usr/lib64/libQt5Qml.so.5
#20 0x00007f364e357850 in  () at /usr/lib64/libQt5Qml.so.5
#21 0x00007f364e3c1e93 in  () at /usr/lib64/libQt5Qml.so.5
#22 0x00007f364e3c579f in  () at /usr/lib64/libQt5Qml.so.5
#23 0x00007f364e357850 in  () at /usr/lib64/libQt5Qml.so.5
#24 0x00007f364e3c1e93 in  () at /usr/lib64/libQt5Qml.so.5
#25 0x00007f364e3c579f in  () at /usr/lib64/libQt5Qml.so.5
#26 0x00007f364e3569ee in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib64/libQt5Qml.so.5
#27 0x00007f364e4e801b in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib64/libQt5Qml.so.5
#28 0x00007f364e49750f in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib64/libQt5Qml.so.5
#29 0x00007f364e498ce8 in  () at /usr/lib64/libQt5Qml.so.5
#30 0x00007f364e4cc9a5 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib64/libQt5Qml.so.5
#31 0x00007f364ceb758d in  () at /usr/lib64/libQt5Core.so.5
#32 0x00007f364e472a4a in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Qml.so.5
#33 0x00007f364e4cced3 in  () at /usr/lib64/libQt5Qml.so.5
#34 0x00007f364e3a3729 in  () at /usr/lib64/libQt5Qml.so.5
#35 0x00007f364e3a571d in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib64/libQt5Qml.so.5
#36 0x00007f364e3c1e93 in  () at /usr/lib64/libQt5Qml.so.5
#37 0x00007f364e3c579f in  () at /usr/lib64/libQt5Qml.so.5
#38 0x00007f364e3569ee in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib64/libQt5Qml.so.5
#39 0x00007f364e4e801b in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib64/libQt5Qml.so.5
#40 0x00007f364e49750f in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib64/libQt5Qml.so.5
#41 0x00007f364e498ce8 in  () at /usr/lib64/libQt5Qml.so.5
#42 0x00007f364e4cc9a5 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib64/libQt5Qml.so.5
#43 0x00007f364ceb758d in  () at /usr/lib64/libQt5Core.so.5
#44 0x00007f364ceb7834 in  () at /usr/lib64/libQt5Core.so.5
#45 0x00007f364db5c8b2 in QAction::triggered(bool) () at /usr/lib64/libQt5Widgets.so.5
#46 0x00007f364db5f64b in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQt5Widgets.so.5
#47 0x00007f364dceebea in  () at /usr/lib64/libQt5Widgets.so.5
#48 0x00007f364dcf6c4c in  () at /usr/lib64/libQt5Widgets.so.5
#49 0x00007f364dba7028 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#50 0x00007f364db6344e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#51 0x00007f364db6bd30 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#52 0x00007f364ce83d68 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#53 0x00007f364db69d64 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#54 0x00007f364dbc0d44 in  () at /usr/lib64/libQt5Widgets.so.5
#55 0x00007f364dbc3e38 in  () at /usr/lib64/libQt5Widgets.so.5
#56 0x00007f364db6344e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#57 0x00007f364ce83d68 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#58 0x00007f364d3273df in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#59 0x00007f364d30630b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#60 0x00007f3648515d0a in  () at /usr/lib64/libQt5XcbQpa.so.5
#61 0x00007f364baa442c in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#62 0x00007f364baa46d8 in  () at /usr/lib64/libglib-2.0.so.0
#63 0x00007f364baa476c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#64 0x00007f364ced6006 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#65 0x00007f364ce8278b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#66 0x00007f364ce8aa66 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#67 0x0000558dc438ba04 in  ()
#68 0x00007f364ca4c2ca in  () at /lib64/libc.so.6
#69 0x00007f364ca4c385 in __libc_start_main () at /lib64/libc.so.6
#70 0x0000558dc438bc41 in  ()
[Inferior 1 (process 3951) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-08-29 19:46:16 UTC
Thank you for the bug report! Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

#5  0x00007f364c2c857b in  () at /usr/lib64/libKF5KIOWidgets.so.5
#6  0x00007f364c2cbcf8 in  () at /usr/lib64/libKF5KIOWidgets.so.5
#7  0x00007f364c2cc23a in  () at /usr/lib64/libKF5KIOWidgets.so.5
#8  0x00007f364c2ccc8d in KPropertiesDialog::KPropertiesDialog(QUrl const&, QWidget*) () at /usr/lib64/libKF5KIOWidgets.so.5
#9  0x00007f364c2ccd4d in KPropertiesDialog::showDialog(QUrl const&, QWidget*, bool) () at /usr/lib64/libKF5KIOWidgets.so.5
#10 0x00007f36101942d0 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#11 0x00007f3610164877 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#12 0x00007f361019c20f in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#13 0x00007f361015d080 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so
#14 0x00007f3610161283 in  () at /usr/lib64/qt5/qml/org/kde/plasma/private/kicker/libkickerplugin.so

Could you please install debug symbols for KIO and Plasma, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports for details about how to do this.

Also, it would be helpful if you could attach the .desktop file that makes Plasma crash.

Thanks again!
Comment 2 bcegkmqs23 2023-08-30 14:37:30 UTC
Sorry for the incomplete report. However, I thought I've found the problem:

Several days ago I was editting the .desktop file with the GUI configuration window, and I've mistakenly filled the env vars specifications in the `Program` field, which is just before the program file specificaiton (like what we do in a console).
This causes the `EXEC` field in the desktop file surrounded by a pair of quotation mark, and thus be recongized as a program specification.
Removing the quotation marks solves my problem.

(I'm going to mark this issue as `not a bug`, if developers have found my traces output still confusing and doubtful, please change the issue status.)