Bug 472589

Summary: DIscover crashes with memory corruption
Product: [Applications] Discover Reporter: Mohammad Raisi <mohammad.raesi1375>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aleixpol, nate, sitter
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mohammad Raisi 2023-07-24 18:53:43 UTC
Application: plasma-discover (5.27.4)
 (Compiled from sources)
Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 5.14.21-150500.55.7-default x86_64
Windowing System: X11
Distribution: openSUSE Leap 15.5
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
each time i run software center it crash after a while also i cant install any aplication by using it.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  std::__atomic_base<int>::operator++ (this=0x90) at /usr/include/c++/7/bits/atomic_base.h:296
#5  QAtomicOps<int>::ref<int> (_q_value=<error reading variable: Cannot access memory at address 0x90>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:283
#6  QBasicAtomicInteger<int>::ref (this=0x90) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:118
#7  QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x563ee5122320) at tools/qsharedpointer.cpp:1398
#8  0x00007f7693ce7759 in QV4::QQmlQPointer<QObject>::init (o=0x563ee5122320, this=<optimized out>) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../../src/qml/memory/qv4heap_p.h:223
#9  QV4::Heap::QObjectWrapper::init (object=0x563ee5122320, this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4qobjectwrapper_p.h:83
#10 QV4::MemoryManager::allocate<QV4::QObjectWrapper, QObject*> (this=0x563ee4caf2a0) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../../src/qml/memory/qv4mm_p.h:245
#11 QV4::QObjectWrapper::create (engine=<optimized out>, engine@entry=0x563ee508a4b0, object=object@entry=0x563ee5122320) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:694
#12 0x00007f7693ce9afb in QV4::QObjectWrapper::wrap_slowPath (engine=0x563ee508a4b0, object=0x563ee5122320) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:614
#13 0x00007f7693c686d3 in QV4::QObjectWrapper::wrap (engine=engine@entry=0x563ee508a4b0, object=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4qobjectwrapper_p.h:222
#14 0x00007f7693c5ee7c in QV4::ExecutionEngine::fromVariant (this=this@entry=0x563ee508a4b0, variant=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4engine.cpp:1710
#15 0x00007f7693c5f7f1 in QV4::ExecutionEngine::metaTypeToJS (this=this@entry=0x563ee508a4b0, type=<optimized out>, data=0x563ee6a4c220) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4engine.cpp:1875
#16 0x00007f7693c5f86e in variantToJS (v4=v4@entry=0x563ee508a4b0, value=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4engine.cpp:1441
#17 0x00007f7693c5f2c7 in variantListToJS (lst=..., v4=0x563ee508a4b0) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4engine.cpp:1819
#18 QV4::ExecutionEngine::fromVariant (this=this@entry=0x563ee508a4b0, variant=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4engine.cpp:1723
#19 0x00007f7693ce9dff in loadProperty (v4=0x563ee508a4b0, object=0x563ee50ed0c0, property=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:205
#20 0x00007f7693c6f3bf in QV4::QObjectWrapper::lookupGetterImpl<QV4::Lookup::getterQObject(QV4::Lookup*, QV4::ExecutionEngine*, const QV4::Value&)::<lambda()> > (useOriginalProperty=false, revertLookup=..., object=..., engine=<optimized out>, lookup=<optimized out>) at ../../include/QtQml/5.15.8/QtQml/private/../../../../../../src/qml/jsruntime/qv4qobjectwrapper_p.h:262
#21 QV4::Lookup::getterQObject (lookup=<optimized out>, engine=<optimized out>, object=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.8+kde22-150500.1.2.x86_64/src/qml/jsruntime/qv4lookup.cpp:416
#22 0x00007f762a4a1db6 in ?? ()
#23 0x0000000000000000 in ?? ()
[Inferior 1 (process 19209) detached]

Reported using DrKonqi
Comment 1 Harald Sitter 2024-05-07 07:57:00 UTC
Is this still reproducible?
Comment 2 Bug Janitor Service 2024-05-22 03:45:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-06-06 03:45:56 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!