Bug 431091 - Discover crashes in ResourcesProxyModel::removeDuplicates() when i try to search for applications
Summary: Discover crashes in ResourcesProxyModel::removeDuplicates() when i try to sea...
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.19.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-01-03 03:39 UTC by Thulashi
Modified: 2022-12-31 05:25 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 Thulashi 2021-01-03 03:39:41 UTC
Application: plasma-discover (5.19.5)

Qt Version: 5.14.2
Frameworks Version: 5.74.0
Operating System: Linux 5.9.16-xanmod1 x86_64
Windowing system: X11
Distribution: Ubuntu 20.10

-- Information about the crash:
- What I was doing when the application crashed:Opens discover from applications launcher->clicks on applications menu in discover ->clicks on  "search in applications" bar->discover crashes everytime.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5  0x00007f4e9c9b3864 in __GI_abort () at abort.c:79
#6  0x00007f4e9ca16af6 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f4e9cb3dedf "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155
#7  0x00007f4e9cab679a in __GI___fortify_fail (msg=msg@entry=0x7f4e9cb3dec7 "stack smashing detected") at fortify_fail.c:26
#8  0x00007f4e9cab6766 in __stack_chk_fail () at stack_chk_fail.c:24
#9  0x00007f4e9edc3e92 in ResourcesProxyModel::removeDuplicates(QVector<AbstractResource*>&) () at /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#10 0x00007f4e9edc41dd in ResourcesProxyModel::sortedInsertion(QVector<AbstractResource*> const&) () at /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#11 0x00007f4e9edc4a24 in ResourcesProxyModel::refreshResource(AbstractResource*, QVector<QByteArray> const&) () at /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#12 0x00007f4e9d03b2e6 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f4e9eda1c5b in ResourcesModel::resourceDataChanged(AbstractResource*, QVector<QByteArray> const&) () at /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#14 0x00007f4e9d03b2e6 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f4e9eda1beb in AbstractResourcesBackend::resourcesChanged(AbstractResource*, QVector<QByteArray> const&) () at /usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#16 0x00007f4e6adc8e6a in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
#17 0x00007f4e6adc1a63 in PackageKitBackend::packageDetails(PackageKit::Details const&) () at /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
#18 0x00007f4e9d03b2e6 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f4e6ad6ce89 in PackageKit::Transaction::details(PackageKit::Details const&) () at /lib/x86_64-linux-gnu/libpackagekitqt5.so.1
#20 0x00007f4e6ad72f4e in  () at /lib/x86_64-linux-gnu/libpackagekitqt5.so.1
#21 0x00007f4e6ad6f00f in  () at /lib/x86_64-linux-gnu/libpackagekitqt5.so.1
#22 0x00007f4e9d03b320 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f4e6ad87f03 in  () at /lib/x86_64-linux-gnu/libpackagekitqt5.so.1
#24 0x00007f4e6ad89613 in  () at /lib/x86_64-linux-gnu/libpackagekitqt5.so.1
#25 0x00007f4e9e4e52d9 in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#26 0x00007f4e9d031651 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f4e9df90013 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f4e9d0051ca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f4e9d007bc1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f4e9d05d1c7 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f4e9b4d04db in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f4e9b4d0788 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f4e9b4d0853 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f4e9d05c843 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f4e9d003a4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007f4e9d00bfc6 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x000055dd1522156c in  ()
#38 0x00007f4e9c9b5cb2 in __libc_start_main (main=0x55dd15220d80, argc=1, argv=0x7ffd0908b018, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd0908b008) at ../csu/libc-start.c:314
#39 0x000055dd15221ace in _start ()
[Inferior 1 (process 29134) detached]

Possible duplicates by query: bug 429344, bug 428876, bug 427885, bug 427384, bug 426732.

Reported using DrKonqi
Comment 1 Justin Zobel 2022-12-01 05:21:56 UTC
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you can reproduce the issue with a more recent software version?  
  
If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-12-16 05:15:14 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-12-31 05:25:19 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!