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

Qt crashes calling QLocale::uiLanguages() on Mac OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.1.0
    • 5.1.0
    • Core: Locales (i18n)
    • None
    • Mac OS X 10.8.3, Xcode 4.6.1, compiler: Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn), Qt from git 2013-04-17, mkspecs: macx-clang-libc++
    • macOS
    • 96134c6f585963c9d449db17589f21e67519a2a8

    Description

      Calling QLocale::uiLanguages() on Mac OS X causes a crash. There was another similar bug https://bugreports.qt-project.org/browse/QTBUG-29776. My copy of Qt includes the fix from 29776. Ironically, reverting the SystemLocal::query() method in qlocale_mac.mm to a version prior to the fix for bug 29776 (e.g. from Qt 4.8.3) fixes the crash on my system.

      Note: I have only one language selected in Mac System Preferences (English). I am including this because it was significant the other bug report. I am including a debug log and source code.

      Attachments

        1. crash.txt
          0.9 kB
        2. main.cpp
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            mathpup Marcus Urban
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes