Bug 438695 - Application crashed upon removing keyboard shortcut
Summary: Application crashed upon removing keyboard shortcut
Status: RESOLVED WORKSFORME
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.18.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-15 20:30 UTC by Russ Bain
Modified: 2021-07-16 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Russ Bain 2021-06-15 20:30:01 UTC
SUMMARY
Attempted to remove keyboard shortcut, application crashed.

STEPS TO REPRODUCE
1. Create a shortcut to a command
2. Assign a keyboard shortcut (CTL + ALT +T)
3. Use the arrow button to remove the shortcut

OBSERVED RESULT
The application crashed. Keyboard shortcut not removed.

EXPECTED RESULT
Keyboard shortcut removed.

SOFTWARE/OS VERSIONS

Kinux/KDE Plasma: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION

Application: kmenuedit (5.18.4)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.8.0-55-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.2 LTS

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

I was attempting to delete a keyboard shortcut. In the "Advanced Tab: Current shortcut key" box I pressed the little black arrow-x button to remove the shortcut (CTRL + ALT + T) I had previously assigned. The program crashed when I clicked the button.The command assigned to the shortcut is `qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 2 3` - Possibly related: this particular shortcut has behaved oddly. It reacts differently depending on whether I click it with the mouse or activate it with the keyboard shortcut. When I first created it, I used a different set of arguments (the last three numbers, don't remember specifics)  and later changed them. When I use the mouse, it executes the current command (shut down, power off). When I use the keyboard it executes the original command (log out to user login screen).




-- 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 0x7fb4291ae800 (LWP 12352))]

Thread 7 (Thread 0x7fb41d8a1700 (LWP 12358)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55cbb43fb368) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55cbb43fb318, cond=0x55cbb43fb340) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55cbb43fb340, mutex=0x55cbb43fb318) at pthread_cond_wait.c:638
#3  0x00007fb41ed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fb41ed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fb42bbe2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fb42e160293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fb41e0a2700 (LWP 12357)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55cbb43fb368) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55cbb43fb318, cond=0x55cbb43fb340) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55cbb43fb340, mutex=0x55cbb43fb318) at pthread_cond_wait.c:638
#3  0x00007fb41ed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fb41ed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fb42bbe2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fb42e160293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fb41e8a3700 (LWP 12356)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55cbb43fb368) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55cbb43fb318, cond=0x55cbb43fb340) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55cbb43fb340, mutex=0x55cbb43fb318) at pthread_cond_wait.c:638
#3  0x00007fb41ed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fb41ed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fb42bbe2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fb42e160293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fb424d73700 (LWP 12355)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55cbb43fb368) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55cbb43fb318, cond=0x55cbb43fb340) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55cbb43fb340, mutex=0x55cbb43fb318) at pthread_cond_wait.c:638
#3  0x00007fb41ed5eb5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fb41ed5e75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fb42bbe2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fb42e160293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb426756700 (LWP 12354)):
#0  0x00007fb42b3704dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb42b323354 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb42b3234a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb42c875583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb42c81c4db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb42c654785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb42cba4efa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fb42c6559d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fb42bbe2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fb42e160293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb428083700 (LWP 12353)):
#0  0x00007fb42e153aff in __GI___poll (fds=0x7fb428082ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb42b15bc1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb42b15d90a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb428893298 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fb42c6559d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb42bbe2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fb42e160293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb4291ae800 (LWP 12352)):
[KCrash Handler]
#6  0x00007fb42dd25ba4 in KService::desktopEntryName() const () from /lib/x86_64-linux-gnu/libKF5Service.so.5
#7  0x00007fb42e265d00 in ?? () from /lib/x86_64-linux-gnu/libkdeinit5_kmenuedit.so
#8  0x00007fb42e263592 in ?? () from /lib/x86_64-linux-gnu/libkdeinit5_kmenuedit.so
#9  0x00007fb42e2525d4 in ?? () from /lib/x86_64-linux-gnu/libkdeinit5_kmenuedit.so
#10 0x00007fb42c849300 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fb42d3783e6 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fb42d37aaa2 in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fb42d474e10 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fb42d475035 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fb42d5685fe in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fb42d3c12b6 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fb42d5686a8 in QToolButton::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fb42d37ea66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fb42d388343 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fb42c81d93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fb42d387457 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fb42d3dd35d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fb42d3e01ec in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fb42d37ea66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fb42d3880f0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fb42c81d93a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fb42cd4f7d3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007fb42cd5110b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007fb42cd2b35b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#30 0x00007fb42889432e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#31 0x00007fb42b32317d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fb42b323400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fb42b3234a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fb42c875565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fb42c81c4db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fb42c824246 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007fb42e24b376 in kdemain () from /lib/x86_64-linux-gnu/libkdeinit5_kmenuedit.so
#38 0x00007fb42e0650b3 in __libc_start_main (main=0x55cbb2f5a060, argc=1, argv=0x7ffdfe627e88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdfe627e78) at ../csu/libc-start.c:308
#39 0x000055cbb2f5a09e in _start ()
[Inferior 1 (process 12352) detached]
Comment 1 Nate Graham 2021-06-16 17:01:26 UTC
We are missing some debug symbols:

#6  0x00007fb42dd25ba4 in KService::desktopEntryName() const () from /lib/x86_64-linux-gnu/libKF5Service.so.5
#7  0x00007fb42e265d00 in ?? () from /lib/x86_64-linux-gnu/libkdeinit5_kmenuedit.so
#8  0x00007fb42e263592 in ?? () from /lib/x86_64-linux-gnu/libkdeinit5_kmenuedit.so
#9  0x00007fb42e2525d4 in ?? () from /lib/x86_64-linux-gnu/libkdeinit5_kmenuedit.so
#10 0x00007fb42c849300 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5

Can you install debug symbols for kmenuedit and kservice, reproduce the crash, and attach a new backtrace? Thanks!
Comment 2 Bug Janitor Service 2021-07-01 04:33:49 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 2021-07-16 04:33:40 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!