Open BLumia opened 4 hours ago
Please report the issue to Qt.
Hi @MehdiChinoune , official Qt CANNOT reproduce this issue, this is MSYS2-only issue.
I noticed MSYS2 also provided debug symbol package for Qt, so I dig into this bug, seems indeed a Qt bug caused by ICU feature (Qt's official build doesn't have ICU-enabled).
By looking at the crash call stack, seems it caused by stack overflow:
QIcuTimeZonePrivate::data -> QTimeZonePrivate::abbreviation -> QTimeZonePrivate::displayName -> QIcuTimeZonePrivate::data -> ...
The bug is reported to upstream: https://bugreports.qt.io/browse/QTBUG-130597
Please consider keeping this issue open though, we might need to apply the fix as a patch to MSYS2's Qt since MSYS2 is affected.
Description / Steps to reproduce the issue
Save the following two code snipes to local:
CMakeLists.txt
main.cpp
Steps:
Additionally, only MSYS2's Qt have this issue currently, Qt's official Qt 6.8.0 binaries (both msvc and mingw) don't have this issue.
Qt version:
Expected behavior
Not crashed. You can see the
not crashed
line from the console output.Actual behavior
Crashed.
Verification
Windows Version
MINGW64_NT-10.0-22631
MINGW environments affected
Are you willing to submit a PR?
No (since I don't know why)