Bug 476671

Summary: Plasmashell crashes when trying to set or look for location in Weather widget
Product: [Plasma] plasmashell Reporter: Akseli Lahtinen <akselmo>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: bharadwaj.raju777, kde
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Backtrace of the weather app crash

Description Akseli Lahtinen 2023-11-07 12:26:29 UTC
Created attachment 162925 [details]
Backtrace of the weather app crash

SUMMARY

If user has weather widget in panel and it has any location, Plasmashell crashes.

STEPS TO REPRODUCE
1. Remove weather widget in Plasma 5 session
2. Log in to Plasma 6 session
3. Add weather widget
4. Search for a location in weather widget

OBSERVED RESULT
Plasmashell crashes

EXPECTED RESULT
Weather widget would show list of locations

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.2
Kernel Version: 6.2.9-300.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

ADDITIONAL INFORMATION
Attached a backtrace
Comment 1 Bharadwaj Raju 2023-11-07 21:19:50 UTC
Can't reproduce.

According to the stack trace, the code in the weather widget is doing nothing more than a simple KIO::get to a URL. The cause is probably in KIO code.
Comment 2 Akseli Lahtinen 2023-11-07 21:37:26 UTC
This should now be fixed with https://invent.kde.org/frameworks/kio/-/merge_requests/1477