Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84275

QLocale::QLocale() calls itself recursively and deadlocks on Windows with certain regional settings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.15.0
    • 5.14.2
    • Core: Locales (i18n)
    • None
    • Winows 10 MinGW
    • Windows
    • 1eeabc6652220ff263eaa63872cd52c1693cbf69

    Description

      This only appears to occur on Windows 10. If the Windows regional advanced settings are changed to use a ',' character for both DP and grouping character the QLocale constructor will deadlock due to a recursive call while holding a lock.

      This was reported for our application by users using the Greek language locale, without having to change the number formats to the pathological setup above. Can be demonstrated by a trivial application that just constructs a QLocale default object in main().

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Eddy Edward Welbourne
            bsomervi Bill Somerville
            Maurice Kalinowski Maurice Kalinowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes