Bug 461844 - Menu editor crashes SOME OF THE TIME when I save
Summary: Menu editor crashes SOME OF THE TIME when I save
Status: RESOLVED DUPLICATE of bug 450553
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.26.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-11-14 22:15 UTC by Kevin Coonan
Modified: 2023-05-24 17:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.56 KB, text/plain)
2023-05-24 17:30 UTC, Wilbur Jaywright
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Coonan 2022-11-14 22:15:32 UTC
Application: kmenuedit (5.26.2)

Qt Version: 5.15.7
Frameworks Version: 5.99.0
Operating System: Linux 6.0.7-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.2 [KCrashBackend]

-- Information about the crash:
It crashed after I did a HUGE edit.  I tried it with a simple edit, no problem.  Then, with a medium size change it crashed again.  I think it waits until you have done enough changes to represent enough effort to really piss you off when you go to save and then lose all that work.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE Menu Editor (kmenuedit), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ff4a6cc6390 in KService::desktopEntryName() const () from /lib64/libKF5Service.so.5
#5  0x000055d5ccfbde69 in ?? ()
#6  0x000055d5ccfc941e in ?? ()
#7  0x000055d5ccfce301 in ?? ()
#8  0x00007ff4a551354c in doActivate<false> (sender=0x55d5cd934d70, signal_index=4, argv=0x7ffe3406ebd0) at kernel/qobject.cpp:3931
#9  0x00007ff4a619ebb2 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#10 0x00007ff4a61a16fb in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#11 0x00007ff4a6298c4a in ?? () from /lib64/libQt5Widgets.so.5
#12 0x00007ff4a6298d97 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007ff4a63913aa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007ff4a61e6c38 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007ff4a61a53fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007ff4a61ad922 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007ff4a54dc128 in QCoreApplication::notifyInternal2 (receiver=0x55d5cd9751e0, event=0x7ffe3406f150) at kernel/qcoreapplication.cpp:1064
#18 0x00007ff4a61aba9e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#19 0x00007ff4a61ffa58 in ?? () from /lib64/libQt5Widgets.so.5
#20 0x00007ff4a6202fb0 in ?? () from /lib64/libQt5Widgets.so.5
#21 0x00007ff4a61a53fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007ff4a54dc128 in QCoreApplication::notifyInternal2 (receiver=0x55d5cda5a330, event=0x7ffe3406f400) at kernel/qcoreapplication.cpp:1064
#23 0x00007ff4a597b9ad in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#24 0x00007ff4a594f37c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#25 0x00007ff4a0d1a0fa in ?? () from /lib64/libQt5XcbQpa.so.5
#26 0x00007ff4a3bc0a90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#27 0x00007ff4a3bc0e48 in ?? () from /lib64/libglib-2.0.so.0
#28 0x00007ff4a3bc0edc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#29 0x00007ff4a5533b56 in QEventDispatcherGlib::processEvents (this=0x55d5cd50fb80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007ff4a54dab9b in QEventLoop::exec (this=this@entry=0x7ffe3406f730, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007ff4a54e2d06 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x000055d5ccfb7c04 in ?? ()
#33 0x00007ff4a4c2c5b0 in __libc_start_call_main () from /lib64/libc.so.6
#34 0x00007ff4a4c2c679 in __libc_start_main_impl () from /lib64/libc.so.6
#35 0x000055d5ccfb8535 in ?? ()
[Inferior 1 (process 15396) detached]

The reporter indicates this bug may be a duplicate of or related to bug 212990, bug 426822, bug 450553.

Reported using DrKonqi
Comment 1 Nate Graham 2022-11-15 19:11:03 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:

> #4  0x00007ff4a6cc6390 in KService::desktopEntryName() const () from /lib64/libKF5Service.so.5
> #5  0x000055d5ccfbde69 in ?? ()
> #6  0x000055d5ccfc941e in ?? ()
> #7  0x000055d5ccfce301 in ?? ()
Could you please install debug symbols for kmenuedit and frameworks-kservice, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks again!
Comment 2 Bug Janitor Service 2022-11-30 05:16:27 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 Bug Janitor Service 2022-12-15 05:16:37 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!
Comment 4 Nate Graham 2023-05-15 18:09:37 UTC

*** This bug has been marked as a duplicate of bug 450553 ***
Comment 5 Wilbur Jaywright 2023-05-24 17:30:30 UTC
Created attachment 159226 [details]
New crash information added by DrKonqi

kmenuedit (5.27.5) using Qt 5.15.9

I had deleted some desktop entrys, but they may have been removed after I opened Kmenuedit via their wine uninstallers and before I clicked save. Does the save button affect all actions, or just edits within an entry?

-- Backtrace (Reduced):
#4  0x00007fb7693b5954 in KService::desktopEntryName() const () from /lib64/libKF5Service.so.5
#5  0x00005641c0424e2e in GlobalAccel::changeMenuEntryShortcut(QExplicitlySharedDataPointer<KService> const&, QKeySequence const&) ()
#6  0x00005641c04303be in MenuFolderInfo::save(MenuFile*) ()
#7  0x00005641c0435047 in TreeView::save() ()
#8  0x00007fb767ce87d8 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5