Summary: | System settings crash in KJob::errorText() | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-knewstuff | Reporter: | Alejandro <ajandro43> |
Component: | general | Assignee: | Jeremy Whiting <jpwhiting> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | admin, alexander.lohnau, dabiswas112, jorgegirardi, kdelibs-bugs, nate |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.72.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/knewstuff/commit/c75457e0054cabd1a0b9ed10faeca6d7649bcb8c | Version Fixed In: | 5.74 |
Sentry Crash Report: |
Description
Alejandro
2020-08-12 02:13:40 UTC
#9 KJob::errorText (this=this@entry=0x5591ab22d6a0) at ./src/lib/jobs/kjob.cpp:202 #10 0x00007f0a66c459ee in KNSCore::KPackageJob::<lambda(KJob*)>::operator() (__closure=0x5591ab6077b0, job=0x5591ab22d6a0) 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=<optimized out>, this_=0x5591ab6077a0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443 Does this happen on all plasma styles/themes? And if not please name the one which causes the crash. Thanks! Hmm... i think that code is a little dangerous anyway, i'll whip up a quick patch, it's sort of roundabout anyway the way it's working now :) A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knewstuff/-/merge_requests/31 If people are able to test out the patch in the comment above, i'd appreciate it :) Git commit c75457e0054cabd1a0b9ed10faeca6d7649bcb8c by Dan Leinir Turthra Jensen. Committed on 17/08/2020 at 08:50. Pushed by leinir into branch 'master'. Fix a sometimes-crash with the KPackageJob task This ensures that we're not trying to reference a job that is no longer around (and also owned by a separate thread and handled by a separate event loop, meaning it may very well have been deleted by the time it reaches that old codepath). M +4 -7 src/core/jobs/kpackagejob.cpp https://invent.kde.org/frameworks/knewstuff/commit/c75457e0054cabd1a0b9ed10faeca6d7649bcb8c *** Bug 423766 has been marked as a duplicate of this bug. *** *** Bug 429183 has been marked as a duplicate of this bug. *** *** Bug 429183 has been marked as a duplicate of this bug. *** |