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

QLocale::uiLanguages() crashes on Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.6, 5.1.0
    • 4.8.2
    • Core: Locales (i18n)
    • None
    • macOS
    • aee13de2457b2c4f35aed0cd01935dc951d08698 1b08e0307dfebe561fbb0819a2d6b53edd8e8e93

    Description

      Users of a Qt application are reporting a crash at startup which is related to QLocale::uiLanguages(). A user having just English in his list fixed the crash by adding Polish in the System Preferences.

      Here's a reported trace:

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 com.apple.CoreFoundation 0x92faa751 CFArrayGetCount + 17
      1 com.digia.qt.QtCore 0x009a30e4 QSystemLocale::query(QSystemLocale::QueryType, QVariant) const + 4336
      2 com.digia.qt.QtCore 0x009e089b QLocale::uiLanguages() const + 137
      3 com.digia.qt.QtCore 0x00aaf85e QTranslator::load(QLocale const&, QString const&, QString const&, QString const&, QString const&) + 362

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            flaviotordini Flavio Tordini
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes