Bug 515487

Summary: plasmashell crashes with no internet connection due to Weather widget
Product: [Plasma] plasmashell Reporter: Dark Nation <bugs.kde.org.cornea494>
Component: Weather widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: NEEDSINFO BACKTRACE    
Severity: crash CC: fella, isma.af
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Bazzite   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dark Nation 2026-02-04 09:41:34 UTC
SUMMARY
The Weather Widget will crash `plasmashell` when there is no internet connection.

STEPS TO REPRODUCE
1. Have the weather widget on any of your panels.
2. Disconnect the internet.
3. Reset the machine or reset plasmashell.

OBSERVED RESULT

Plasma will start normally, but then crash within about 10 seconds. The following shows up when running `plasmashell --replace`.

> kf.kio.core: mimeType() not emitted when sending first data!; job URL = QUrl("https://dd.weather.gc.ca/today/citypage_weather/BC/") data size = 0
>/usr/include/c++/15/bits/shared_ptr_base.h:1344: _Tp* std::__shared_ptr_deref(_Tp*) [with _Tp = QXmlStreamReader]: Assertion '__p != nullptr' failed.

Removing the weather widgets and resetting plasma will fix the problem.

EXPECTED RESULT

The weather widget shouldn't crash plasma.

SOFTWARE/OS VERSIONS
Operating System: Bazzite 43
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.17.7-ba25.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3060 Ti

ADDITIONAL INFORMATION

This made my girlfriend cry. :(
Comment 1 Tobias Fella 2026-02-04 13:25:44 UTC
Please attach a backtrace for the crash; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports for how to do that. Thanks! :)