Bug 400863 - Dolphin crashes when trying to change a folder icon
Summary: Dolphin crashes when trying to change a folder icon
Status: RESOLVED DUPLICATE of bug 398766
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 18.08.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-11-09 00:30 UTC by invictustiberius
Modified: 2018-11-09 21:38 UTC (History)
2 users (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 invictustiberius 2018-11-09 00:30:59 UTC
Application: dolphin (18.08.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:
Application crashes instantly when pressing the icon selection button in the properties dialog of a folder.
It only happens on Dolphin. Icon selection button at KDE Menu Editor still works fine.

The crash can be reproduced every time.

-- Backtrace:
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 0x7fab58d20e40 (LWP 18975))]

Thread 5 (Thread 0x7fab1ffff700 (LWP 18981)):
#0  0x00007fab585960b4 in __GI___libc_read (fd=20, buf=0x7fab1fffeb90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fab4b046a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fab4b001f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fab4b0023e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fab4b00254c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fab5278604b in QEventDispatcherGlib::processEvents (this=0x7fab18000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fab5272a30a in QEventLoop::exec (this=this@entry=0x7fab1fffeda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007fab52555bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007fab52560adb in QThreadPrivate::start (arg=0x56105ebc91a0) at thread/qthread_unix.cpp:367
#9  0x00007fab4d3ea6db in start_thread (arg=0x7fab1ffff700) at pthread_create.c:463
#10 0x00007fab585a788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fab2cf6f700 (LWP 18980)):
#0  0x00007fab4d3f09f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56105e7edd78) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56105e7edd28, cond=0x56105e7edd50) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56105e7edd50, mutex=0x56105e7edd28) at pthread_cond_wait.c:655
#3  0x00007fab32a1d46b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007fab32a1d197 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007fab4d3ea6db in start_thread (arg=0x7fab2cf6f700) at pthread_create.c:463
#6  0x00007fab585a788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fab2dd98700 (LWP 18979)):
#0  0x00007fab4d3f09f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56105ea983a4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x56105ea98350, cond=0x56105ea98378) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x56105ea98378, mutex=0x56105ea98350) at pthread_cond_wait.c:655
#3  0x00007fab32a1d46b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007fab32a1d197 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007fab4d3ea6db in start_thread (arg=0x7fab2dd98700) at pthread_create.c:463
#6  0x00007fab585a788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fab39c70700 (LWP 18978)):
#0  0x00007fab5859abf9 in __GI___poll (fds=0x7fab3401b520, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fab4b002439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fab4b00254c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fab5278604b in QEventDispatcherGlib::processEvents (this=0x7fab34000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fab5272a30a in QEventLoop::exec (this=this@entry=0x7fab39c6fd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fab52555bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fab52bcce45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fab52560adb in QThreadPrivate::start (arg=0x7fab52e44d60) at thread/qthread_unix.cpp:367
#8  0x00007fab4d3ea6db in start_thread (arg=0x7fab39c70700) at pthread_create.c:463
#9  0x00007fab585a788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fab58d20e40 (LWP 18975)):
[KCrash Handler]
#6  0x00007fab525dd836 in QString::size (this=this@entry=0x56105f11b440) at ../../include/QtCore/../../src/corelib/tools/qstring.h:239
#7  QString::lastIndexOf (this=this@entry=0x56105f11b440, ch=ch@entry=..., from=from@entry=-1, cs=cs@entry=Qt::CaseSensitive) at tools/qstring.cpp:3723
#8  0x00007fab55d94897 in sortByFileName (path1=..., path2=...) at ./src/kicondialog.cpp:418
#9  0x00007fab55d984c0 in __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)>::operator()<QList<QString>::iterator, QList<QString>::iterator> (__it2=..., __it1=..., this=<synthetic pointer>) at /usr/include/c++/7/bits/predefined_ops.h:143
#10 std::__unguarded_partition<QList<QString>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__comp=..., __pivot=..., __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:1902
#11 std::__unguarded_partition_pivot<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:1923
#12 std::__introsort_loop<QList<QString>::iterator, int, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__first=..., __last=..., __depth_limit=<optimized out>, __depth_limit@entry=14, __comp=__comp@entry=...) at /usr/include/c++/7/bits/stl_algo.h:1952
#13 0x00007fab55d98520 in std::__introsort_loop<QList<QString>::iterator, int, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__first=..., __last=..., __depth_limit=<optimized out>, __depth_limit@entry=15, __comp=__comp@entry=...) at /usr/include/c++/7/bits/stl_algo.h:1954
#14 0x00007fab55d98520 in std::__introsort_loop<QList<QString>::iterator, int, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__first=..., __last=..., __depth_limit=<optimized out>, __depth_limit@entry=16, __comp=__comp@entry=...) at /usr/include/c++/7/bits/stl_algo.h:1954
#15 0x00007fab55d98520 in std::__introsort_loop<QList<QString>::iterator, int, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__first=..., __last=..., __depth_limit=<optimized out>, __depth_limit@entry=17, __comp=__comp@entry=...) at /usr/include/c++/7/bits/stl_algo.h:1954
#16 0x00007fab55d98520 in std::__introsort_loop<QList<QString>::iterator, int, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(QString const&, QString const&)> > (__first=..., __last=..., __depth_limit=<optimized out>, __depth_limit@entry=18, __comp=__comp@entry=...) at /usr/include/c++/7/bits/stl_algo.h:1954
#17 0x00007fab55d96861 in 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:1968
#18 std::sort<QList<QString>::iterator, bool (*)(QString const&, QString const&)> (__comp=0x7fab55d94860 <sortByFileName(QString const&, QString const&)>, __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:4868
#19 KIconDialog::KIconDialogPrivate::showIcons (this=0x56105eeec4d0) at ./src/kicondialog.cpp:447
#20 0x00007fab55d987e7 in ShowEventFilter::eventFilter (this=0x56105ef3e140, watched=0x56105eeec450, event=0x7ffc01a0a400) at ./src/kicondialog.cpp:243
#21 0x00007fab5272bd6d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x56105eeec450, event=event@entry=0x7ffc01a0a400) at kernel/qcoreapplication.cpp:1174
#22 0x00007fab53747df5 in QApplicationPrivate::notify_helper (this=this@entry=0x56105e7644b0, receiver=receiver@entry=0x56105eeec450, e=e@entry=0x7ffc01a0a400) at kernel/qapplication.cpp:3723
#23 0x00007fab5374f3ef in QApplication::notify (this=0x7ffc01a0b2d0, receiver=0x56105eeec450, e=0x7ffc01a0a400) at kernel/qapplication.cpp:3486
#24 0x00007fab5272bfe8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x56105eeec450, event=event@entry=0x7ffc01a0a400) at kernel/qcoreapplication.cpp:1048
#25 0x00007fab53783508 in QCoreApplication::sendEvent (event=0x7ffc01a0a400, receiver=0x56105eeec450) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#26 QWidgetPrivate::show_helper (this=this@entry=0x56105ed84cc0) at kernel/qwidget.cpp:8045
#27 0x00007fab5378663b in QWidget::setVisible (this=this@entry=0x56105eeec450, visible=visible@entry=true) at kernel/qwidget.cpp:8341
#28 0x00007fab539372ec in QDialog::setVisible (this=0x56105eeec450, visible=<optimized out>) at dialogs/qdialog.cpp:724
#29 0x00007fab55d93fcb in KIconButton::KIconButtonPrivate::_k_slotChangeIcon (this=0x56105eeec260) at ./src/kiconbutton.cpp:168
#30 0x00007fab5275b18f in QtPrivate::QSlotObjectBase::call (a=0x7ffc01a0a6b0, r=0x56105eeebfc0, this=0x56105eeec2a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#31 QMetaObject::activate (sender=sender@entry=0x56105eeebfc0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc01a0a6b0) at kernel/qobject.cpp:3754
#32 0x00007fab5275b747 in QMetaObject::activate (sender=sender@entry=0x56105eeebfc0, m=m@entry=0x7fab53e17bc0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc01a0a6b0) at kernel/qobject.cpp:3633
#33 0x00007fab5382cfb2 in QAbstractButton::clicked (this=this@entry=0x56105eeebfc0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#34 0x00007fab5382d1ca in QAbstractButtonPrivate::emitClicked (this=0x56105eeec000) at widgets/qabstractbutton.cpp:414
#35 0x00007fab5382e5aa in QAbstractButtonPrivate::click (this=0x56105eeec000) at widgets/qabstractbutton.cpp:407
#36 0x00007fab5382e79d in QAbstractButton::mouseReleaseEvent (this=0x56105eeebfc0, e=0x7ffc01a0ab60) at widgets/qabstractbutton.cpp:1011
#37 0x00007fab53786a98 in QWidget::event (this=0x56105eeebfc0, event=0x7ffc01a0ab60) at kernel/qwidget.cpp:9287
#38 0x00007fab53747e1c in QApplicationPrivate::notify_helper (this=this@entry=0x56105e7644b0, receiver=receiver@entry=0x56105eeebfc0, e=e@entry=0x7ffc01a0ab60) at kernel/qapplication.cpp:3727
#39 0x00007fab5374ff87 in QApplication::notify (this=<optimized out>, receiver=0x56105eeebfc0, e=0x7ffc01a0ab60) at kernel/qapplication.cpp:3203
#40 0x00007fab5272bfe8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x56105eeebfc0, event=event@entry=0x7ffc01a0ab60) at kernel/qcoreapplication.cpp:1048
#41 0x00007fab5374e8d2 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#42 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x56105eeebfc0, event=event@entry=0x7ffc01a0ab60, alienWidget=alienWidget@entry=0x56105eeebfc0, nativeWidget=0x56105ef0b600, buttonDown=buttonDown@entry=0x7fab53e41850 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2695
#43 0x00007fab537a1c13 in QWidgetWindow::handleMouseEvent (this=this@entry=0x56105efb84f0, event=event@entry=0x7ffc01a0af60) at kernel/qwidgetwindow.cpp:658
#44 0x00007fab537a4229 in QWidgetWindow::event (this=0x56105efb84f0, event=0x7ffc01a0af60) at kernel/qwidgetwindow.cpp:280
#45 0x00007fab53747e1c in QApplicationPrivate::notify_helper (this=this@entry=0x56105e7644b0, receiver=receiver@entry=0x56105efb84f0, e=e@entry=0x7ffc01a0af60) at kernel/qapplication.cpp:3727
#46 0x00007fab5374f3ef in QApplication::notify (this=0x7ffc01a0b2d0, receiver=0x56105efb84f0, e=0x7ffc01a0af60) at kernel/qapplication.cpp:3486
#47 0x00007fab5272bfe8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x56105efb84f0, event=event@entry=0x7ffc01a0af60) at kernel/qcoreapplication.cpp:1048
#48 0x00007fab52f4b7bb in QCoreApplication::sendSpontaneousEvent (event=0x7ffc01a0af60, receiver=0x56105efb84f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#49 QGuiApplicationPrivate::processMouseEvent (e=0x56105ea5a380) at kernel/qguiapplication.cpp:2082
#50 0x00007fab52f4d335 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x56105ea5a380) at kernel/qguiapplication.cpp:1817
#51 0x00007fab52f25f5b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#52 0x00007fab4395276b in QPAEventDispatcherGlib::processEvents (this=0x56105e7bf5a0, flags=...) at qeventdispatcher_glib.cpp:70
#53 0x00007fab5272a30a in QEventLoop::exec (this=this@entry=0x7ffc01a0b1d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#54 0x00007fab527334d0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#55 0x00007fab52f419cc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#56 0x00007fab53747d75 in QApplication::exec () at kernel/qapplication.cpp:2901
#57 0x00007fab588bb03a in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:166
#58 0x00007fab584a7b97 in __libc_start_main (main=0x56105c5ce720 <main>, argc=1, argv=0x7ffc01a0b458, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc01a0b448) at ../csu/libc-start.c:310
#59 0x000056105c5ce75a in _start ()

Reported using DrKonqi
Comment 1 Julian Steinmann 2018-11-09 16:54:25 UTC
I cannot reproduce this crash with Dolphin 18.11.70.
Steps I followed:
1. Right-click a folder in Dolphin and choose "Properties"
2. Clicked on the icon in the "Properties" dialog
3. The icon chooser dialog appeared normally.

Did you do anything else?

SYSINFO
KDE neon Developer Edition
KDE-Plasma-Version: 5.14.3
Qt-Version: 5.11.2
KDE-Frameworks-Version: 5.52.0
Comment 2 Christoph Feck 2018-11-09 21:38:01 UTC

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