Bug 450949 - Discover crashed in KNSBackend::setResponsePending() while uninstalling a plasma widget
Summary: Discover crashed in KNSBackend::setResponsePending() while uninstalling a pla...
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: KNewStuff Backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-02-28 05:07 UTC by Bernie Innocenti
Modified: 2022-08-27 04:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernie Innocenti 2022-02-28 05:07:42 UTC
Application: plasma-discover (5.24.80)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.92.0
Operating System: Linux 5.16.11-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
1. Open plasma-discover from a terminal
2. Search for "win7 volume" (previously installed in a separate Discover instance)
3. Click on the installed result
4. Click "Remove"
5. Discover crashes as shown in the stack trace

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Discover (plasma-discover), signal: Aborted
Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char, std::default_delete<char []> >> = {_M_t = std::tuple containing = {[1] = 0x0, [2] = {<No data fields>}}}, <No data fields>}}
[KCrash Handler]
#5  0x00007fd738e7b34c in __pthread_kill_implementation () at /usr/lib/libc.so.6
#6  0x00007fd738e2e4b8 in raise () at /usr/lib/libc.so.6
#7  0x00007fd738e18534 in abort () at /usr/lib/libc.so.6
#8  0x00007fd7393beee4 in qt_assert(char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
#9  0x00007fd7393bef44 in qt_assert_x(char const*, char const*, char const*, int) () at /usr/lib/libQt5Core.so.5
#10 0x00007fd7057d6ad0 in KNSBackend::setResponsePending(bool) (this=0x5619cf0d86a0, pending=false) at /home/bernie/kde/src/discover/libdiscover/backends/KNSBackend/KNSBackend.cpp:240
#11 0x00007fd7057d8c6e in operator()() const (__closure=0x5619d00fba40) at /home/bernie/kde/src/discover/libdiscover/backends/KNSBackend/KNSBackend.cpp:724
#12 0x00007fd7057dc6e5 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KNSBackend::findResourceByPackageName(const QUrl&)::<lambda()>::<lambda(const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent)>::<lambda()> >::call(struct {...} &, void **) (f=..., arg=0x5619d140bac8) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#13 0x00007fd7057dc261 in QtPrivate::Functor<KNSBackend::findResourceByPackageName(const QUrl&)::<lambda()>::<lambda(const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent)>::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=..., arg=0x5619d140bac8) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#14 0x00007fd7057dbec0 in QtPrivate::QFunctorSlotObject<KNSBackend::findResourceByPackageName(const QUrl&)::<lambda()>::<lambda(const KNSCore::EntryInternal&, KNSCore::EntryInternal::EntryEvent)>::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x5619d00fba30, r=0x5619cf0d86a0, a=0x5619d140bac8, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#15 0x00007fd7395cfdc6 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007fd73a9a31a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fd7395abb9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007fd7395ac699 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#19 0x00007fd7395f3bd8 in  () at /usr/lib/libQt5Core.so.5
#20 0x00007fd737e70ee3 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x00007fd737ec70f9 in  () at /usr/lib/libglib-2.0.so.0
#22 0x00007fd737e6e455 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#23 0x00007fd7395f7ada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007fd7395a3e6b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007fd7395af5c7 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x00005619cd9abee7 in main(int, char**) (argc=1, argv=0x7ffc55a1ed38) at /home/bernie/kde/src/discover/discover/main.cpp:217
[Inferior 1 (process 5835) detached]

Possible duplicates by query: bug 445052, bug 419428, bug 330999, bug 330615, bug 330486.

Reported using DrKonqi
Comment 1 Aleix Pol 2022-07-28 17:54:35 UTC
Can you still reproduce this? It seems to me like all instances of this issue have been addressed.
Comment 2 Bug Janitor Service 2022-08-12 04:35:52 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 2022-08-27 04:36:14 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!