Bug 422451 - System Settings crashed when I tried to update a color scheme via "Get new color schemes..." window
Summary: System Settings crashed when I tried to update a color scheme via "Get new co...
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.75.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-06-04 12:29 UTC by Patrick Silva
Modified: 2020-12-01 18:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Discover saying "file not found" (94.55 KB, image/png)
2020-11-14 13:45 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-06-04 12:29:06 UTC
Application: systemsettings5 (5.19.80)

Qt Version: 5.14.2
Frameworks Version: 5.71.0
Operating System: Linux 5.3.0-45-generic x86_64
Windowing system: X11
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
I tried to update a color scheme via "Get new color schemes..." window, I got two dialogs about overwriting files and
System Settings crashed when I clicked on "OK" button of the second one.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f01fa7a4800 (LWP 17093))]
[KCrash Handler]
#6  0x00007f01f637dd1c in std::__atomic_base<int>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x4030000000000000) at /usr/include/c++/7/bits/atomic_base.h:396
#7  0x00007f01f637dd1c in QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#8  0x00007f01f637dd1c in QBasicAtomicInteger<int>::loadRelaxed() const (this=0x4030000000000000) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#9  0x00007f01f637dd1c in QtPrivate::RefCount::deref() (this=0x4030000000000000) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:66
#10 0x00007f01f637dd1c in QString::operator=(QString const&) (this=0x7ffd924d1ef8, other=...) at text/qstring.cpp:2398
#11 0x00007f01810fe0ed in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/newstuff/libnewstuffqmlplugin.so
#12 0x00007f018110619e in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/newstuff/libnewstuffqmlplugin.so
#13 0x00007f0181106c85 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/newstuff/libnewstuffqmlplugin.so
#14 0x00007f01f3bad889 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=this@entry=0x7ffd924cf130, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=12, argv=<optimized out>) at qml/qqmlobjectorgadget.cpp:51
#15 0x00007f01f3a9a925 in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., index=<optimized out>, returnType=returnType@entry=43, argCount=<optimized out>, argTypes=<optimized out>, engine=engine@entry=0x5637d7acd490, callArgs=<optimized out>, callType=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1300
#16 0x00007f01f3a9c32e in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=engine@entry=0x5637d7acd490, callArgs=callArgs@entry=0x7f017f676628, callType=callType@entry=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1565
#17 0x00007f01f3a9cfe1 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=<optimized out>, thisObject=0x7f017f6765d0, argv=<optimized out>, argc=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:2127
#18 0x00007f01f3ab9313 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.14.2/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:202
#19 0x00007f01f3ab9313 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffd924cf420, engine=0x5637d7acd490, code=0x7f0181f6e7f5 "\016\002") at jsruntime/qv4vme_moth.cpp:754
#20 0x00007f01f3abc686 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffd924cf420, engine=engine@entry=0x5637d7acd490) at jsruntime/qv4vme_moth.cpp:463
#21 0x00007f01f3a4fd20 in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) (fo=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at jsruntime/qv4functionobject.cpp:528
#22 0x00007f01f3acc549 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=1, argv=0x7f017f676548, thisObject=0x7f017f676580, this=0x7ffd924cf4c8) at jsruntime/qv4functionobject_p.h:202
#23 0x00007f01f3acc549 in QV4::Runtime::CallQmlContextPropertyLookup::call(QV4::ExecutionEngine*, unsigned int, QV4::Value*, int) (engine=0x5637d7acd490, index=<optimized out>, argv=0x7f017f676548, argc=1) at jsruntime/qv4runtime.cpp:1366
#24 0x00007f01f3ab7302 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffd924cf6b0, engine=0x5637d7acd490, code=0x7f0181f6e84f "\016\002") at jsruntime/qv4vme_moth.cpp:784
#25 0x00007f01f3abc686 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffd924cf6b0, engine=engine@entry=0x5637d7acd490) at jsruntime/qv4vme_moth.cpp:463
#26 0x00007f01f3a4efaa in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=this@entry=0x5637d6b21900, thisObject=thisObject@entry=0x7f017f6764e8, argv=argv@entry=0x7f017f676500, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:69
#27 0x00007f01f3bcce57 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=this@entry=0x5637dc5d6040, callData=callData@entry=0x7f017f6764d0, isUndefined=isUndefined@entry=0x0) at qml/qqmljavascriptexpression.cpp:211
#28 0x00007f01f3b76f69 in QQmlBoundSignalExpression::evaluate(void**) (this=this@entry=0x5637dc5d6040, a=a@entry=0x0) at qml/qqmlboundsignal.cpp:223
#29 0x00007f01f3b781bb in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x5637d71abcf0, a=0x0) at qml/qqmlboundsignal.cpp:356
#30 0x00007f01f3bad322 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:104
#31 0x00007f01f3b5b119 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) (object=0x5637d83faf30, index=<optimized out>, a=0x0) at qml/qqmlengine.cpp:858
#32 0x00007f01f6521314 in doActivate<false>(QObject*, int, void**) (sender=0x5637d83faf30, signal_index=61, argv=0x0) at kernel/qobject.cpp:3762
#33 0x00007f01f65216d7 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd924d1490, r=0x5637d83faf30, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#34 0x00007f01f65216d7 in doActivate<false>(QObject*, int, void**) (sender=0x5637d786f390, signal_index=67, argv=0x7ffd924d1490) at kernel/qobject.cpp:3870
#35 0x00007f01f651bf92 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5637d786f390, m=m@entry=0x7f01e58f39e0 <QQuickDialogButtonBox::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#36 0x00007f01e5691840 in QQuickDialogButtonBox::accepted() (this=this@entry=0x5637d786f390) at .moc/moc_qquickdialogbuttonbox_p.cpp:406
#37 0x00007f01e5631110 in QQuickDialogButtonBoxPrivate::handleClick() (this=<optimized out>) at qquickdialogbuttonbox.cpp:376
#38 0x00007f01f65216d7 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd924d15a0, r=0x5637d786f390, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#39 0x00007f01f65216d7 in doActivate<false>(QObject*, int, void**) (sender=0x5637dc513c00, signal_index=64, argv=0x7ffd924d15a0) at kernel/qobject.cpp:3870
#40 0x00007f01f651bf92 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f01e58f2360 <QQuickAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3930
#41 0x00007f01e568c823 in QQuickAbstractButton::clicked() (this=<optimized out>) at .moc/moc_qquickabstractbutton_p.cpp:630
#42 0x00007f01e5609cd6 in QQuickAbstractButtonPrivate::trigger() (this=this@entry=0x5637d7f220b0) at qquickabstractbutton.cpp:340
#43 0x00007f01e560bb81 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) (this=0x5637d7f220b0, point=...) at qquickabstractbutton.cpp:180
#44 0x00007f01e56297f5 in QQuickControl::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, event=0x7ffd924d1ed0) at qquickcontrol.cpp:2131
#45 0x00007f01f41a8258 in QQuickItem::event(QEvent*) (this=0x5637dc513c00, ev=0x7ffd924d1ed0) at items/qquickitem.cpp:8153
#46 0x00007f01f76659ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5637d33cc790, receiver=receiver@entry=0x5637dc513c00, e=e@entry=0x7ffd924d1ed0) at kernel/qapplication.cpp:3685
#47 0x00007f01f766cbb0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffd924d23c0, receiver=0x5637dc513c00, e=0x7ffd924d1ed0) at kernel/qapplication.cpp:3431
#48 0x00007f01f64e64a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5637dc513c00, event=0x7ffd924d1ed0) at kernel/qcoreapplication.cpp:1075
#49 0x00007f01f64e667e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x5637dc513c00, event=event@entry=0x7ffd924d1ed0) at kernel/qcoreapplication.cpp:1470
#50 0x00007f01f41c244d in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x5637d47a75e0, pointerEvent=0x5637ddedce10) at items/qquickwindow.cpp:1891
#51 0x00007f01f41c34b5 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=this@entry=0x5637d47a75e0, event=0x5637ddedce10) at items/qquickwindow.cpp:2454
#52 0x00007f01f41c422e in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) (this=0x5637d47a75e0, event=0x7ffd924d1ed0) at items/qquickwindow.cpp:2317
#53 0x00007f01f6d7ec05 in QWindow::event(QEvent*) (this=this@entry=0x5637dd447870, ev=ev@entry=0x7ffd924d1ed0) at kernel/qwindow.cpp:2363
#54 0x00007f01f41c5975 in QQuickWindow::event(QEvent*) (this=0x5637dd447870, e=0x7ffd924d1ed0) at items/qquickwindow.cpp:1773
#55 0x00007f01f76659ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5637d33cc790, receiver=receiver@entry=0x5637dd447870, e=e@entry=0x7ffd924d1ed0) at kernel/qapplication.cpp:3685
#56 0x00007f01f766cbb0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffd924d23c0, receiver=0x5637dd447870, e=0x7ffd924d1ed0) at kernel/qapplication.cpp:3431
#57 0x00007f01f64e64a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5637dd447870, event=0x7ffd924d1ed0) at kernel/qcoreapplication.cpp:1075
#58 0x00007f01f64e668e in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=receiver@entry=0x5637dd447870, event=event@entry=0x7ffd924d1ed0) at kernel/qcoreapplication.cpp:1482
#59 0x00007f01f6d738b5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x5637ddde3240) at kernel/qguiapplication.cpp:2203
#60 0x00007f01f6d749e5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x5637ddde3240) at kernel/qguiapplication.cpp:1935
#61 0x00007f01f6d4d1cb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1170
#62 0x00007f01e9fa7f9a in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#63 0x00007f01eeda5417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007f01eeda5650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f01eeda56dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f01f65457ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5637d3421410, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#67 0x00007f01f64e4d2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd924d2270, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#68 0x00007f01f64ee4a0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1383
#69 0x00005637d1d2e804 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:168

Possible duplicates by query: bug 422092, bug 421016, bug 420495, bug 417542, bug 414147.

Reported using DrKonqi
Comment 1 Nate Graham 2020-10-12 20:49:15 UTC
Is this still happening with Frameworks 5.75 if you try again? The dialog got a lot of fixes recently for updating items.
Comment 2 Patrick Silva 2020-10-16 13:04:37 UTC
it's no longer happening, despite update of addons is failing (they reappear when I reopen GHNS windows).

Operating System: Arch Linux
KDE Plasma Version: 5.20.0
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Comment 3 Nate Graham 2020-10-16 14:04:32 UTC
Oh good. Let's use a different bug to track that issue. :)
Comment 4 Patrick Silva 2020-11-14 13:45:58 UTC
Created attachment 133327 [details]
Discover saying "file not found"

This crash occurs when the color scheme that I'm trying to update is not found.
At least Discover shows an error message, as we can see in the attached screenshot.

Operating System: Arch Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Comment 5 Alexander Lohnau 2020-11-26 19:10:05 UTC
Is this still reproducible?
Comment 6 Nate Graham 2020-12-01 18:04:46 UTC
Crash log looks to be entirely in non-KDE code. If it's still happening, I would recommend filing a Qt bug report.