Bug 400349

Summary: Pb changing Icon file in "File Association"
Product: [Applications] systemsettings Reporter: win10
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.14.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description win10 2018-10-26 18:50:14 UTC
Application: systemsettings5 (5.14.1)

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:
       - Going in "Configuration of the system" Software
       - Click on "Applications" and then "Files Association"
       - Then search for docx file extension, click on the icon to change it.
       - Application crash

The crash can be reproduced every time.

-- Backtrace:
Application: Configuration du système (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f60c29c4840 (LWP 19442))]

Thread 5 (Thread 0x7f608ef07700 (LWP 19448)):
#0  0x00007f60bdfe60b4 in __GI___libc_read (fd=14, buf=0x7f608ef06b30, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f60b7384a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f60b733ff27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f60b73403e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f60b734054c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f60be92553b in QEventDispatcherGlib::processEvents (this=0x7f6088000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f60be8c97fa in QEventLoop::exec (this=this@entry=0x7f608ef06d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007f60be6f4bba in QThread::exec (this=this@entry=0x563e7ee928b0) at thread/qthread.cpp:525
#8  0x00007f60bc9364f5 in QQmlThreadPrivate::run (this=0x563e7ee928b0) at qml/ftw/qqmlthread.cpp:148
#9  0x00007f60be6ffadb in QThreadPrivate::start (arg=0x563e7ee928b0) at thread/qthread_unix.cpp:367
#10 0x00007f60b96fe6db in start_thread (arg=0x7f608ef07700) at pthread_create.c:463
#11 0x00007f60bdff788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f6096d0b700 (LWP 19447)):
#0  0x00007f60be923c02 in QTimerInfoList::repairTimersIfNeeded (this=0x7f60900048f0) at kernel/qtimerinfo_unix.cpp:167
#1  0x00007f60be923c63 in QTimerInfoList::timerWait (this=0x7f60900048f0, tm=...) at kernel/qtimerinfo_unix.cpp:389
#2  0x00007f60be92529e in timerSourcePrepareHelper (timeout=0x7f6096d0ab74, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#3  timerSourcePrepare (source=<optimized out>, timeout=0x7f6096d0ab74) at kernel/qeventdispatcher_glib.cpp:165
#4  0x00007f60b733f998 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f60b734036b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f60b734054c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f60be92553b in QEventDispatcherGlib::processEvents (this=0x7f6090000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f60be8c97fa in QEventLoop::exec (this=this@entry=0x7f6096d0ad40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#9  0x00007f60be6f4bba in QThread::exec (this=this@entry=0x563e7eb690f0) at thread/qthread.cpp:525
#10 0x00007f60bc9364f5 in QQmlThreadPrivate::run (this=0x563e7eb690f0) at qml/ftw/qqmlthread.cpp:148
#11 0x00007f60be6ffadb in QThreadPrivate::start (arg=0x563e7eb690f0) at thread/qthread_unix.cpp:367
#12 0x00007f60b96fe6db in start_thread (arg=0x7f6096d0b700) at pthread_create.c:463
#13 0x00007f60bdff788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f60a6b0f700 (LWP 19444)):
#0  0x00007f60bdfeabf9 in __GI___poll (fds=0x7f60a0004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f60b7340439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f60b734054c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f60be92553b in QEventDispatcherGlib::processEvents (this=0x7f60a0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f60be8c97fa in QEventLoop::exec (this=this@entry=0x7f60a6b0ed30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f60be6f4bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f60bed6de45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f60be6ffadb in QThreadPrivate::start (arg=0x7f60befe5d60) at thread/qthread_unix.cpp:367
#8  0x00007f60b96fe6db in start_thread (arg=0x7f60a6b0f700) at pthread_create.c:463
#9  0x00007f60bdff788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f60af1f5700 (LWP 19443)):
#0  0x00007f60bdfeabf9 in __GI___poll (fds=0x7f60af1f4c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f60b92c2747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f60b92c436a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f60b1b8bed9 in QXcbEventReader::run (this=0x563e7e6b6400) at qxcbconnection.cpp:1391
#4  0x00007f60be6ffadb in QThreadPrivate::start (arg=0x563e7e6b6400) at thread/qthread_unix.cpp:367
#5  0x00007f60b96fe6db in start_thread (arg=0x7f60af1f5700) at pthread_create.c:463
#6  0x00007f60bdff788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f60c29c4840 (LWP 19442)):
[KCrash Handler]
#6  QString::mid (this=this@entry=0x563e85c817f8, position=47, n=n@entry=-1) at tools/qstring.cpp:4769
#7  0x00007f60c1a3d8d9 in sortByFileName (path1=..., path2=...) at ./src/kicondialog.cpp:419
#8  0x00007f60c1a41041 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 0x00007f60c1a3f8be 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=0x7f60c1a3d860 <sortByFileName(QString const&, QString const&)>, __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:4868
#14 KIconDialog::KIconDialogPrivate::showIcons (this=0x563e7f1570e0) at ./src/kicondialog.cpp:447
#15 0x00007f60c1a417e7 in ShowEventFilter::eventFilter (this=0x563e85c45c20, watched=0x563e7f14ff20, event=0x7fffea387f60) at ./src/kicondialog.cpp:243
#16 0x00007f60be8cb25d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x563e7f14ff20, event=event@entry=0x7fffea387f60) at kernel/qcoreapplication.cpp:1174
#17 0x00007f60bf8e8df5 in QApplicationPrivate::notify_helper (this=this@entry=0x563e7e6d3eb0, receiver=receiver@entry=0x563e7f14ff20, e=e@entry=0x7fffea387f60) at kernel/qapplication.cpp:3723
#18 0x00007f60bf8f03ef in QApplication::notify (this=0x7fffea388e10, receiver=0x563e7f14ff20, e=0x7fffea387f60) at kernel/qapplication.cpp:3486
#19 0x00007f60be8cb4d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x563e7f14ff20, event=event@entry=0x7fffea387f60) at kernel/qcoreapplication.cpp:1048
#20 0x00007f60bf924508 in QCoreApplication::sendEvent (event=0x7fffea387f60, receiver=0x563e7f14ff20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QWidgetPrivate::show_helper (this=this@entry=0x563e858158c0) at kernel/qwidget.cpp:8045
#22 0x00007f60bf92763b in QWidget::setVisible (this=this@entry=0x563e7f14ff20, visible=visible@entry=true) at kernel/qwidget.cpp:8341
#23 0x00007f60bfad82ec in QDialog::setVisible (this=0x563e7f14ff20, visible=<optimized out>) at dialogs/qdialog.cpp:724
#24 0x00007f60c1a3cfcb in KIconButton::KIconButtonPrivate::_k_slotChangeIcon (this=0x563e851e90e0) at ./src/kiconbutton.cpp:168
#25 0x00007f60be8fa67f in QtPrivate::QSlotObjectBase::call (a=0x7fffea388210, r=0x563e851e8d60, this=0x563e851e9120) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#26 QMetaObject::activate (sender=sender@entry=0x563e851e8d60, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffea388210) at kernel/qobject.cpp:3754
#27 0x00007f60be8fac37 in QMetaObject::activate (sender=sender@entry=0x563e851e8d60, m=m@entry=0x7f60bffb8bc0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffea388210) at kernel/qobject.cpp:3633
#28 0x00007f60bf9cdfb2 in QAbstractButton::clicked (this=this@entry=0x563e851e8d60, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#29 0x00007f60bf9ce1ca in QAbstractButtonPrivate::emitClicked (this=0x563e851e8da0) at widgets/qabstractbutton.cpp:414
#30 0x00007f60bf9cf5aa in QAbstractButtonPrivate::click (this=0x563e851e8da0) at widgets/qabstractbutton.cpp:407
#31 0x00007f60bf9cf79d in QAbstractButton::mouseReleaseEvent (this=0x563e851e8d60, e=0x7fffea3886c0) at widgets/qabstractbutton.cpp:1011
#32 0x00007f60bf927a98 in QWidget::event (this=0x563e851e8d60, event=0x7fffea3886c0) at kernel/qwidget.cpp:9287
#33 0x00007f60bf8e8e1c in QApplicationPrivate::notify_helper (this=this@entry=0x563e7e6d3eb0, receiver=receiver@entry=0x563e851e8d60, e=e@entry=0x7fffea3886c0) at kernel/qapplication.cpp:3727
#34 0x00007f60bf8f0f87 in QApplication::notify (this=<optimized out>, receiver=0x563e851e8d60, e=0x7fffea3886c0) at kernel/qapplication.cpp:3203
#35 0x00007f60be8cb4d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x563e851e8d60, event=event@entry=0x7fffea3886c0) at kernel/qcoreapplication.cpp:1048
#36 0x00007f60bf8ef8d2 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#37 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x563e851e8d60, event=event@entry=0x7fffea3886c0, alienWidget=alienWidget@entry=0x563e851e8d60, nativeWidget=0x563e7e6c4720, buttonDown=buttonDown@entry=0x7f60bffe2850 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2695
#38 0x00007f60bf942c13 in QWidgetWindow::handleMouseEvent (this=this@entry=0x563e7e906c90, event=event@entry=0x7fffea388ac0) at kernel/qwidgetwindow.cpp:658
#39 0x00007f60bf945229 in QWidgetWindow::event (this=0x563e7e906c90, event=0x7fffea388ac0) at kernel/qwidgetwindow.cpp:280
#40 0x00007f60bf8e8e1c in QApplicationPrivate::notify_helper (this=this@entry=0x563e7e6d3eb0, receiver=receiver@entry=0x563e7e906c90, e=e@entry=0x7fffea388ac0) at kernel/qapplication.cpp:3727
#41 0x00007f60bf8f03ef in QApplication::notify (this=0x7fffea388e10, receiver=0x563e7e906c90, e=0x7fffea388ac0) at kernel/qapplication.cpp:3486
#42 0x00007f60be8cb4d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x563e7e906c90, event=event@entry=0x7fffea388ac0) at kernel/qcoreapplication.cpp:1048
#43 0x00007f60bf0ec7bb in QCoreApplication::sendSpontaneousEvent (event=0x7fffea388ac0, receiver=0x563e7e906c90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#44 QGuiApplicationPrivate::processMouseEvent (e=0x563e85c56480) at kernel/qguiapplication.cpp:2082
#45 0x00007f60bf0ee335 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x563e85c56480) at kernel/qguiapplication.cpp:1817
#46 0x00007f60bf0c6f5b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#47 0x00007f60b1c1776b in QPAEventDispatcherGlib::processEvents (this=0x563e7e73a2c0, flags=...) at qeventdispatcher_glib.cpp:70
#48 0x00007f60be8c97fa in QEventLoop::exec (this=this@entry=0x7fffea388d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#49 0x00007f60be8d29c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#50 0x0000563e7d87fe69 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:71

Possible duplicates by query: bug 400285.

Reported using DrKonqi
Comment 1 Nate Graham 2018-10-26 20:26:53 UTC

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