Bug 419386 - KDE Menu Editor crashed after saving the menu using 'Restore to System Menu'
Summary: KDE Menu Editor crashed after saving the menu using 'Restore to System Menu'
Status: RESOLVED WORKSFORME
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.18.3
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-03-29 17:44 UTC by Markus Schmits
Modified: 2022-10-06 20:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Schmits 2020-03-29 17:44:19 UTC
Application: kmenuedit (5.18.3)
 (Compiled from sources)
Qt Version: 5.14.1
Frameworks Version: 5.68.0
Operating System: Linux 5.5.10 x86_64
Windowing system: X11
Distribution: Exherbo Linux

-- Information about the crash:
- What I was doing when the application crashed:
First, I executed 'Restore to System Menu'. Reason was, to recreate the menu to default settings and include all known applications. Afterwards, by pressing the 'Save' button, the application crashed.

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f2df1002700 (LWP 4139)):
#0  0x00007f2dffc67bc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f2df348999b in cnd_wait (mtx=0x55b33de078a8, cond=0x55b33de078d0) at ../mesa-20.0.2/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x55b33dd0b7d0) at ../mesa-20.0.2/src/util/u_queue.c:275
#3  0x00007f2df3489557 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.2/include/c11/threads_posix.h:87
#4  0x00007f2dffc613f7 in start_thread () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#5  0x00007f2e02196503 in clone () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6

Thread 7 (Thread 0x7f2df1803700 (LWP 4138)):
#0  0x00007f2dffc67bc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f2df348999b in cnd_wait (mtx=0x55b33de078a8, cond=0x55b33de078d0) at ../mesa-20.0.2/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x55b33ddd45e0) at ../mesa-20.0.2/src/util/u_queue.c:275
#3  0x00007f2df3489557 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.2/include/c11/threads_posix.h:87
#4  0x00007f2dffc613f7 in start_thread () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#5  0x00007f2e02196503 in clone () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6

Thread 6 (Thread 0x7f2df2004700 (LWP 4137)):
#0  0x00007f2dffc67bc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f2df348999b in cnd_wait (mtx=0x55b33de078a8, cond=0x55b33de078d0) at ../mesa-20.0.2/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x55b33dc560c0) at ../mesa-20.0.2/src/util/u_queue.c:275
#3  0x00007f2df3489557 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.2/include/c11/threads_posix.h:87
#4  0x00007f2dffc613f7 in start_thread () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#5  0x00007f2e02196503 in clone () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6

Thread 5 (Thread 0x7f2df2805700 (LWP 4136)):
#0  0x00007f2dffc67bc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f2df348999b in cnd_wait (mtx=0x55b33de078a8, cond=0x55b33de078d0) at ../mesa-20.0.2/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x55b33dea51c0) at ../mesa-20.0.2/src/util/u_queue.c:275
#3  0x00007f2df3489557 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.2/include/c11/threads_posix.h:87
#4  0x00007f2dffc613f7 in start_thread () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#5  0x00007f2e02196503 in clone () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6

Thread 4 (Thread 0x7f2df3006700 (LWP 4135)):
#0  0x00007f2dffc67bc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f2df348999b in cnd_wait (mtx=0x55b33e144870, cond=0x55b33e144898) at ../mesa-20.0.2/include/c11/threads_posix.h:155
#2  util_queue_thread_func (input=input@entry=0x55b33dbbd5a0) at ../mesa-20.0.2/src/util/u_queue.c:275
#3  0x00007f2df3489557 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.2/include/c11/threads_posix.h:87
#4  0x00007f2dffc613f7 in start_thread () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#5  0x00007f2e02196503 in clone () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6

Thread 3 (Thread 0x7f2dfa155700 (LWP 4134)):
#0  0x00007f2e02187a6c in read () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6
#1  0x00007f2dff0c9d57 in g_wakeup_acknowledge (wakeup=0x55b33dafb5b0) at ../glib-2.64.1/glib/gwakeup.c:210
#2  0x00007f2dff084d06 in g_main_context_check (context=context@entry=0x7f2dec000c20, max_priority=2147483647, fds=fds@entry=0x7f2dec004e60, n_fds=n_fds@entry=1) at ../glib-2.64.1/glib/gmain.c:3825
#3  0x00007f2dff0850f2 in g_main_context_iterate (context=context@entry=0x7f2dec000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.64.1/glib/gmain.c:4044
#4  0x00007f2dff085257 in g_main_context_iteration (context=0x7f2dec000c20, may_block=1) at ../glib-2.64.1/glib/gmain.c:4108
#5  0x00007f2e008d4d5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#6  0x00007f2e00880603 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#7  0x00007f2e006bedee in QThread::exec() () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#8  0x00007f2e00bd745f in QDBusConnectionManager::run() () from /usr/x86_64-pc-linux-gnu/lib/libQt5DBus.so.5
#9  0x00007f2e006bfd33 in QThreadPrivate::start(void*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#10 0x00007f2dffc613f7 in start_thread () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#11 0x00007f2e02196503 in clone () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6

