Bug 515619 - Qt6: Fetching News crashes on Windows
Summary: Qt6: Fetching News crashes on Windows
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.0.0-beta1
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-02-06 13:58 UTC by Freya Lupen
Modified: 2026-02-07 21:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Freya Lupen 2026-02-06 13:58:23 UTC
SUMMARY
The News widget crashes Krita on startup if fetching news is enabled.

It only happens on Windows Qt6. From https://doc.qt.io/qt-6/qtimezone.html:
> Note: When Qt is built with the ICU library, it is used in preference to the Windows system APIs, bypassing all problems with those APIs using different names.

The backtrace shows this:
>    frame #17: 0x00007ffde81a80c2 Qt6Core.dll`QIcuTimeZonePrivate::data(long long) const + 130
>    frame #18: 0x00007ffde819ed8f Qt6Core.dll`QTimeZonePrivate::displayName(long long, QTimeZone::NameType, QLocale const&) const + 79
>    frame #19: 0x00007ffde819f20e Qt6Core.dll`QTimeZonePrivate::abbreviation(long long) const + 94
>    frame #20: 0x00007ffde81a812d Qt6Core.dll`QIcuTimeZonePrivate::data(long long) const + 237
>    ... (looping)
>    frame #7074: 0x00007ffde819ed8f Qt6Core.dll`QTimeZonePrivate::displayName(long long, QTimeZone::NameType, QLocale const&) const + 79
>    frame #7075: 0x00007ffde819f20e Qt6Core.dll`QTimeZonePrivate::abbreviation(long long) const + 94
>    frame #7076: 0x00007ffde81a812d Qt6Core.dll`QIcuTimeZonePrivate::data(long long) const + 237

It appears to be a Qt bug fixed by the change "Avoid infinite recurision in time-zone abbreviation look-up with ICU" https://codereview.qt-project.org/c/qt/qtbase/+/596973/3
Which is in 6.8.3 (35a82236) and 6.9.2 (f38c0fd3).

STEPS TO REPRODUCE
Open Krita with News enabled.

OBSERVED RESULT
Crashes on loading main window.

EXPECTED RESULT
Doesn't crash, shows news.

SOFTWARE/OS VERSIONS
Krita 6.0.0-beta1 (per K-A; the backtrace is from a build around March 2025, but should be the same.)

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2026-02-07 21:03:01 UTC
So it's an upstream bug that we can fix by building with a different version of Qt, right?