Bug 400489

Summary: Plasma crashes when trying to change the icon of a desktop shortcut (*.desktop file) through the "Properties" dialog
Product: [Plasma] plasmashell Reporter: fawfulized
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.14.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description fawfulized 2018-10-30 17:52:47 UTC
Application: plasmashell (5.14.2)

Qt Version: 5.11.2
Frameworks Version: 5.51.0
Operating System: Linux 4.18.15-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
Tried to change the icon displayed on a desktop shortcut (desktop in "Folder View") by right-clicking it, selecting "Properties", and clicking the icon displayed in the upper left area of the "General" tab of the "Properties" dialog. Plasma crashes as soon the icon is clicked.

(Expected behavior: Display another dialog which shows system icons and allows to select a custom image to use as an icon).

Crash can be reproduced every time by clicking the icon in the properties dialog. Every single desktop shortcut can be used to cause a crash this way.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f30f4d52880 (LWP 1905))]

Thread 8 (Thread 0x7f30c5723700 (LWP 2079)):
#0  0x00007f30f7656944 in g_thread_self () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f30f762e05d in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f30fa6f3adb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f30fa6a0adb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f30fa4efde6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f30c71188b7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#6  0x00007f30fa4f99b7 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f30f8df3554 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f30f9fd9ccf in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f30d6085700 (LWP 2063)):
#0  0x00007f30f7674839 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f30f762dae6 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f30f762dfd8 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f30f762e06c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f30fa6f3adb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f30fa6a0adb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f30fa4efde6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f30fc0d1396 in  () at /usr/lib64/libQt5Quick.so.5
#8  0x00007f30fa4f99b7 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f30f8df3554 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f30f9fd9ccf in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f30e8dc8700 (LWP 2060)):
#0  0x00007f30f8df94dc in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f30e9c6aa2b in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007f30e9c6a757 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007f30f8df3554 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f30f9fd9ccf in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f30e970a700 (LWP 2059)):
#0  0x00007f30f8df94dc in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f30e9c6aa2b in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007f30e9c6a757 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007f30f8df3554 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f30f9fd9ccf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f30ebfe0700 (LWP 2043)):
#0  0x00007f30f9fcad34 in read () at /lib64/libc.so.6
#1  0x00007f30f76734b0 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f30f762da4b in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f30f762def0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f30f762e06c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f30fa6f3adb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f30fa6a0adb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f30fa4efde6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f30fbe41485 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f30fa4f99b7 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f30f8df3554 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f30f9fd9ccf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f30f14e0700 (LWP 1929)):
#0  0x00007f30f9fcf2c9 in poll () at /lib64/libc.so.6
#1  0x00007f30f762df46 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f30f762e06c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f30fa6f3adb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f30fa6a0adb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f30fa4efde6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f30fb829545 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f30fa4f99b7 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f30f8df3554 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f30f9fd9ccf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f30f2467700 (LWP 1916)):
#0  0x00007f30f9fcf2c9 in poll () at /lib64/libc.so.6
#1  0x00007f30fc50dcc7 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f30fc50f8ea in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f30f3206519 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f30fa4f99b7 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f30f8df3554 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f30f9fd9ccf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f30f4d52880 (LWP 1905)):
[KCrash Handler]
#6  0x00007f30fa56a14e in QString::mid(int, int) const () at /usr/lib64/libQt5Core.so.5
#7  0x00007f30f9eadcf9 in  () at /usr/lib64/libKF5IconThemes.so.5
#8  0x00007f30f9eb15e1 in  () at /usr/lib64/libKF5IconThemes.so.5
#9  0x00007f30f9eafe3c in  () at /usr/lib64/libKF5IconThemes.so.5
#10 0x00007f30f9eb1f87 in  () at /usr/lib64/libKF5IconThemes.so.5
#11 0x00007f30fa6a1b1b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#12 0x00007f30fb123491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f30fb12aaf0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f30fa6a1e09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#15 0x00007f30fb15e208 in QWidgetPrivate::show_helper() () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f30fb16139b in QWidget::setVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f30fb30ea0a in QDialog::setVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f30f9ead5ab in  () at /usr/lib64/libKF5IconThemes.so.5
#19 0x00007f30fa6cb1a0 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f30fb209752 in QAbstractButton::clicked(bool) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f30fb20996a in  () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f30fb20ad2f in  () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f30fb20af05 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f30fb1617f8 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f30fb1234a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007f30fb12ad38 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007f30fa6a1e09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f30fb12a039 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007f30fb17c334 in  () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007f30fb17eebe in  () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007f30fb1234a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#32 0x00007f30fb12aaf0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#33 0x00007f30fa6a1e09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f30faa5eddb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#35 0x00007f30faa60cd5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#36 0x00007f30faa3b03b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#37 0x00007f30f32999db in  () at /usr/lib64/libQt5XcbQpa.so.5
#38 0x00007f30fa6a0adb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#39 0x00007f30fa6a8c52 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#40 0x00005564fe81418b in  ()
#41 0x00007f30f9f01feb in __libc_start_main () at /lib64/libc.so.6
#42 0x00005564fe81460a in _start ()
[Inferior 1 (process 1905) detached]

