Bug 400522 - Menu editor crashes when changing icon source for submenu
Summary: Menu editor crashes when changing icon source for submenu
Status: RESOLVED DUPLICATE of bug 398766
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 5.14.2
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-10-31 16:45 UTC by Emil Harder
Modified: 2018-10-31 18:45 UTC (History)
1 user (show)

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 Emil Harder 2018-10-31 16:45:04 UTC
Application: kmenuedit (5.14.2)

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:
Opened the drop down menu, to change icon source from Applications to something else.

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 0x7f8fa0c54cc0 (LWP 24931))]

Thread 3 (Thread 0x7f8f8561c700 (LWP 24933)):
#0  0x00007f8fa055b0b4 in __GI___libc_read (fd=7, buf=0x7f8f8561bb20, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f8f95c87a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8f95c42f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8f95c433e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8f95c4354c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8f9c41304b in QEventDispatcherGlib::processEvents (this=0x7f8f80000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f8f9c3b730a in QEventLoop::exec (this=this@entry=0x7f8f8561bd30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007f8f9c1e2bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007f8f9dae8e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f8f9c1edadb in QThreadPrivate::start (arg=0x7f8f9dd60d60) at thread/qthread_unix.cpp:367
#10 0x00007f8f97dde6db in start_thread (arg=0x7f8f8561c700) at pthread_create.c:463
#11 0x00007f8fa056c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8f8cef3700 (LWP 24932)):
#0  0x00007f8fa055fbf9 in __GI___poll (fds=0x7f8f8cef2c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8f94d1d747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8f94d1f36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8f8f889ed9 in QXcbEventReader::run (this=0x56327c16e400) at qxcbconnection.cpp:1391
#4  0x00007f8f9c1edadb in QThreadPrivate::start (arg=0x56327c16e400) at thread/qthread_unix.cpp:367
#5  0x00007f8f97dde6db in start_thread (arg=0x7f8f8cef3700) at pthread_create.c:463
#6  0x00007f8fa056c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8fa0c54cc0 (LWP 24931)):
[KCrash Handler]
#6  QString::mid (this=this@entry=0x56327ebbb4a8, position=38, n=n@entry=-1) at tools/qstring.cpp:4769
#7  0x00007f8f9f7698d9 in sortByFileName (path1=..., path2=...) at ./src/kicondialog.cpp:419
#8  0x00007f8f9f76d041 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 0x00007f8f9f76b8be 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=0x7f8f9f769860 <sortByFileName(QString const&, QString const&)>, __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:4868
#14 KIconDialog::KIconDialogPrivate::showIcons (this=0x56327c5288d0) at ./src/kicondialog.cpp:447
#15 0x00007f8f9c3e8075 in QMetaObject::activate (sender=sender@entry=0x56327c529bc0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdeb0ff9d0) at kernel/qobject.cpp:3771
#16 0x00007f8f9c3e8747 in QMetaObject::activate (sender=sender@entry=0x56327c529bc0, m=m@entry=0x7f8f9d818020 <QComboBox::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdeb0ff9d0) at kernel/qobject.cpp:3633
#17 0x00007f8f9d23dfb1 in QComboBox::activated (this=this@entry=0x56327c529bc0, _t1=<optimized out>) at .moc/moc_qcombobox.cpp:477
#18 0x00007f8f9d23fe4e in QComboBoxPrivate::emitActivated (this=this@entry=0x56327c529ed0, index=...) at widgets/qcombobox.cpp:1359
#19 0x00007f8f9d2415d4 in QComboBoxPrivate::_q_itemSelected (this=0x56327c529ed0, item=...) at widgets/qcombobox.cpp:1350
#20 0x00007f8f9d2473ad in QComboBox::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffdeb0ffbc0) at .moc/moc_qcombobox.cpp:287
#21 0x00007f8f9c3e8075 in QMetaObject::activate (sender=sender@entry=0x56327c237150, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdeb0ffbc0) at kernel/qobject.cpp:3771
#22 0x00007f8f9c3e8747 in QMetaObject::activate (sender=sender@entry=0x56327c237150, m=m@entry=0x7f8f9d817f60 <QComboBoxPrivateContainer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdeb0ffbc0) at kernel/qobject.cpp:3633
#23 0x00007f8f9d23e262 in QComboBoxPrivateContainer::itemSelected (this=this@entry=0x56327c237150, _t1=...) at .moc/moc_qcombobox_p.cpp:335
#24 0x00007f8f9d23e737 in QComboBoxPrivateContainer::eventFilter (this=0x56327c237150, o=0x56327c53dfc0, e=0x7ffdeb100080) at widgets/qcombobox.cpp:762
#25 0x00007f8f9c3b8d6d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x56327c53dfc0, event=event@entry=0x7ffdeb100080) at kernel/qcoreapplication.cpp:1174
#26 0x00007f8f9d145df5 in QApplicationPrivate::notify_helper (this=this@entry=0x56327c176b60, receiver=receiver@entry=0x56327c53dfc0, e=e@entry=0x7ffdeb100080) at kernel/qapplication.cpp:3723
#27 0x00007f8f9d14df87 in QApplication::notify (this=<optimized out>, receiver=0x56327c53dfc0, e=0x7ffdeb100080) at kernel/qapplication.cpp:3203
#28 0x00007f8f9c3b8fe8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x56327c53dfc0, event=event@entry=0x7ffdeb100080) at kernel/qcoreapplication.cpp:1048
#29 0x00007f8f9d14c8d2 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#30 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x56327c53dfc0, event=event@entry=0x7ffdeb100080, alienWidget=alienWidget@entry=0x56327c53dfc0, nativeWidget=0x56327c237150, buttonDown=buttonDown@entry=0x7f8f9d83f850 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2695
#31 0x00007f8f9d19f94a in QWidgetWindow::handleMouseEvent (this=this@entry=0x7f8f88020ab0, event=event@entry=0x7ffdeb100480) at kernel/qwidgetwindow.cpp:555
#32 0x00007f8f9d1a2229 in QWidgetWindow::event (this=0x7f8f88020ab0, event=0x7ffdeb100480) at kernel/qwidgetwindow.cpp:280
#33 0x00007f8f9d145e1c in QApplicationPrivate::notify_helper (this=this@entry=0x56327c176b60, receiver=receiver@entry=0x7f8f88020ab0, e=e@entry=0x7ffdeb100480) at kernel/qapplication.cpp:3727
#34 0x00007f8f9d14d3ef in QApplication::notify (this=0x7ffdeb1007d0, receiver=0x7f8f88020ab0, e=0x7ffdeb100480) at kernel/qapplication.cpp:3486
#35 0x00007f8f9c3b8fe8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x7f8f88020ab0, event=event@entry=0x7ffdeb100480) at kernel/qcoreapplication.cpp:1048
#36 0x00007f8f9c9497bb in QCoreApplication::sendSpontaneousEvent (event=0x7ffdeb100480, receiver=0x7f8f88020ab0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#37 QGuiApplicationPrivate::processMouseEvent (e=0x56327f339820) at kernel/qguiapplication.cpp:2082
#38 0x00007f8f9c94b335 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x56327f339820) at kernel/qguiapplication.cpp:1817
#39 0x00007f8f9c923f5b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#40 0x00007f8f8f91576b in QPAEventDispatcherGlib::processEvents (this=0x56327c1cf2a0, flags=...) at qeventdispatcher_glib.cpp:70
#41 0x00007f8f9c3b730a in QEventLoop::exec (this=this@entry=0x7ffdeb1006f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#42 0x00007f8f9c3c04d0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#43 0x00007f8f9c93f9cc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#44 0x00007f8f9d145d75 in QApplication::exec () at kernel/qapplication.cpp:2901
#45 0x00007f8fa0854352 in kdemain (argc=<optimized out>, argv=0x7ffdeb100918) at ./main.cpp:101
#46 0x00007f8fa046cb97 in __libc_start_main (main=0x56327ba89720 <main>, argc=1, argv=0x7ffdeb100918, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdeb100908) at ../csu/libc-start.c:310
#47 0x000056327ba8975a in _start ()

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

Possible duplicates by query: bug 400015.

Reported using DrKonqi
Comment 1 Patrick Silva 2018-10-31 18:45:25 UTC

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