Bug 399929

Summary: KDE Menu Editor crashes when attempting to add custom icon to custom entry.
Product: [Applications] kmenuedit Reporter: HPetrus <haigpetrus>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.14.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description HPetrus 2018-10-17 15:04:13 UTC
Application: kmenuedit (5.14.1)

Qt Version: 5.11.2
Frameworks Version: 5.51.0
Operating System: Linux 4.18.14-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
After adding the new command and title menu name, I clicked on the icon space and Menu Editor crashes each time.  This occurs whether I've saved the menu entry, or not.
- Custom settings of the application:
All that is custom is that I'm adding the menu item by hand and not automatically from an app install.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f0d97bd5700 (LWP 5530)):
#0  0x00007f0da72267a4 in read () from /usr/lib/libc.so.6
#1  0x00007f0da3b23781 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0da3b73a50 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0da3b74e86 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f0da3b74fce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f0da589ffe4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f0da584b8cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007f0da5694eb9 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007f0da677fba6 in ?? () from /usr/lib/libQt5DBus.so.5
#9  0x00007f0da569ef65 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007f0da45f6a9d in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007f0da7235b23 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0d9f266840 (LWP 5528)):
[KCrash Handler]
#6  0x00007f0da5710732 in QString::mid(int, int) const () from /usr/lib/libQt5Core.so.5
#7  0x00007f0da6c343cd in ?? () from /usr/lib/libKF5IconThemes.so.5
#8  0x00007f0da6c37e71 in ?? () from /usr/lib/libKF5IconThemes.so.5
#9  0x00007f0da6c3663f in ?? () from /usr/lib/libKF5IconThemes.so.5
#10 0x00007f0da6c38827 in ?? () from /usr/lib/libKF5IconThemes.so.5
#11 0x00007f0da584c94b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007f0da61c4e04 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007f0da61cc6e1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f0da584cc39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007f0da6200edd in QWidgetPrivate::show_helper() () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f0da62041d5 in QWidget::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f0da63bafdd in QDialog::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f0da6c33c4d in ?? () from /usr/lib/libKF5IconThemes.so.5
#19 0x00007f0da5876bd0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#20 0x00007f0da62af803 in QAbstractButton::clicked(bool) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f0da62afa1c in ?? () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f0da62b0e12 in ?? () from /usr/lib/libQt5Widgets.so.5
#23 0x00007f0da62b0fe6 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007f0da6204658 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f0da61c4e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007f0da61cc92a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007f0da584cc39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007f0da61cbc11 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007f0da621f98c in ?? () from /usr/lib/libQt5Widgets.so.5
#30 0x00007f0da62225d5 in ?? () from /usr/lib/libQt5Widgets.so.5
#31 0x00007f0da61c4e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#32 0x00007f0da61cc6e1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#33 0x00007f0da584cc39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#34 0x00007f0da5bf50dc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#35 0x00007f0da5bf7066 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#36 0x00007f0da5bd0a3c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#37 0x00007f0d9ebe6e1d in ?? () from /usr/lib/libQt5XcbQpa.so.5
#38 0x00007f0da584b8cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#39 0x00007f0da5853bc6 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#40 0x00007f0da7314872 in kdemain () from /usr/lib/libkdeinit5_kmenuedit.so
#41 0x00007f0da715e223 in __libc_start_main () from /usr/lib/libc.so.6
#42 0x000055750a81405e in _start ()
[Inferior 1 (process 5528) detached]

Reported using DrKonqi
Comment 1 Christoph Feck 2018-10-21 12:08:45 UTC

*** This bug has been marked as a duplicate of bug 398766 ***