Bug 423719

Summary: system settings crash
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Gerardo <chaicopadillag>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: RESOLVED FIXED    
Severity: crash CC: kdelibs-bugs, nate
Priority: NOR Keywords: drkonqi
Version: 5.71.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 5.75
Sentry Crash Report:

Description Gerardo 2020-06-30 22:38:43 UTC
Application: systemsettings5 (5.19.2)
 (Compiled from sources)
Qt Version: 5.14.2
Frameworks Version: 5.71.0
Operating System: Linux 5.3.0-61-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19

-- Information about the crash:
- What I was doing when the application crashed:

- Custom settings of the application:

the system settings are blocked only when you are downloading packages like themes and styles and then you don't want to open and I have to restart my pc

The crash can be reproduced every time.

-- Backtrace:
Application: Preferencias del sistema (systemsettings5), signal: Segmentation fault

[KCrash Handler]
#4  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x2825048b48) at /usr/include/c++/7/bits/atomic_base.h:396
#5  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed (this=0x2825048b48) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:107
#7  QtPrivate::RefCount::ref (this=0x2825048b48) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:55
#8  QString::QString (other=..., this=0x7ffeb28ced70, this@entry=0x7ffeb28ced68) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1051
#9  KJob::errorText (this=this@entry=0x5565d23b9020) at ./src/lib/jobs/kjob.cpp:202
#10 0x00007ffab0a793cf in KNSCore::KPackageJob::<lambda(KJob*)>::operator() (job=0x5565d23b9020, __closure=0x5565d1b92eb0) at ./src/core/jobs/kpackagejob.cpp:143
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, KNSCore::KPackageJob::start()::<lambda(KJob*)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#12 QtPrivate::Functor<KNSCore::KPackageJob::start()::<lambda(KJob*)>, 1>::call<QtPrivate::List<KJob*>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#13 QtPrivate::QFunctorSlotObject<KNSCore::KPackageJob::start()::<lambda(KJob*)>, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x5565d1b92ea0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#14 0x00007ffb15eff57b in QObject::event (this=0x5565d2799640, e=0x5565d22fea60) at kernel/qobject.cpp:1339
#15 0x00007ffb1704b9ac in QApplicationPrivate::notify_helper (this=this@entry=0x5565cf695700, receiver=receiver@entry=0x5565d2799640, e=e@entry=0x5565d22fea60) at kernel/qapplication.cpp:3685
#16 0x00007ffb17052bb0 in QApplication::notify (this=0x7ffeb28cf480, receiver=0x5565d2799640, e=0x5565d22fea60) at kernel/qapplication.cpp:3431
#17 0x00007ffb15ecc4a8 in QCoreApplication::notifyInternal2 (receiver=0x5565d2799640, event=0x5565d22fea60) at kernel/qcoreapplication.cpp:1075
#18 0x00007ffb15ecc67e in QCoreApplication::sendEvent (receiver=receiver@entry=0x5565d2799640, event=event@entry=0x5565d22fea60) at kernel/qcoreapplication.cpp:1470
#19 0x00007ffb15ecf121 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5565cf68bfd0) at kernel/qcoreapplication.cpp:1815
#20 0x00007ffb15ecf6b8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1674
#21 0x00007ffb15f2c103 in postEventSourceDispatch (s=0x5565cf712e60) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007ffb0e77e417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffb0e77e650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffb0e77e6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffb15f2b7ac in QEventDispatcherGlib::processEvents (this=0x5565cf714270, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007ffb15ecad2a in QEventLoop::exec (this=this@entry=0x7ffeb28cf330, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#27 0x00007ffb15ed44a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#28 0x00005565ce819804 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:168

The reporter indicates this bug may be a duplicate of or related to bug 422451.

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

Reported using DrKonqi
Comment 1 Nate Graham 2020-10-12 21:00:58 UTC
#9  KJob::errorText (this=this@entry=0x5565d23b9020) at ./src/lib/jobs/kjob.cpp:202
#10 0x00007ffab0a793cf in KNSCore::KPackageJob::<lambda(KJob*)>::operator() (job=0x5565d23b9020, __closure=0x5565d1b92eb0) at ./src/core/jobs/kpackagejob.cpp:143

Dan, was this something that got fixed recently?
Comment 2 Dan Leinir Turthra Jensen 2020-10-13 09:57:15 UTC
Yes, that is fixed in 5.75 :)