https://bugs.kde.org/show_bug.cgi?id=423726

            Bug ID: 423726
           Summary: kmenuedit crash after removing entries
           Product: kmenuedit
           Version: 5.19.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: danielwohl...@gmx.de
  Target Milestone: ---

Application: kmenuedit (5.19.2)

Qt Version: 5.14.2
Frameworks Version: 5.71.0
Operating System: Linux 5.3.0-61-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19

-- Information about the crash:
- What I was doing when the application crashed:
I deleted an outdated version of an appimage.
After that i wanted to remove its entry from the menu.
So I filtered by its name, selected it and add a few separators by mistake.
After removing the entry, i cleared the filter and removed the unnecessary
separators as well.
The crash happened when i clicked the save-button.

I tried to redo my steps, but aparently my changes were saved regardless of the
crash.

-- Backtrace:
Application: KDE-MenĂ¼-Editor (kmenuedit), signal: Segmentation fault

[KCrash Handler]
#4  QString::QString (other=<error reading variable: Cannot access memory at
address 0x10>, this=this@entry=0x7ffcdc19add0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1050
#5  KService::desktopEntryName (this=0x0) at ./src/services/kservice.cpp:926
#6  0x0000560116e837cc in GlobalAccel::changeMenuEntryShortcut (service=...,
shortcut=...) at ./globalaccel.cpp:31
#7  0x0000560116e80e42 in MenuFolderInfo::save (this=0x560118972c40,
menuFile=0x5601188f2e70) at ./menuinfo.cpp:189
#8  0x0000560116e703df in TreeView::save (this=0x5601188f2230) at
./treeview.cpp:1717
#9  0x00007f2879a5b4b9 in doActivate<false> (sender=0x5601188f7050,
signal_index=4, argv=0x7ffcdc19b020) at kernel/qobject.cpp:3882
#10 0x00007f2879a55f92 in QMetaObject::activate
(sender=sender@entry=0x5601188f7050, m=m@entry=0x7f287aff1340
<QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7ffcdc19b020) at kernel/qobject.cpp:3930
#11 0x00007f287a9094a2 in QAction::triggered (this=this@entry=0x5601188f7050,
_t1=<optimized out>) at .moc/moc_qaction.cpp:381
#12 0x00007f287a90bb0c in QAction::activate (this=0x5601188f7050,
event=<optimized out>) at kernel/qaction.cpp:1161
#13 0x00007f287a9fcc8b in QAbstractButtonPrivate::click (this=0x560118b67890)
at widgets/qabstractbutton.cpp:398
#14 0x00007f287a9fceed in QAbstractButton::mouseReleaseEvent
(this=0x560118b67e00, e=0x7ffcdc19b5b0) at widgets/qabstractbutton.cpp:1012
#15 0x00007f287aaeee1a in QToolButton::mouseReleaseEvent (this=<optimized out>,
e=<optimized out>) at widgets/qtoolbutton.cpp:622
#16 0x00007f287a9508c8 in QWidget::event (this=0x560118b67e00,
event=0x7ffcdc19b5b0) at kernel/qwidget.cpp:9033
#17 0x00007f287a9fe0bb in QAbstractButton::event
(this=this@entry=0x560118b67e00, e=e@entry=0x7ffcdc19b5b0) at
widgets/qabstractbutton.cpp:969
#18 0x00007f287aaeeeb4 in QToolButton::event (this=0x560118b67e00,
event=0x7ffcdc19b5b0) at widgets/qtoolbutton.cpp:1002
#19 0x00007f287a90f9ac in QApplicationPrivate::notify_helper
(this=this@entry=0x560118659490, receiver=receiver@entry=0x560118b67e00,
e=e@entry=0x7ffcdc19b5b0) at kernel/qapplication.cpp:3685
#20 0x00007f287a9179f8 in QApplication::notify (this=<optimized out>,
receiver=0x560118b67e00, e=0x7ffcdc19b5b0) at kernel/qapplication.cpp:3129
#21 0x00007f2879a204a8 in QCoreApplication::notifyInternal2
(receiver=0x560118b67e00, event=0x7ffcdc19b5b0) at
kernel/qcoreapplication.cpp:1075
#22 0x00007f2879a2068e in QCoreApplication::sendSpontaneousEvent
(receiver=receiver@entry=0x560118b67e00, event=event@entry=0x7ffcdc19b5b0) at
kernel/qcoreapplication.cpp:1482
#23 0x00007f287a91607f in QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x560118b67e00, event=event@entry=0x7ffcdc19b5b0,
alienWidget=0x560118b67e00, nativeWidget=0x5601188ae540,
buttonDown=buttonDown@entry=0x7f287b0209a0 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2615
#24 0x00007f287a96af81 in QWidgetWindow::handleMouseEvent
(this=this@entry=0x5601189cda50, event=event@entry=0x7ffcdc19ba30) at
kernel/qwidgetwindow.cpp:673
#25 0x00007f287a96ddea in QWidgetWindow::event (this=0x5601189cda50,
event=0x7ffcdc19ba30) at kernel/qwidgetwindow.cpp:295
#26 0x00007f287a90f9ac in QApplicationPrivate::notify_helper
(this=this@entry=0x560118659490, receiver=receiver@entry=0x5601189cda50,
e=e@entry=0x7ffcdc19ba30) at kernel/qapplication.cpp:3685
#27 0x00007f287a916bb0 in QApplication::notify (this=0x7ffcdc19bec0,
receiver=0x5601189cda50, e=0x7ffcdc19ba30) at kernel/qapplication.cpp:3431
#28 0x00007f2879a204a8 in QCoreApplication::notifyInternal2
(receiver=0x5601189cda50, event=0x7ffcdc19ba30) at
kernel/qcoreapplication.cpp:1075
#29 0x00007f2879a2068e in QCoreApplication::sendSpontaneousEvent
(receiver=receiver@entry=0x5601189cda50, event=event@entry=0x7ffcdc19ba30) at
kernel/qcoreapplication.cpp:1482
#30 0x00007f287a01d8b5 in QGuiApplicationPrivate::processMouseEvent
(e=0x5601188ab010) at kernel/qguiapplication.cpp:2203
#31 0x00007f287a01e9e5 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x5601188ab010) at kernel/qguiapplication.cpp:1935
#32 0x00007f2879ff71cb in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1170
#33 0x00007f286f4c6f9a in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#34 0x00007f2874437417 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f2874437650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f28744376dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f2879a7f7ac in QEventDispatcherGlib::processEvents
(this=0x5601186c1440, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007f2879a1ed2a in QEventLoop::exec (this=this@entry=0x7ffcdc19bdd0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#39 0x00007f2879a284a0 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1383
#40 0x0000560116e68c25 in main (argc=<optimized out>, argv=<optimized out>) at
./main.cpp:93

The reporter indicates this bug may be a duplicate of or related to bug 419386,
bug 376841.

Possible duplicates by query: bug 419386, bug 417097, bug 416486, bug 415699,
bug 410345.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to