https://bugs.kde.org/show_bug.cgi?id=515619

            Bug ID: 515619
           Summary: Qt6: Fetching News crashes on Windows
    Classification: Applications
           Product: krita
      Version First 6.0.0-beta1
       Reported In:
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Keywords: regression
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to