Reported using DrKonqi
Comment 1 David Edmundson 2018-10-30 17:59:45 UTC
Please install debug symbols for KIconThemes and reproduce
Comment 2 fawfulized 2018-10-30 18:38:06 UTC
I'm sorry it took this long (not very Linux-savvy and had trouble finding the debug symbols), but here is another crash with debug symbols for KIconThemes installed:

Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f52fb5ff880 (LWP 1921))]

Thread 8 (Thread 0x7f52cbfff700 (LWP 2093)):
#0  0x00007f530087c2c9 in poll () at /lib64/libc.so.6
#1  0x00007f52fdedaf46 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f52fdedb06c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f5300fa0adb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f5300f4dadb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f5300d9cde6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f52d611e8b7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#7  0x00007f5300da69b7 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f52ff6a0554 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f5300886ccf in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f52dc932700 (LWP 2078)):
#0  0x00007f5300894876 in clock_gettime () at /lib64/libc.so.6
#1  0x00007f5300fa0401 in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007f5300f9ec39 in QTimerInfoList::updateCurrentTime() () at /usr/lib64/libQt5Core.so.5
#3  0x00007f5300f9f235 in QTimerInfoList::timerWait(timespec&) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f5300fa085e in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f52fdeda499 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f52fdedae7b in  () at /usr/lib64/libglib-2.0.so.0
#7  0x00007f52fdedb06c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#8  0x00007f5300fa0adb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f5300f4dadb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f5300d9cde6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#11 0x00007f530297e396 in  () at /usr/lib64/libQt5Quick.so.5
#12 0x00007f5300da69b7 in  () at /usr/lib64/libQt5Core.so.5
#13 0x00007f52ff6a0554 in start_thread () at /lib64/libpthread.so.0
#14 0x00007f5300886ccf in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f52dfebe700 (LWP 2075)):
#0  0x00007f52ff6a64dc in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f52f0518a2b in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007f52f0518757 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007f52ff6a0554 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f5300886ccf in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f52e8823700 (LWP 2074)):
#0  0x00007f52ff6a64dc in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f52f0518a2b in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007f52f0518757 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007f52ff6a0554 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f5300886ccf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f52f288e700 (LWP 2057)):
#0  0x00007f5300fa0e41 in  () at /usr/lib64/libQt5Core.so.5
#1  0x00007f52fdeda499 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f52fdedae7b in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f52fdedb06c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f5300fa0adb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f5300f4dadb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f5300d9cde6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f53026ee485 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f5300da69b7 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f52ff6a0554 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f5300886ccf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f52f3d69700 (LWP 1936)):
#0  0x00007f5300877d34 in read () at /lib64/libc.so.6
#1  0x00007f52fdf204b0 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f52fdedaa4b in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f52fdedaef0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f52fdedb06c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f5300fa0adb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f5300f4dadb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f5300d9cde6 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f53020d6545 in  () at /usr/lib64/libQt5DBus.so.5
#9  0x00007f5300da69b7 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f52ff6a0554 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f5300886ccf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f52f8d14700 (LWP 1931)):
#0  0x00007f530087c2c9 in poll () at /lib64/libc.so.6
#1  0x00007f5302dbacc7 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f5302dbc8ea in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f52f9ab3519 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f5300da69b7 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f52ff6a0554 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f5300886ccf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f52fb5ff880 (LWP 1921)):
[KCrash Handler]
#6  0x00007f5300e1714e in QString::mid(int, int) const () at /usr/lib64/libQt5Core.so.5
#7  0x00007f530075acf9 in sortByFileName(QString const&, QString const&) (path1=..., path2=...) at /usr/include/qt5/QtCore/qchar.h:88
#8  0x00007f530075e5e1 in __gnu_cxx::__ops::_Val_comp_iter<bool (*)(QString const&, QString const&)>::operator()<QString, QList<QString>::iterator>(QString&, QList<QString>::iterator) (this=<synthetic pointer>, __it=..., __val=...) at /usr/include/c++/8/bits/predefined_ops.h:214
#9  0x00007f530075e5e1 in std::__unguarded_linear_insert<QList<QString>::iterator, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(QString const&, QString const&)> >(QList<QString>::iterator, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(QString const&, QString const&)>) (__last=..., __comp=__comp@entry=...) at /usr/include/c++/8/bits/stl_algo.h:1828
#10 0x00007f530075ce3c in std::__unguarded_insertion_sort<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> >(QList<QString>::iterator, QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)>) (__first=..., __comp=..., __last=...) at /usr/include/qt5/QtCore/qlist.h:239
#11 0x00007f530075ce3c in std::__final_insertion_sort<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> >(QList<QString>::iterator, QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)>) (__comp=..., __last=..., __first=...) at /usr/include/c++/8/bits/stl_algo.h:1886
#12 0x00007f530075ce3c in std::__sort<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> >(QList<QString>::iterator, QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)>) (__comp=..., __last=..., __first=...) at /usr/include/c++/8/bits/stl_algo.h:1971
#13 0x00007f530075ce3c in std::sort<QList<QString>::iterator, bool (*)(QString const&, QString const&)>(QList<QString>::iterator, QList<QString>::iterator, bool (*)(QString const&, QString const&)) (__first=..., __last=..., __comp=0x7f530075ac80 <sortByFileName(QString const&, QString const&)>) at /usr/include/c++/8/bits/stl_algo.h:4866
#14 0x00007f530075ce3c in KIconDialog::KIconDialogPrivate::showIcons() (this=0x55f497f924f0) at /usr/src/debug/kiconthemes-5.51.0-1.1.x86_64/src/kicondialog.cpp:447
#15 0x00007f530075ef87 in ShowEventFilter::eventFilter(QObject*, QEvent*) (this=0x55f497fbc9b0, watched=0x55f497f45a80, event=0x7ffed3dc6730) at /usr/src/debug/kiconthemes-5.51.0-1.1.x86_64/src/kicondialog.cpp:243
#16 0x00007f5300f4eb1b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f53019d0491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f53019d7af0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f5300f4ee09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f5301a0b208 in QWidgetPrivate::show_helper() () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f5301a0e39b in QWidget::setVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f5301bbba0a in QDialog::setVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f530075a5ab in KIconButton::KIconButtonPrivate::_k_slotChangeIcon() (this=0x55f497f499d0) at /usr/src/debug/kiconthemes-5.51.0-1.1.x86_64/src/kiconbutton.cpp:168
#24 0x00007f5300f781a0 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f5301ab6752 in QAbstractButton::clicked(bool) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007f5301ab696a in  () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007f5301ab7d2f in  () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007f5301ab7f05 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007f5301a0e7f8 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007f53019d04a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007f53019d7d38 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#32 0x00007f5300f4ee09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#33 0x00007f53019d7039 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5
#34 0x00007f5301a29334 in  () at /usr/lib64/libQt5Widgets.so.5
#35 0x00007f5301a2bebe in  () at /usr/lib64/libQt5Widgets.so.5
#36 0x00007f53019d04a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#37 0x00007f53019d7af0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#38 0x00007f5300f4ee09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#39 0x00007f530130bddb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#40 0x00007f530130dcd5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#41 0x00007f53012e803b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#42 0x00007f52f9b469db in  () at /usr/lib64/libQt5XcbQpa.so.5
#43 0x00007f5300f4dadb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#44 0x00007f5300f55c52 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#45 0x000055f494dc218b in  ()
#46 0x00007f53007aefeb in __libc_start_main () at /lib64/libc.so.6
#47 0x000055f494dc260a in _start ()
[Inferior 1 (process 1921) detached]


More interestingly, when a new, empty folder is created on the desktop, Plasma does not crash when trying to change the icon for that folder. The icon selection dialog appears normally, but Plasma crashes as soon as the entry "Applications" is selected from the drop-down next to the "System icons" option (in the Group "Icon Source").
Comment 3 Christoph Feck 2018-10-30 19:05:21 UTC

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