Bug 503246

Summary: Crash when I try to restart Discover after disabling fwupd backend
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: fwupd BackendAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, kdedev, sharma.abhijeet2096
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/131848/events/d75bb5da432b47d0a8263b243954608a/
Attachments: New crash information added by DrKonqi

Description Patrick Silva 2025-04-23 18:47:59 UTC
Application: plasma-discover (6.3.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.13.0
Operating System: Linux 6.12.24-1-lts x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.3.4 [CoredumpBackend]

-- Information about the crash:
open discover, go to settings and uncheck all options of fwupd backend, close Discover and try to reopen it.
Result: Discover does not open and Plasma notifies a crash ~2 minutes later.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x000070410deda43c in QQmlData::wasDeleted (priv=0x51) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:307
#6  QQmlData::wasDeleted (object=0x56f8bf0168b0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:322
#7  QV4::QObjectWrapper::wrap (engine=0x56f8bee72020, object=0x56f8bf0168b0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper_p.h:245
#8  0x000070410df7fa36 in QV4::ExecutionEngine::fromData (this=0x56f8bee72020, metaType=..., ptr=<optimized out>, container=<optimized out>, property=<optimized out>, flags=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4engine.cpp:1845
#9  0x000070410e01348a in QV4::ExecutionEngine::fromVariant (this=0x56f8bee72020, variant=..., parent=<optimized out>, property=0, flags=7) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4engine.cpp:1977


Reported using DrKonqi
Comment 1 Patrick Silva 2025-04-23 18:48:31 UTC
Created attachment 180582 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2025-04-23 22:01:57 UTC
Searchable backrace

Thread 1 (Thread 0x704106e91a40 (LWP 56096)):
[KCrash Handler]
#5  0x000070410deda43c in QQmlData::wasDeleted (priv=0x51) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:307
#6  QQmlData::wasDeleted (object=0x56f8bf0168b0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmldata_p.h:322
#7  QV4::QObjectWrapper::wrap (engine=0x56f8bee72020, object=0x56f8bf0168b0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper_p.h:245
#8  0x000070410df7fa36 in QV4::ExecutionEngine::fromData (this=0x56f8bee72020, metaType=..., ptr=<optimized out>, container=<optimized out>, property=<optimized out>, flags=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4engine.cpp:1845
#9  0x000070410e01348a in QV4::ExecutionEngine::fromVariant (this=0x56f8bee72020, variant=..., parent=<optimized out>, property=0, flags=7) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4engine.cpp:1977
#10 QV4::doGetIndexed (s=<optimized out>, index=0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4sequenceobject.cpp:35
#11 0x000070410df50070 in QV4::ArrayIteratorPrototype::method_next (b=<optimized out>, that=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4arrayiterator.cpp:52
#12 0x000070410e005184 in QV4::FunctionObject::call (data=<synthetic pointer>..., this=0x7040c17be748) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:103
#13 QV4::Runtime::IteratorNext::call (engine=0x56f8bee72020, iterator=..., value=0x7040c17be6d0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:878
#14 0x00007040b9b2249f in ??? ()
#15 0x0000000000000000 in ??? ()
Comment 3 TraceyC 2025-04-23 22:10:35 UTC
Thank you for the bug report. Based on the backtrace this looks like a duplicate of bug 491703. Please follow that report if you would like updates on the progress of this issue.

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