Thread 2 (Thread 0x7f2dfbd11700 (LWP 4133)):
#0  0x00007f2e0218beff in poll () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6
#1  0x00007f2dfeb2acb2 in _xcb_conn_wait () from /usr/x86_64-pc-linux-gnu/lib/libxcb.so.1
#2  0x00007f2dfeb2c7da in xcb_wait_for_event () from /usr/x86_64-pc-linux-gnu/lib/libxcb.so.1
#3  0x00007f2dfbef0c80 in QXcbEventQueue::run() () from /usr/x86_64-pc-linux-gnu/lib/libQt5XcbQpa.so.5
#4  0x00007f2e006bfd33 in QThreadPrivate::start(void*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#5  0x00007f2dffc613f7 in start_thread () from /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#6  0x00007f2e02196503 in clone () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6

Thread 1 (Thread 0x7f2dfcac1440 (LWP 4132)):
[KCrash Handler]
#6  0x00007f2e01d95918 in KService::desktopEntryName() const () from /usr/x86_64-pc-linux-gnu/lib/libKF5Service.so.5
#7  0x00007f2e0229007c in GlobalAccel::changeMenuEntryShortcut(QExplicitlySharedDataPointer<KService>, QKeySequence const&) () from /usr/x86_64-pc-linux-gnu/lib/libkdeinit5_kmenuedit.so
#8  0x00007f2e0228dbde in MenuFolderInfo::save(MenuFile*) () from /usr/x86_64-pc-linux-gnu/lib/libkdeinit5_kmenuedit.so
#9  0x00007f2e0227dc00 in TreeView::save() () from /usr/x86_64-pc-linux-gnu/lib/libkdeinit5_kmenuedit.so
#10 0x00007f2e008b4c15 in void doActivate<false>(QObject*, int, void**) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#11 0x00007f2e0142790a in QAction::triggered(bool) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#12 0x00007f2e01429bed in QAction::activate(QAction::ActionEvent) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#13 0x00007f2e0151a5dc in QAbstractButtonPrivate::click() () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#14 0x00007f2e0151a7f0 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#15 0x00007f2e015fb87a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#16 0x00007f2e0146c38e in QWidget::event(QEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#17 0x00007f2e015fb904 in QToolButton::event(QEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#18 0x00007f2e0142d34f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#19 0x00007f2e01435e2a in QApplication::notify(QObject*, QEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#20 0x00007f2e00881850 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#21 0x00007f2e01434fa8 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#22 0x00007f2e0148629f in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#23 0x00007f2e01488dd4 in QWidgetWindow::event(QEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#24 0x00007f2e0142d34f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#25 0x00007f2e01435c08 in QApplication::notify(QObject*, QEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Widgets.so.5
#26 0x00007f2e00881850 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#27 0x00007f2e00d85af0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Gui.so.5
#28 0x00007f2e00d86db1 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Gui.so.5
#29 0x00007f2e00d614da in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Gui.so.5
#30 0x00007f2dfbef1b6a in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/x86_64-pc-linux-gnu/lib/libQt5XcbQpa.so.5
#31 0x00007f2dff084f88 in g_main_dispatch (context=0x7f2df4005000) at ../glib-2.64.1/glib/gmain.c:3309
#32 g_main_context_dispatch (context=context@entry=0x7f2df4005000) at ../glib-2.64.1/glib/gmain.c:3974
#33 0x00007f2dff0851d0 in g_main_context_iterate (context=context@entry=0x7f2df4005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.64.1/glib/gmain.c:4047
#34 0x00007f2dff085257 in g_main_context_iteration (context=0x7f2df4005000, may_block=1) at ../glib-2.64.1/glib/gmain.c:4108
#35 0x00007f2e008d4d3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#36 0x00007f2e00880603 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#37 0x00007f2e00887fbb in QCoreApplication::exec() () from /usr/x86_64-pc-linux-gnu/lib/libQt5Core.so.5
#38 0x00007f2e022772a0 in kdemain () from /usr/x86_64-pc-linux-gnu/lib/libkdeinit5_kmenuedit.so
#39 0x00007f2e020c0f86 in __libc_start_main () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6
#40 0x000055b33c02d08e in _start ()
[Inferior 1 (process 4132) detached]

Possible duplicates by query: bug 417097, bug 416486, bug 415699, bug 376841, bug 317762.

Reported using DrKonqi
Comment 1 Markus Schmits 2020-03-29 18:05:36 UTC
If it's of interest: I was using KDE in a Xwayland session. The crash happened another time before. Afterwards, I couldn't reproduce it on a X11 session.
Comment 2 David Edmundson 2020-03-29 18:09:57 UTC
What do you mean by "in an xwayland" session?
Comment 3 Bug Janitor Service 2020-04-13 04:33:11 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 4 Markus Schmits 2020-04-16 19:51:24 UTC
Hi David,
on my distribution (Exherbo) I can log in (e.g. by sddm) to operate Plasma in a pure X11 session or wayland session. You can get the information through 'echo $XDG_SESSION_TYPE' on the terminal to know in which sessision you are logged in to. Because KDE is not migrated to wayland in all extent, still classical X clients need Xwayland. If I am wrong, please correct me. I am refering to: https://wayland.freedesktop.org/xserver.html
Comment 5 Markus Schmits 2020-04-16 19:59:00 UTC
(In reply to David Edmundson from comment #2)
> What do you mean by "in an xwayland" session?

Sorry I didn't reply through pressing the reply button, so please look at my comment 4.
Comment 6 Justin Zobel 2022-10-06 06:37:21 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 7 Markus Schmits 2022-10-06 20:19:30 UTC
The issue cannot be reproduced in a recent version of the software.