Bug 481547 - Discover crashes if autostarts without internet connection
Summary: Discover crashes if autostarts without internet connection
Status: RESOLVED DUPLICATE of bug 467027
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.93.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-19 15:29 UTC by Artem
Modified: 2024-02-20 13:32 UTC (History)
2 users (show)

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


Attachments
Discover crash info (31.08 KB, text/plain)
2024-02-19 15:29 UTC, Artem
Details
Applications list (22.27 KB, image/png)
2024-02-19 15:31 UTC, Artem
Details
Processess list (28.25 KB, image/png)
2024-02-19 15:31 UTC, Artem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem 2024-02-19 15:29:32 UTC
Created attachment 165937 [details]
Discover crash info

SUMMARY
I added Discover to autostart via KDE Settings. When the system is started,  if Discover starts before the connection to the network is established, it falls with the error (attachment).
The crash can be reproduced every time.
Also, after Discover fall, I also observe the kioworker process, which takes up all available memory and also falls in a couple of minutes (screenshots in attachments). I haven't been able to get a backtrace for this yet. 


STEPS TO REPRODUCE
1. Add Discover to autostart in the KDE Settings
2. Disable all internet connections
3. Reboot

OBSERVED RESULT
Discover crashes and spawns kioworker process, that consumes all available RAM.

EXPECTED RESULT
Discover starts successfully

SOFTWARE/OS VERSIONS
Application: plasma-discover (5.93.0)
Qt Version: 6.6.1
Frameworks Version: 5.249.0
Operating System: Linux 6.8.0-0.rc4.20240212git716f4aaa7b48.35.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 40.20240213.n.1 (Kinoite Prerelease)

ADDITIONAL INFORMATION
I have a plasma-discover-rpm-ostree package removed if it can affect anything.
Comment 1 Artem 2024-02-19 15:31:04 UTC
Created attachment 165938 [details]
Applications list
Comment 2 Artem 2024-02-19 15:31:23 UTC
Created attachment 165939 [details]
Processess list
Comment 3 Nicolas Fella 2024-02-20 13:31:53 UTC
#4  0x00007f979ebf27e3 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
#5  0x00007f97a1681359 in ResultsStream::resourcesFound(QList<StreamResult> const&) () from /usr/lib64/plasma-discover/libDiscoverCommon.so
#6  0x00007f9789e8ce81 in FlatpakBackend::search(AbstractResourcesBackend::Filters const&)::{lambda(ResultsStream*)#3}::operator()(ResultsStream*) const () from /usr/lib64/qt6/plugins/discover/flatpak-backend.so
#7  0x00007f9789e8d45e in QtPrivate::QCallableObject<FlatpakBackend::deferredResultStream(QString const&, std::function<void (ResultsStream*)>)::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] () from /usr/lib64/qt6/plugins/discover/flatpak-backend.so
#8  0x00007f979ebe2c05 in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6
#9  0x00007f97a0f87ea8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6
#10 0x00007f979eb8f4b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6
#11 0x00007f979eb933e7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt6Core.so.6
#12 0x00007f979ee6850f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt6Core.so.6
#13 0x00007f979dcff26c in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#14 0x00007f979dd602a8 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#15 0x00007f979dd006e3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#16 0x00007f979ee67dd3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#17 0x00007f979eb9c303 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
#18 0x00007f979eb9829c in QCoreApplication::exec() () from /lib64/libQt6Core.so.6
#19 0x000055f8a6706ae8 in main ()
Comment 4 Nicolas Fella 2024-02-20 13:32:57 UTC

*** This bug has been marked as a duplicate of bug 467027 ***