Application: kmenuedit (5.23.5) Qt Version: 5.15.2 Frameworks Version: 5.90.0 Operating System: Linux 5.16.9-200.fc35.x86_64 x86_64 Windowing System: X11 Distribution: Fedora Linux 35 (KDE Plasma) DrKonqi: 5.23.5 [KCrashBackend] -- Information about the crash: - What I was doing when the application crashed: Created a New Item, Moved several existing Applications into the New Item menu (drag and dropped). Clicked Save. Edit Application segfaults. - Unusual behavior I noticed: None - Custom settings of the application: None The crash can be reproduced every time. -- Backtrace: Application: KDE Menu Editor (kmenuedit), signal: Segmentation fault [KCrash Handler] #4 0x00007fb7423da704 in KService::desktopEntryName() const () from /lib64/libKF5Service.so.5 #5 0x000055e29dc50689 in GlobalAccel::changeMenuEntryShortcut(QExplicitlySharedDataPointer<KService> const&, QKeySequence const&) () #6 0x000055e29dc50bfe in MenuFolderInfo::save(MenuFile*) () #7 0x000055e29dc469a6 in TreeView::save() () #8 0x00007fb740e2b430 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5 #9 0x00007fb741a02916 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5 #10 0x00007fb741a0562c in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5 #11 0x00007fb741b005aa in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5 #12 0x00007fb741b00707 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5 #13 0x00007fb741bfd31e in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5 #14 0x00007fb741a4be7e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #15 0x00007fb741a09443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #16 0x00007fb741a11074 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #17 0x00007fb740df77d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #18 0x00007fb741a0fb57 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5 #19 0x00007fb741a65450 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5 #20 0x00007fb741a686e5 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5 #21 0x00007fb741a09443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5 #22 0x00007fb740df77d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5 #23 0x00007fb741385b98 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5 #24 0x00007fb741365c9c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5 #25 0x00007fb72f38f11e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5 #26 0x00007fb73f69905f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #27 0x00007fb73f6ee2a8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0 #28 0x00007fb73f696853 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #29 0x00007fb740e48bb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #30 0x00007fb740df61e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5 #31 0x00007fb740dfe724 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5 #32 0x000055e29dc377ef in main () [Inferior 1 (process 51324) detached] The reporter indicates this bug may be a duplicate of or related to bug 426822. Possible duplicates by query: bug 426822, bug 423726, bug 419386, bug 417097, bug 416486. Reported using DrKonqi
Created attachment 149648 [details] New crash information added by DrKonqi kmenuedit (5.25.0) using Qt 5.15.4 I was modiying entries via KMenuEdit. When I attempted to save them, it crashed. -- Backtrace (Reduced): #4 0x00007f0e9cb1f294 in KService::desktopEntryName() const () from /lib64/libKF5Service.so.5 #5 0x000055b413cc08fd in GlobalAccel::changeMenuEntryShortcut(QExplicitlySharedDataPointer<KService> const&, QKeySequence const&) () #6 0x000055b413ccc07e in MenuFolderInfo::save(MenuFile*) () #7 0x000055b413cd0ec6 in TreeView::save() () #8 0x00007f0e9b57c39f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
Created attachment 153717 [details] New crash information added by DrKonqi kmenuedit (5.26.80) using Qt 5.15.6 What I was doing: I added an entry called "test", then deleted it. After, I was asked to save/discard and I selected save. -- Backtrace (Reduced): #5 QString::QString (other=<error reading variable: Cannot access memory at address 0x10>, this=this@entry=0x7ffe0a1e33f0) at /usr/include/qt5/QtCore/qstring.h:1093 #6 KService::desktopEntryName (this=0x0) at /home/bharadwaj/kde/src/kservice/src/services/kservice.cpp:944 #7 0x000000000041de6c in GlobalAccel::changeMenuEntryShortcut (service=..., shortcut=...) at /usr/include/qt5/QtCore/qshareddata.h:161 #8 0x00000000004277de in MenuFolderInfo::save (this=0x1a142f0, menuFile=0x19d0eb0) at /home/bharadwaj/kde/src/kmenuedit/menuinfo.cpp:176 #9 0x000000000042df6d in TreeView::save (this=0x18ebe10) at /home/bharadwaj/kde/src/kmenuedit/treeview.cpp:1709
*** Bug 461844 has been marked as a duplicate of this bug. ***
*** Bug 469737 has been marked as a duplicate of this bug. ***
*** Bug 471103 has been marked as a duplicate of this bug. ***
Created attachment 162251 [details] New crash information added by DrKonqi kmenuedit (5.27.8) using Qt 5.15.10 Crashed after duplicating an entry, dragging to a different location, renaming, and clicking "Save." -- Backtrace (Reduced): #6 QString::QString(QString const&) (other=<error reading variable: Cannot access memory at address 0x10>, this=0x7fff74c08f90, this=<optimized out>, other=<optimized out>) at /usr/include/qt/QtCore/qstring.h:1093 #7 KService::desktopEntryName() const (this=0x0) at /usr/src/debug/kservice5/kservice-5.110.0/src/services/kservice.cpp:991 #8 0x0000564317c1f5a8 in GlobalAccel::changeMenuEntryShortcut(QExplicitlySharedDataPointer<KService> const&, QKeySequence const&) (service=..., shortcut=...) at /usr/include/qt/QtCore/qshareddata.h:161 #9 0x0000564317c2ae00 in MenuFolderInfo::save(MenuFile*) (this=0x56431967d550, menuFile=0x5643197548f0) at /usr/src/debug/kmenuedit/kmenuedit-5.27.8/menuinfo.cpp:176 #10 0x0000564317c2fad9 in TreeView::save() (this=0x564319674960) at /usr/src/debug/kmenuedit/kmenuedit-5.27.8/treeview.cpp:1719
*** Bug 480870 has been marked as a duplicate of this bug. ***
*** Bug 481853 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 478398 ***
*** Bug 481871 has been marked as a duplicate of this bug. ***