Bug 473998 - KMenuEditor Crash when trying to edit program with command "ANY_VARIABLE=ANYDATA program"
Summary: KMenuEditor Crash when trying to edit program with command "ANY_VARIABLE=ANYD...
Status: RESOLVED DUPLICATE of bug 466164
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.27.7
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-08-31 18:11 UTC by Saveliy Peteshov
Modified: 2023-12-20 19:52 UTC (History)
1 user (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 Saveliy Peteshov 2023-08-31 18:11:20 UTC
Application: kmenuedit (5.27.7)

Qt Version: 5.15.10
Frameworks Version: 5.109.0
Operating System: Linux 6.4.12-zen1-1-zen x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
KMenuEdit crashes when trying to interact with any item with data like "Program: 'ANYVARIABLE=ANYDATA program'". Deleting the entire item containing the item causing the crash, while saving the parameters, also crashes. Deleting a crashing item through the Start-menu causes the whole shell to crash (Bottom panel and desktop with gadgets disappear altogether and then appears after a few seconds). What we end up with is a Trash Item (Shortcut to a program) that won't run and can't be removed.

The crash can be reproduced every time.

-- Backtrace:
Application: Редактор меню KDE (kmenuedit), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fec918b7134 in QWidgetLineControl::internalSetText(QString const&, int, bool) () at /usr/lib/libQt5Widgets.so.5
#5  0x00005622aa075d1a in  ()
#6  0x00007fec90ad17f3 in  () at /usr/lib/libQt5Core.so.5
#7  0x00005622aa07cbde in  ()
#8  0x00007fec90ad1637 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fec91a5b64c in QTreeWidget::currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007fec90ad17f3 in  () at /usr/lib/libQt5Core.so.5
#11 0x00007fec90a68f4f in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () at /usr/lib/libQt5Core.so.5
#12 0x00007fec90a65203 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Core.so.5
#13 0x00007fec919de0e7 in QAbstractItemView::mousePressEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007fec917af529 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007fec9185d703 in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fec90a99702 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007fec9177892f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007fec9177ddef in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007fec90a9c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007fec9177c12a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007fec917cced5 in  () at /usr/lib/libQt5Widgets.so.5
#22 0x00007fec917cec27 in  () at /usr/lib/libQt5Widgets.so.5
#23 0x00007fec9177893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007fec90a9c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007fec90f4193c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#26 0x00007fec90f2a6c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#27 0x00007fec8bbc73e0 in  () at /usr/lib/libQt5XcbQpa.so.5
#28 0x00007fec8ef0ca31 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#29 0x00007fec8ef69cc9 in  () at /usr/lib/libglib-2.0.so.0
#30 0x00007fec8ef0a0e2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#31 0x00007fec90aeb51c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007fec90a9b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007fec90a9c8a3 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#34 0x00005622aa06ff3a in  ()
#35 0x00007fec90027cd0 in  () at /usr/lib/libc.so.6
#36 0x00007fec90027d8a in __libc_start_main () at /usr/lib/libc.so.6
#37 0x00005622aa070895 in  ()
[Inferior 1 (process 3986) detached]

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

Reported using DrKonqi
Comment 1 Nate Graham 2023-08-31 23:03:59 UTC
The environment variable goes in the "Environment Variables" field, not the "Program" field.

*** This bug has been marked as a duplicate of bug 465290 ***
Comment 2 Nate Graham 2023-12-20 19:52:47 UTC

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