Bug 427131 - Kmenuedit crashes while cutting-pasting app.desktop entries
Summary: Kmenuedit crashes while cutting-pasting app.desktop entries
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.18.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-09-29 21:59 UTC by Vincent LaConte
Modified: 2022-10-25 18:36 UTC (History)
0 users

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 Vincent LaConte 2020-09-29 21:59:11 UTC
Application: kmenuedit (5.18.4)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.8.10-xanmod1 x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Moving entires around, hiding/unhiding, removing duplicates, renaming entries.

- Unusual behavior I noticed:
Three out of three times today it has crashed suddenly. 
- Twice just after a file-system edit such as Cut, Copy or Paste, either via CTRL-(c,x,v) or context menu command
- Once on Save 

- Custom settings of the application:
None, but I do have a lot of knotty configuration issues with this system, which began as Kubuntu Standard and has morphed overr time into 50:50 Gnome / KDE-Plasma. The .desktop files have been a major headache, as they often get renamed badly or duplicated by package installers for one environment vs the other. The Menu Editor is better than nothing but the UX is fugly. I'm probably headed for a fresh system and/or distro soon.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE Menu Editor (kmenuedit), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f26fd599800 (LWP 179506))]

Thread 2 (Thread 0x7f26fa00e700 (LWP 179508)):
#0  0x00007f270253c96f in __GI___poll (fds=0x7f26ec0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f26ff70c1ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f26ff70c2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2700c5e583 in QEventDispatcherGlib::processEvents (this=0x7f26ec000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2700c054db in QEventLoop::exec (this=this@entry=0x7f26fa00dd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f2700a3d785 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f2700f8defa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f2700a3e9d2 in QThreadPrivate::start (arg=0x7f2701010d80) at thread/qthread_unix.cpp:361
#8  0x00007f26fffcb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f2702549103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f26fd599800 (LWP 179506)):
[KCrash Handler]
#6  0x000055bd39d24330 in ?? ()
#7  0x00007f270263a82e in TreeView::cleanupClipboard (this=this@entry=0x55bd37df9470) at ./treeview.cpp:1638
#8  0x00007f270263f033 in TreeView::copy (this=this@entry=0x55bd37df9470, cutting=cutting@entry=true) at ./treeview.cpp:1202
#9  0x00007f270263f1b2 in TreeView::cut (this=0x55bd37df9470) at ./treeview.cpp:1176
#10 0x00007f2700c32458 in QtPrivate::QSlotObjectBase::call (a=0x7ffc597e1c90, r=0x55bd37df9470, this=0x55bd37de7e10) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#11 QMetaObject::activate (sender=0x55bd37dd0e20, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3784
#12 0x00007f27017613e6 in QAction::triggered (this=this@entry=0x55bd37dd0e20, _t1=<optimized out>) at .moc/moc_qaction.cpp:380
#13 0x00007f2701763aa2 in QAction::activate (this=0x55bd37dd0e20, event=<optimized out>) at kernel/qaction.cpp:1166
#14 0x00007f27018e9d12 in QMenuPrivate::activateCausedStack (this=this@entry=0x55bd38545fa0, causedStack=..., action=action@entry=0x55bd37dd0e20, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1355
#15 0x00007f27018f14ae in QMenuPrivate::activateAction (this=this@entry=0x55bd38545fa0, action=action@entry=0x55bd37dd0e20, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1432
#16 0x00007f27018f24d2 in QMenu::mouseReleaseEvent (this=0x55bd380df340, e=0x7ffc597e2370) at widgets/qmenu.cpp:2912
#17 0x00007f27017aa2b6 in QWidget::event (this=this@entry=0x55bd380df340, event=event@entry=0x7ffc597e2370) at kernel/qwidget.cpp:8981
#18 0x00007f27018f4adb in QMenu::event (this=0x55bd380df340, e=0x7ffc597e2370) at widgets/qmenu.cpp:3034
#19 0x00007f2701767a66 in QApplicationPrivate::notify_helper (this=this@entry=0x55bd37b75e80, receiver=receiver@entry=0x55bd380df340, e=e@entry=0x7ffc597e2370) at kernel/qapplication.cpp:3700
#20 0x00007f2701771343 in QApplication::notify (this=<optimized out>, receiver=0x55bd380df340, e=0x7ffc597e2370) at kernel/qapplication.cpp:3160
#21 0x00007f2700c0693a in QCoreApplication::notifyInternal2 (receiver=0x55bd380df340, event=0x7ffc597e2370) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#22 0x00007f2701770457 in QApplicationPrivate::sendMouseEvent (receiver=0x55bd380df340, event=event@entry=0x7ffc597e2370, alienWidget=0x0, nativeWidget=0x55bd380df340, buttonDown=buttonDown@entry=0x7f2701c978d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2646
#23 0x00007f27017c6ce4 in QWidgetWindow::handleMouseEvent (this=0x55bd381a3690, event=0x7ffc597e27f0) at /usr/include/c++/9/bits/atomic_base.h:413
#24 0x00007f27017c91ec in QWidgetWindow::event (event=0x7ffc597e27f0, this=0x55bd381a3690) at kernel/qwidgetwindow.cpp:289
#25 QWidgetWindow::event (this=0x55bd381a3690, event=0x7ffc597e27f0) at kernel/qwidgetwindow.cpp:232
#26 0x00007f2701767a66 in QApplicationPrivate::notify_helper (this=this@entry=0x55bd37b75e80, receiver=receiver@entry=0x55bd381a3690, e=e@entry=0x7ffc597e27f0) at kernel/qapplication.cpp:3700
#27 0x00007f27017710f0 in QApplication::notify (this=0x7ffc597e3b30, receiver=0x55bd381a3690, e=0x7ffc597e27f0) at kernel/qapplication.cpp:3446
#28 0x00007f2700c0693a in QCoreApplication::notifyInternal2 (receiver=0x55bd381a3690, event=0x7ffc597e27f0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#29 0x00007f27011387d3 in QGuiApplicationPrivate::processMouseEvent (e=e@entry=0x55bd3805fc50) at kernel/qguiapplication.cpp:2107
#30 0x00007f270113a10b in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55bd3805fc50) at kernel/qguiapplication.cpp:1842
#31 0x00007f270111435b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151
#32 0x00007f26fceda32e in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#33 0x00007f26ff70bfbd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f26ff70c240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f26ff70c2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f2700c5e565 in QEventDispatcherGlib::processEvents (this=0x55bd37bedb60, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007f2700c054db in QEventLoop::exec (this=this@entry=0x7ffc597e2b90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#38 0x00007f27018ef0b1 in QMenu::exec (this=0x55bd380df340, p=..., action=0x0) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#39 0x00007f27017aa2b6 in QWidget::event (this=this@entry=0x55bd37df9470, event=event@entry=0x7ffc597e31f0) at kernel/qwidget.cpp:8981
#40 0x00007f2701857d52 in QFrame::event (this=0x55bd37df9470, e=0x7ffc597e31f0) at widgets/qframe.cpp:550
#41 0x00007f27019dc482 in QAbstractItemView::viewportEvent (this=this@entry=0x55bd37df9470, event=event@entry=0x7ffc597e31f0) at itemviews/qabstractitemview.cpp:1750
#42 0x00007f2701a4a62f in QTreeView::viewportEvent (this=0x55bd37df9470, event=0x7ffc597e31f0) at itemviews/qtreeview.cpp:1318
#43 0x00007f2700c0664b in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1214
#44 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55bd37dc9e10, event=event@entry=0x7ffc597e31f0) at kernel/qcoreapplication.cpp:1203
#45 0x00007f2701767a55 in QApplicationPrivate::notify_helper (this=this@entry=0x55bd37b75e80, receiver=receiver@entry=0x55bd37dc9e10, e=e@entry=0x7ffc597e31f0) at kernel/qapplication.cpp:3694
#46 0x00007f2701771b93 in QApplication::notify (this=<optimized out>, receiver=0x55bd37dc9e10, e=0x7ffc597e31f0) at kernel/qapplication.cpp:3306
#47 0x00007f2700c0693a in QCoreApplication::notifyInternal2 (receiver=0x55bd37dc9e10, event=0x7ffc597e31f0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#48 0x00007f27017c694a in QWidgetWindow::handleMouseEvent (this=0x55bd380a2f80, event=0x7ffc597e36b0) at kernel/qwidgetwindow.cpp:678
#49 0x00007f27017c91ec in QWidgetWindow::event (event=0x7ffc597e36b0, this=0x55bd380a2f80) at kernel/qwidgetwindow.cpp:289
#50 QWidgetWindow::event (this=0x55bd380a2f80, event=0x7ffc597e36b0) at kernel/qwidgetwindow.cpp:232
#51 0x00007f2701767a66 in QApplicationPrivate::notify_helper (this=this@entry=0x55bd37b75e80, receiver=receiver@entry=0x55bd380a2f80, e=e@entry=0x7ffc597e36b0) at kernel/qapplication.cpp:3700
#52 0x00007f27017710f0 in QApplication::notify (this=0x7ffc597e3b30, receiver=0x55bd380a2f80, e=0x7ffc597e36b0) at kernel/qapplication.cpp:3446
#53 0x00007f2700c0693a in QCoreApplication::notifyInternal2 (receiver=0x55bd380a2f80, event=0x7ffc597e36b0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#54 0x00007f27011387d3 in QGuiApplicationPrivate::processMouseEvent (e=e@entry=0x55bd384e8310) at kernel/qguiapplication.cpp:2107
#55 0x00007f270113a10b in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55bd384e8310) at kernel/qguiapplication.cpp:1842
#56 0x00007f270111435b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151
#57 0x00007f26fceda32e in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#58 0x00007f26ff70bfbd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f26ff70c240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f26ff70c2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f2700c5e565 in QEventDispatcherGlib::processEvents (this=0x55bd37bedb60, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#62 0x00007f2700c054db in QEventLoop::exec (this=this@entry=0x7ffc597e3a50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#63 0x00007f2700c0d246 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#64 0x00007f270112d9a0 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1784
#65 0x00007f27017679d9 in QApplication::exec () at kernel/qapplication.cpp:2856
#66 0x00007f2702634376 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./main.cpp:93
#67 0x00007f270244e0b3 in __libc_start_main (main=0x55bd3718f060 <main>, argc=1, argv=0x7ffc597e3c88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc597e3c78) at ../csu/libc-start.c:308
#68 0x000055bd3718f09e in _start ()
[Inferior 1 (process 179506) detached]

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

Possible duplicates by query: bug 348618, bug 307631.

Reported using DrKonqi
Comment 1 Justin Zobel 2022-10-06 06:36:27 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Vincent LaConte 2022-10-09 20:45:05 UTC
Hello,

Glad this wasn't forgotten, however at present I'm not running a system with Plasma -- a package-dependency conundrum finally forced a reinstall. To avoid quite the number of Ubuntu-NVidia-Wayland problems, at least temporarily I'm back running the native System76/PopOS/Gnome shell. I suppose I could run Plasma in a virtual box or on another, older machine, but I expect that would not be enough to authoritatively (dis)confirm this bug.  

Betcha it's fixed, though. 😀


(In reply to Justin Zobel from comment #1)
> Thank you for reporting this crash in KDE software. As it has been a while
> since this issue was reported, can we please ask you to see if you can
> reproduce the crash with a recent software version?
> 
> If you can reproduce the issue, please change the status to "CONFIRMED" when
> replying. Thank you!
Comment 3 Bug Janitor Service 2022-10-24 05:00:15 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!