Created attachment 132560 [details] Discover crash SUMMARY when we run discover or press the button updates ,it is crush STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Archlinux (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
[KCrash Handler] #4 0x00007f5aa5114510 in QNetworkReply::error() const () at /usr/lib/libQt5Network.so.5 #5 0x00007f5aa549adbb in Attica::ProviderManager::fileFinished(QString const&) () at /usr/lib/libKF5Attica.so.5
Looking at this code, it's got to be something changed somewhere not in Attica, because that code hasn't changed since 2018... But, it /does/ crash in Attica, and the code is fairly obviously a bit dangerous, so whatever the cause for this suddenly showing up, the fix goes in Attica. MR coming momentarily :)
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/attica/-/merge_requests/5
*** Bug 428930 has been marked as a duplicate of this bug. ***
Git commit 6671bc539d42d8e3736190a5fa30203e3e850f2a by Dan Leinir Turthra Jensen. Committed on 10/11/2020 at 17:01. Pushed by leinir into branch 'master'. Fix crash in provider loading by checking reply pointer before deref This code has been working for ages, but somehow has started crashing pretty hard. Consequently, time for a fix! Thanks to Mohammed for spotting this. M +9 -5 src/providermanager.cpp https://invent.kde.org/frameworks/attica/commit/6671bc539d42d8e3736190a5fa30203e3e850f2a
*** Bug 429856 has been marked as a duplicate of this bug. ***
*** Bug 429939 has been marked as a duplicate of this bug. ***