Bug 400224

Summary: Plasma crashes after try to change the app launcher icon
Product: [Plasma] plasmashell Reporter: Francisco Jesus Oseguera Vega <franc1sco.j>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bugseforuns, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.14.1   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Francisco Jesus Oseguera Vega 2018-10-23 23:42:34 UTC
Application: plasmashell (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:

Trying to change the app launcher icon (with adapta theme).

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f78f3dd7840 (LWP 1476))]

Thread 6 (Thread 0x7f78b0e56700 (LWP 7710)):
#0  0x00007f78e7226d94 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f78e71e135e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78e71e154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78edc9a53b in QEventDispatcherGlib::processEvents (this=0x7f78ac000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f78edc3e7fa in QEventLoop::exec (this=this@entry=0x7f78b0e55d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f78eda69bba in QThread::exec (this=this@entry=0x55795457c2f0) at thread/qthread.cpp:525
#6  0x00007f78f177a4f5 in QQmlThreadPrivate::run (this=0x55795457c2f0) at qml/ftw/qqmlthread.cpp:148
#7  0x00007f78eda74adb in QThreadPrivate::start (arg=0x55795457c2f0) at thread/qthread_unix.cpp:367
#8  0x00007f78ea59c6db in start_thread (arg=0x7f78b0e56700) at pthread_create.c:463
#9  0x00007f78ed36c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f78c0d32700 (LWP 1619)):
#0  0x00007f78e7226d94 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f78e71e135e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78e71e154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78edc9a53b in QEventDispatcherGlib::processEvents (this=0x7f78bc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f78edc3e7fa in QEventLoop::exec (this=this@entry=0x7f78c0d31cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f78eda69bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f78f1bf5826 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f78eda74adb in QThreadPrivate::start (arg=0x55795443c0b0) at thread/qthread_unix.cpp:367
#8  0x00007f78ea59c6db in start_thread (arg=0x7f78c0d32700) at pthread_create.c:463
#9  0x00007f78ed36c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f78d63c1700 (LWP 1515)):
#0  0x00007f78ed35b0b4 in __GI___libc_read (fd=10, buf=0x7f78d63c0b30, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f78e7225a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78e71e0f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78e71e13e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f78e71e154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f78edc9a53b in QEventDispatcherGlib::processEvents (this=0x7f78c8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f78edc3e7fa in QEventLoop::exec (this=this@entry=0x7f78d63c0d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007f78eda69bba in QThread::exec (this=this@entry=0x5579543acee0) at thread/qthread.cpp:525
#8  0x00007f78f177a4f5 in QQmlThreadPrivate::run (this=0x5579543acee0) at qml/ftw/qqmlthread.cpp:148
#9  0x00007f78eda74adb in QThreadPrivate::start (arg=0x5579543acee0) at thread/qthread_unix.cpp:367
#10 0x00007f78ea59c6db in start_thread (arg=0x7f78d63c1700) at pthread_create.c:463
#11 0x00007f78ed36c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f78d7bfd700 (LWP 1495)):
#0  0x00007f78ed35fbf9 in __GI___poll (fds=0x7f78d0004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f78e71e1439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f78e71e154c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f78edc9a53b in QEventDispatcherGlib::processEvents (this=0x7f78d0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f78edc3e7fa in QEventLoop::exec (this=this@entry=0x7f78d7bfcd30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f78eda69bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f78eff8ee45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f78eda74adb in QThreadPrivate::start (arg=0x7f78f0206d60) at thread/qthread_unix.cpp:367
#8  0x00007f78ea59c6db in start_thread (arg=0x7f78d7bfd700) at pthread_create.c:463
#9  0x00007f78ed36c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f78de954700 (LWP 1486)):
#0  0x00007f78ed35fbf9 in __GI___poll (fds=0x7f78de953c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f78f282a747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f78f282c36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f78e0ed6ed9 in QXcbEventReader::run (this=0x5579542ac400) at qxcbconnection.cpp:1391
#4  0x00007f78eda74adb in QThreadPrivate::start (arg=0x5579542ac400) at thread/qthread_unix.cpp:367
#5  0x00007f78ea59c6db in start_thread (arg=0x7f78de954700) at pthread_create.c:463
#6  0x00007f78ed36c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f78f3dd7840 (LWP 1476)):
[KCrash Handler]
#6  QString::mid (this=this@entry=0x557957bf77c8, position=36, n=n@entry=-1) at tools/qstring.cpp:4769
#7  0x00007f78ece1d8d9 in sortByFileName (path1=..., path2=...) at ./src/kicondialog.cpp:419
#8  0x00007f78ece21041 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 0x00007f78ece1f8be 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=0x7f78ece1d860 <sortByFileName(QString const&, QString const&)>, __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:4868
#14 KIconDialog::KIconDialogPrivate::showIcons (this=0x5579576e7140) at ./src/kicondialog.cpp:447
#15 0x00007f78ece217e7 in ShowEventFilter::eventFilter (this=0x557957709b40, watched=0x5579576e70c0, event=0x7ffd5a4a6ad0) at ./src/kicondialog.cpp:243
#16 0x00007f78edc4025d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5579576e70c0, event=event@entry=0x7ffd5a4a6ad0) at kernel/qcoreapplication.cpp:1174
#17 0x00007f78ef29edf5 in QApplicationPrivate::notify_helper (this=this@entry=0x5579542bbb20, receiver=receiver@entry=0x5579576e70c0, e=e@entry=0x7ffd5a4a6ad0) at kernel/qapplication.cpp:3723
#18 0x00007f78ef2a63ef in QApplication::notify (this=0x7ffd5a4a9f60, receiver=0x5579576e70c0, e=0x7ffd5a4a6ad0) at kernel/qapplication.cpp:3486
#19 0x00007f78edc404d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x5579576e70c0, event=event@entry=0x7ffd5a4a6ad0) at kernel/qcoreapplication.cpp:1048
#20 0x00007f78ef2da508 in QCoreApplication::sendEvent (event=0x7ffd5a4a6ad0, receiver=0x5579576e70c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QWidgetPrivate::show_helper (this=this@entry=0x557956e80ff0) at kernel/qwidget.cpp:8045
#22 0x00007f78ef2dd63b in QWidget::setVisible (this=this@entry=0x5579576e70c0, visible=visible@entry=true) at kernel/qwidget.cpp:8341
#23 0x00007f78ef48e2ec in QDialog::setVisible (this=0x5579576e70c0, visible=<optimized out>) at dialogs/qdialog.cpp:724
#24 0x00007f78c2a3c7b5 in IconDialog::qt_static_metacall (_o=_o@entry=0x5579576e6f70, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=7, _a=_a@entry=0x7ffd5a4a6da0) at ./obj-x86_64-linux-gnu/src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin_autogen/EWIEGA46WW/moc_icondialog.cpp:137
#25 0x00007f78c2a3ec75 in IconDialog::qt_metacall (this=0x5579576e6f70, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffd5a4a6da0) at ./obj-x86_64-linux-gnu/src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin_autogen/EWIEGA46WW/moc_icondialog.cpp:252
#26 0x00007f78f172ac69 in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffd5a4a7090, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=12, argv=argv@entry=0x7ffd5a4a6da0) at qml/qqmlpropertycache.cpp:1733
#27 0x00007f78f168daeb in CallMethod (object=..., index=12, returnType=returnType@entry=43, argCount=argCount@entry=0, argTypes=argTypes@entry=0x0, engine=engine@entry=0x5579566ea5e0, callArgs=0x7f78b02173c8, callType=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1193
#28 0x00007f78f168f992 in CallPrecise (object=..., data=..., engine=engine@entry=0x5579566ea5e0, callArgs=callArgs@entry=0x7f78b02173c8, callType=callType@entry=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1441
#29 0x00007f78f1690656 in QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=0x7f78b0217388, argv=<optimized out>, argc=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1975
#30 0x00007f78f16aaa6e in QV4::FunctionObject::call (argc=0, argv=0x7f78b0217350, thisObject=0x7f78b0217388, this=<optimized out>) at jsruntime/qv4functionobject_p.h:163
#31 QV4::Runtime::method_callProperty (engine=0x5579566ea5e0, base=0x7f78b0217388, nameIndex=<optimized out>, argv=0x7f78b0217350, argc=0) at jsruntime/qv4runtime.cpp:1062
#32 0x00007f78f169dc50 in QV4::Moth::VME::exec (fo=0x5579566ea5e0, thisObject=0x7f78f1aa93a0 <QV4::Moth::VME::exec(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int)::jumpTable>, argv=0x7f78abc50fc0, argc=-1258960050) at jsruntime/qv4vme_moth.cpp:800
#33 0x00007f78f175a3c5 in QV4::Moth::VME::exec (context=<optimized out>, argc=<optimized out>, argv=0x7f78b0217350, thisObject=<optimized out>, v4Function=0x5579576d98c0) at ../../include/QtQml/5.11.2/QtQml/private/../../../../../src/qml/jsruntime/qv4vme_moth_p.h:72
#34 QV4::Function::call (context=<optimized out>, argc=<optimized out>, argv=0x7f78b0217350, thisObject=<optimized out>, this=0x5579576d98c0) at ../../include/QtQml/5.11.2/QtQml/private/../../../../../src/qml/jsruntime/qv4function_p.h:72
#35 QQmlJavaScriptExpression::evaluate (this=this@entry=0x55795770d970, callData=callData@entry=0x7f78b0217328, isUndefined=isUndefined@entry=0x0) at qml/qqmljavascriptexpression.cpp:217
#36 0x00007f78f16e9441 in QQmlBoundSignalExpression::evaluate (this=this@entry=0x55795770d970, a=a@entry=0x0) at qml/qqmlboundsignal.cpp:237
#37 0x00007f78f16ea7b3 in QQmlBoundSignal_callback (e=0x55795668e4c0, a=0x0) at qml/qqmlboundsignal.cpp:370
#38 0x00007f78f1734e33 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:106
#39 0x00007f78f16cbd99 in QQmlData::signalEmitted (object=0x55795770d040, index=<optimized out>, a=0x0) at qml/qqmlengine.cpp:861
#40 0x00007f78edc6ed9f in QMetaObject::activate (sender=0x55795770d040, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3648
#41 0x00007f78edc6f67f in QtPrivate::QSlotObjectBase::call (a=0x7ffd5a4a91b0, r=0x55795770d040, this=0x55795770d3c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#42 QMetaObject::activate (sender=sender@entry=0x55795770d270, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd5a4a91b0) at kernel/qobject.cpp:3754
#43 0x00007f78edc6fc37 in QMetaObject::activate (sender=sender@entry=0x55795770d270, m=m@entry=0x7f78ef969840 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd5a4a91b0) at kernel/qobject.cpp:3633
#44 0x00007f78ef2986b2 in QAction::triggered (this=this@entry=0x55795770d270, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#45 0x00007f78ef29acec in QAction::activate (this=0x55795770d270, event=<optimized out>) at kernel/qaction.cpp:1166
#46 0x00007f78ef40e3bc in QMenuPrivate::activateCausedStack (this=this@entry=0x557956751ec0, causedStack=..., action=action@entry=0x55795770d270, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1371
#47 0x00007f78ef41593b in QMenuPrivate::activateAction (this=this@entry=0x557956751ec0, action=action@entry=0x55795770d270, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1448
#48 0x00007f78ef4167f3 in QMenu::mouseReleaseEvent (this=<optimized out>, e=0x7ffd5a4a97d0) at widgets/qmenu.cpp:2942
#49 0x00007f78ef2dda98 in QWidget::event (this=this@entry=0x55795770c550, event=event@entry=0x7ffd5a4a97d0) at kernel/qwidget.cpp:9287
#50 0x00007f78ef418b2b in QMenu::event (this=0x55795770c550, e=0x7ffd5a4a97d0) at widgets/qmenu.cpp:3064
#51 0x00007f78ef29ee1c in QApplicationPrivate::notify_helper (this=this@entry=0x5579542bbb20, receiver=receiver@entry=0x55795770c550, e=e@entry=0x7ffd5a4a97d0) at kernel/qapplication.cpp:3727
#52 0x00007f78ef2a6f87 in QApplication::notify (this=<optimized out>, receiver=0x55795770c550, e=0x7ffd5a4a97d0) at kernel/qapplication.cpp:3203
#53 0x00007f78edc404d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x55795770c550, event=event@entry=0x7ffd5a4a97d0) at kernel/qcoreapplication.cpp:1048
#54 0x00007f78ef2a58d2 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#55 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55795770c550, event=event@entry=0x7ffd5a4a97d0, alienWidget=0x0, alienWidget@entry=0x55795770c550, nativeWidget=0x55795770c550, buttonDown=buttonDown@entry=0x7f78ef998850 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2695
#56 0x00007f78ef2f894a in QWidgetWindow::handleMouseEvent (this=this@entry=0x7f78d8025e00, event=event@entry=0x7ffd5a4a9bd0) at kernel/qwidgetwindow.cpp:555
#57 0x00007f78ef2fb229 in QWidgetWindow::event (this=0x7f78d8025e00, event=0x7ffd5a4a9bd0) at kernel/qwidgetwindow.cpp:280
#58 0x00007f78ef29ee1c in QApplicationPrivate::notify_helper (this=this@entry=0x5579542bbb20, receiver=receiver@entry=0x7f78d8025e00, e=e@entry=0x7ffd5a4a9bd0) at kernel/qapplication.cpp:3727
#59 0x00007f78ef2a63ef in QApplication::notify (this=0x7ffd5a4a9f60, receiver=0x7f78d8025e00, e=0x7ffd5a4a9bd0) at kernel/qapplication.cpp:3486
#60 0x00007f78edc404d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x7f78d8025e00, event=event@entry=0x7ffd5a4a9bd0) at kernel/qcoreapplication.cpp:1048
#61 0x00007f78ee1d27bb in QCoreApplication::sendSpontaneousEvent (event=0x7ffd5a4a9bd0, receiver=0x7f78d8025e00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#62 QGuiApplicationPrivate::processMouseEvent (e=0x557957591c30) at kernel/qguiapplication.cpp:2082
#63 0x00007f78ee1d4335 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x557957591c30) at kernel/qguiapplication.cpp:1817
#64 0x00007f78ee1acf5b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#65 0x00007f78e0f6276b in QPAEventDispatcherGlib::processEvents (this=0x55795430e780, flags=...) at qeventdispatcher_glib.cpp:70
#66 0x00007f78edc3e7fa in QEventLoop::exec (this=this@entry=0x7ffd5a4a9e40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#67 0x00007f78edc479c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#68 0x00005579538acfa5 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:212

Reported using DrKonqi
Comment 1 Patrick Silva 2018-10-24 12:36:53 UTC

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