Bug 400951

Summary: Menu Editor crashes with Numix icon theme
Product: [Applications] kmenuedit Reporter: Tacco <claudio.taccogna>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tacco 2018-11-11 23:38:25 UTC
Application: kmenuedit (5.14.3)

Qt Version: 5.11.2
Frameworks Version: 5.51.0
Operating System: Linux 4.15.0-38-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to replace an icon with the menu editor. With icon sets provided by Kde Neon, everything is working ok

The crash can be reproduced every time.

-- 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 0x7fcf5c407cc0 (LWP 3219))]

Thread 3 (Thread 0x7fcf44eaa700 (LWP 3221)):
#0  0x00007fcf513ec8c8 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fcf513ed36b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcf513ed54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf57bbd04b in QEventDispatcherGlib::processEvents (this=0x7fcf38000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fcf57b6130a in QEventLoop::exec (this=this@entry=0x7fcf44ea9d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fcf5798cbba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fcf59292e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fcf57997adb in QThreadPrivate::start (arg=0x7fcf5950ad60) at thread/qthread_unix.cpp:367
#8  0x00007fcf535886db in start_thread (arg=0x7fcf44eaa700) at pthread_create.c:463
#9  0x00007fcf5bd1688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fcf486af700 (LWP 3220)):
#0  0x00007fcf5bd09bf9 in __GI___poll (fds=0x7fcf486aec68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcf504c7747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fcf504c936a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fcf4b045ed9 in QXcbEventReader::run (this=0x55f856019400) at qxcbconnection.cpp:1391
#4  0x00007fcf57997adb in QThreadPrivate::start (arg=0x55f856019400) at thread/qthread_unix.cpp:367
#5  0x00007fcf535886db in start_thread (arg=0x7fcf486af700) at pthread_create.c:463
#6  0x00007fcf5bd1688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fcf5c407cc0 (LWP 3219)):
[KCrash Handler]
#6  QString::mid (this=this@entry=0x55f856623be8, position=36, n=n@entry=-1) at tools/qstring.cpp:4769
#7  0x00007fcf5af138d9 in sortByFileName (path1=..., path2=...) at ./src/kicondialog.cpp:419
#8  0x00007fcf5af17041 in __gnu_cxx::__ops::_Val_comp_iter<bool (*)(QString const&, QString const&)>::operator()<QString, QList<QString>::iterator> (__it=..., __val=..., this=<synthetic pointer>) at /usr/include/c++/7/bits/predefined_ops.h:215
#9  std::__unguarded_linear_insert<QList<QString>::iterator, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(QString const&, QString const&)> > (__last=..., __comp=__comp@entry=...) at /usr/include/c++/7/bits/stl_algo.h:1828
#10 0x00007fcf5af158be in std::__unguarded_insertion_sort<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:1867
#11 std::__final_insertion_sort<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:1886
#12 std::__sort<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:1971
#13 std::sort<QList<QString>::iterator, bool (*)(QString const&, QString const&)> (__comp=0x7fcf5af13860 <sortByFileName(QString const&, QString const&)>, __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:4868
#14 KIconDialog::KIconDialogPrivate::showIcons (this=0x55f8564840b0) at ./src/kicondialog.cpp:447
#15 0x00007fcf5af177e7 in ShowEventFilter::eventFilter (this=0x55f8564a8e40, watched=0x55f856398c20, event=0x7fff58a72b00) at ./src/kicondialog.cpp:243
#16 0x00007fcf57b62d6d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55f856398c20, event=event@entry=0x7fff58a72b00) at kernel/qcoreapplication.cpp:1174
#17 0x00007fcf588efdf5 in QApplicationPrivate::notify_helper (this=this@entry=0x55f856021be0, receiver=receiver@entry=0x55f856398c20, e=e@entry=0x7fff58a72b00) at kernel/qapplication.cpp:3723
#18 0x00007fcf588f73ef in QApplication::notify (this=0x7fff58a739b0, receiver=0x55f856398c20, e=0x7fff58a72b00) at kernel/qapplication.cpp:3486
#19 0x00007fcf57b62fe8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55f856398c20, event=event@entry=0x7fff58a72b00) at kernel/qcoreapplication.cpp:1048
#20 0x00007fcf5892b508 in QCoreApplication::sendEvent (event=0x7fff58a72b00, receiver=0x55f856398c20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QWidgetPrivate::show_helper (this=this@entry=0x55f85647e390) at kernel/qwidget.cpp:8045
#22 0x00007fcf5892e63b in QWidget::setVisible (this=this@entry=0x55f856398c20, visible=visible@entry=true) at kernel/qwidget.cpp:8341
#23 0x00007fcf58adf2ec in QDialog::setVisible (this=0x55f856398c20, visible=<optimized out>) at dialogs/qdialog.cpp:724
#24 0x00007fcf5af12fcb in KIconButton::KIconButtonPrivate::_k_slotChangeIcon (this=0x55f85611e740) at ./src/kiconbutton.cpp:168
#25 0x00007fcf57b9218f in QtPrivate::QSlotObjectBase::call (a=0x7fff58a72db0, r=0x55f8561b5520, this=0x55f8561cc230) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#26 QMetaObject::activate (sender=sender@entry=0x55f8561b5520, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff58a72db0) at kernel/qobject.cpp:3754
#27 0x00007fcf57b92747 in QMetaObject::activate (sender=sender@entry=0x55f8561b5520, m=m@entry=0x7fcf58fbfbc0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff58a72db0) at kernel/qobject.cpp:3633
#28 0x00007fcf589d4fb2 in QAbstractButton::clicked (this=this@entry=0x55f8561b5520, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#29 0x00007fcf589d51ca in QAbstractButtonPrivate::emitClicked (this=0x55f8561b99f0) at widgets/qabstractbutton.cpp:414
#30 0x00007fcf589d65aa in QAbstractButtonPrivate::click (this=0x55f8561b99f0) at widgets/qabstractbutton.cpp:407
#31 0x00007fcf589d679d in QAbstractButton::mouseReleaseEvent (this=0x55f8561b5520, e=0x7fff58a73260) at widgets/qabstractbutton.cpp:1011
#32 0x00007fcf5892ea98 in QWidget::event (this=0x55f8561b5520, event=0x7fff58a73260) at kernel/qwidget.cpp:9287
#33 0x00007fcf588efe1c in QApplicationPrivate::notify_helper (this=this@entry=0x55f856021be0, receiver=receiver@entry=0x55f8561b5520, e=e@entry=0x7fff58a73260) at kernel/qapplication.cpp:3727
#34 0x00007fcf588f7f87 in QApplication::notify (this=<optimized out>, receiver=0x55f8561b5520, e=0x7fff58a73260) at kernel/qapplication.cpp:3203
#35 0x00007fcf57b62fe8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55f8561b5520, event=event@entry=0x7fff58a73260) at kernel/qcoreapplication.cpp:1048
#36 0x00007fcf588f68d2 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#37 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55f8561b5520, event=event@entry=0x7fff58a73260, alienWidget=alienWidget@entry=0x55f8561b5520, nativeWidget=0x55f856084eb0, buttonDown=buttonDown@entry=0x7fcf58fe9850 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2695
#38 0x00007fcf58949c13 in QWidgetWindow::handleMouseEvent (this=this@entry=0x55f8561a73d0, event=event@entry=0x7fff58a73660) at kernel/qwidgetwindow.cpp:658
#39 0x00007fcf5894c229 in QWidgetWindow::event (this=0x55f8561a73d0, event=0x7fff58a73660) at kernel/qwidgetwindow.cpp:280
#40 0x00007fcf588efe1c in QApplicationPrivate::notify_helper (this=this@entry=0x55f856021be0, receiver=receiver@entry=0x55f8561a73d0, e=e@entry=0x7fff58a73660) at kernel/qapplication.cpp:3727
#41 0x00007fcf588f73ef in QApplication::notify (this=0x7fff58a739b0, receiver=0x55f8561a73d0, e=0x7fff58a73660) at kernel/qapplication.cpp:3486
#42 0x00007fcf57b62fe8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55f8561a73d0, event=event@entry=0x7fff58a73660) at kernel/qcoreapplication.cpp:1048
#43 0x00007fcf580f37bb in QCoreApplication::sendSpontaneousEvent (event=0x7fff58a73660, receiver=0x55f8561a73d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#44 QGuiApplicationPrivate::processMouseEvent (e=0x55f8564d0cc0) at kernel/qguiapplication.cpp:2082
#45 0x00007fcf580f5335 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55f8564d0cc0) at kernel/qguiapplication.cpp:1817
#46 0x00007fcf580cdf5b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#47 0x00007fcf4b0d176b in QPAEventDispatcherGlib::processEvents (this=0x55f856068d60, flags=...) at qeventdispatcher_glib.cpp:70
#48 0x00007fcf57b6130a in QEventLoop::exec (this=this@entry=0x7fff58a738d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#49 0x00007fcf57b6a4d0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#50 0x00007fcf580e99cc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#51 0x00007fcf588efd75 in QApplication::exec () at kernel/qapplication.cpp:2901
#52 0x00007fcf5bffe352 in kdemain (argc=<optimized out>, argv=0x7fff58a73af8) at ./main.cpp:101
#53 0x00007fcf5bc16b97 in __libc_start_main (main=0x55f855920720 <main>, argc=1, argv=0x7fff58a73af8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff58a73ae8) at ../csu/libc-start.c:310
#54 0x000055f85592075a in _start ()

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

Possible duplicates by query: bug 400653, bug 400522, bug 400015.

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2018-11-12 16:19:02 UTC

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