Bug 424893 - Discover crashed in KNSCore::KPackageJob::<lambda function> when I entered my password to authorize the update of SDDM theme from KDE Store
Summary: Discover crashed in KNSCore::KPackageJob::<lambda function> when I entered my...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.73.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-08-01 12:55 UTC by Patrick Silva
Modified: 2021-04-29 04:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-08-01 12:55:42 UTC
Application: plasma-discover (5.19.80)

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

-- Information about the crash:
- What I was doing when the application crashed:
Discover found a update for McMojave sddm theme from KDE Store and crashed when I entered my password to authoize
the update process.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7feaaadc0940 (LWP 19373))]
[KCrash Handler]
#6  0x00007feaa7cb8fc4 in KJob::error() const (this=this@entry=0x7fea140061b0) at ./src/lib/jobs/kjob.cpp:197
#7  0x00007fea2b02c2b3 in KNSCore::KPackageJob::<lambda(KJob*)>::operator() (job=0x7fea140061b0, __closure=0x559efe77f090) at ./src/core/jobs/kpackagejob.cpp:142
#10 0x00007fea2b02c2b3 in QtPrivate::QFunctorSlotObject<KNSCore::KPackageJob::start()::<lambda(KJob*)>, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x559efe77f080, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#11 0x00007feaa68cb57b in QObject::event(QEvent*) (this=0x559efe84cab0, e=0x7fe9fc7d9160) at kernel/qobject.cpp:1339
#12 0x00007feaa807a9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x559efb4b1ed0, receiver=receiver@entry=0x559efe84cab0, e=e@entry=0x7fe9fc7d9160) at kernel/qapplication.cpp:3685
#13 0x00007feaa8081bb0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc27d334b0, receiver=0x559efe84cab0, e=0x7fe9fc7d9160) at kernel/qapplication.cpp:3431
#14 0x00007feaa68984a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x559efe84cab0, event=0x7fe9fc7d9160) at kernel/qcoreapplication.cpp:1075
#15 0x00007feaa689867e in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x559efe84cab0, event=event@entry=0x7fe9fc7d9160) at kernel/qcoreapplication.cpp:1470
#16 0x00007feaa689b121 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x559efb4ad240) at kernel/qcoreapplication.cpp:1815
#17 0x00007feaa689b6b8 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1674
#18 0x00007feaa68f8103 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x559efb503c50) at kernel/qeventdispatcher_glib.cpp:277
#19 0x00007feaa00be417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007feaa00be650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007feaa00be6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007feaa68f77ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x559efb514530, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007feaa6896d2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc27d333e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#24 0x00007feaa68a04a0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1383
#25 0x0000559ef92614f2 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:183

Possible duplicates by query: bug 278769, bug 272154.

Reported using DrKonqi
Comment 1 Nate Graham 2020-12-01 17:59:30 UTC
#6  0x00007feaa7cb8fc4 in KJob::error() const (this=this@entry=0x7fea140061b0) at ./src/lib/jobs/kjob.cpp:197
#7  0x00007fea2b02c2b3 in KNSCore::KPackageJob::<lambda(KJob*)>::operator() (job=0x7fea140061b0, __closure=0x559efe77f090) at ./src/core/jobs/kpackagejob.cpp:142
#10 0x00007fea2b02c2b3 in QtPrivate::QFunctorSlotObject<KNSCore::KPackageJob::start()::<lambda(KJob*)>, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x559efe77f080, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
Comment 2 Alexander Lohnau 2021-03-28 11:04:35 UTC
I think Dan already fixed some memory issues with the KPackage jobs. Can you still reproduce it?
Comment 3 Nate Graham 2021-03-30 14:45:09 UTC
.
Comment 4 Bug Janitor Service 2021-04-14 04:33:17 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 5 Bug Janitor Service 2021-04-29 04:33:41 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!