Bug 400183

Summary: KDE apps crashed with change icon on toolbar
Product: [Frameworks and Libraries] frameworks-kiconthemes Reporter: varlesh <varlesh>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED DUPLICATE    
Severity: crash CC: arojas, kde, kdelibs-bugs
Priority: NOR    
Version: 5.50.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: dolphin kcrash
GDB log

Description varlesh 2018-10-23 06:25:45 UTC
SUMMARY

KDE apps crashed with change any icon on toolbar with Adawita icon name (or wrong/empty icon name on Inherits) option in icon theme.

For example index.theme:

Inherits=breeze-dark,gnome,hicolor
Inherits=breeze-dark,Adwaita,hicolor


STEPS TO REPRODUCE
1. Set Adwaita icon theme or other icon theme with wrong/empty icon name on Inherits
2. Open any KDE application
3. Click Configure Toolbars...
4. Select any toolbar icon 
5. Click button Change Icon...
6. Crash

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.1
KDE Frameworks Version: 5.51
Qt Version: 5.11.2
Comment 1 varlesh 2018-10-23 06:50:03 UTC
This bug reproduce always. Tested on different PC on Manjaro KDE and KDE Neon with fresh updates.
KDE Plasma Version: 5.14.1
KDE Frameworks Version: 5.51
Qt Version: 5.11.2
Comment 2 Kai Uwe Broulik 2018-10-23 06:52:19 UTC
Please provide a backtrace of the crash.
Comment 3 varlesh 2018-10-23 06:55:50 UTC
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f68e8ab5c80 (LWP 22958))]

Thread 4 (Thread 0x7f68be1f7700 (LWP 22962)):
#0  0x00007f68e832cbf9 in __GI___poll (fds=0x7f68b80049b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f68dad92439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f68dad9254c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68e251653b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f68e24ba7fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f68e22e5bba in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f68e22f0adb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f68dd17a6db in start_thread (arg=0x7f68be1f7700) at pthread_create.c:463
#8  0x00007f68e833988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f68c5f95700 (LWP 22961)):
#0  0x00007f68e832cbf9 in __GI___poll (fds=0x7f68c001c2d0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f68dad92439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f68dad9254c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68e251653b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f68e24ba7fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f68e22e5bba in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f68e295ee45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f68e22f0adb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f68dd17a6db in start_thread (arg=0x7f68c5f95700) at pthread_create.c:463
#9  0x00007f68e833988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f68d07da700 (LWP 22960)):
#0  0x00007f68e832cbf9 in __GI___poll (fds=0x7f68d07d9ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f68da3fc747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f68da3fe36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f68d379aed9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f68e22f0adb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f68dd17a6db in start_thread (arg=0x7f68d07da700) at pthread_create.c:463
#6  0x00007f68e833988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f68e8ab5c80 (LWP 22958)):
[KCrash Handler]
#6  0x00007f68e236a562 in QString::mid(int, int) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f68e5b268d9 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#8  0x00007f68e5b2a041 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#9  0x00007f68e5b288be in ?? () from /usr/lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#10 0x00007f68e5b2a7e7 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#11 0x00007f68e24bc25d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f68e34d9df5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f68e34e13ef in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f68e24bc4d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f68e3515508 in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f68e351863b in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f68e36c92ec in QDialog::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f68e36c8963 in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f68e5b2807a in KIconDialog::openDialog() () from /usr/lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#20 0x00007f68e5b28265 in KIconDialog::getIcon(KIconLoader::Group, KIconLoader::Context, bool, int, bool, QWidget*, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5IconThemes.so.5
#21 0x00007f68e5dba919 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#22 0x00007f68e5dc01f9 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#23 0x00007f68e5dc0238 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#24 0x00007f68e24eb565 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f68e35befb2 in QAbstractButton::clicked(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f68e35bf1ca in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f68e35c05aa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f68e35c079d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f68e3518a98 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f68e34d9e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f68e34e1f87 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f68e24bc4d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f68e34e08d2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f68e3533c13 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007f68e3536229 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007f68e34d9e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007f68e34e13ef in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007f68e24bc4d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f68e2cdd7bb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#40 0x00007f68e2cdf335 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x00007f68e2cb7f5b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007f68d382676b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#43 0x00007f68e24ba7fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007f68e24c39c0 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f68e864d03a in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#46 0x00007f68e8239b97 in __libc_start_main (main=0x55e3098de720, argc=1, argv=0x7fff9ca8d3a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9ca8d398) at ../csu/libc-start.c:310
#47 0x000055e3098de75a in _start ()
Comment 4 varlesh 2018-10-23 07:00:02 UTC
Created attachment 115844 [details]
dolphin kcrash
Comment 5 varlesh 2018-10-23 07:49:16 UTC
Created attachment 115845 [details]
GDB log
Comment 6 Antonio Rojas 2018-10-23 11:02:18 UTC

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