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

qt assert in qfontdatabase.cpp for each app under simplified chinese windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.8.0
    • 5.8.0 RC
    • GUI: Font handling
    • None
    • Windows 10 x64
      vs2015 update 3
    • 7e3e5b2dcf2e2576065ca9f9850cd1f2126f397f

    Description

      I build qt windows x64 from the latest git 5.8.0 branch. Now each qt app will assert in text\qfontdatabase.cpp, line 425

      ASSERT failure in void __cdecl QtFontFamily::ensurePopulated(void): "SimSun", file text\qfontdatabase.cpp, line 425

      I use windows 10 x64 simplified chinese.
      I have fixed a similar issue in the past, https://codereview.qt-project.org/#/c/107127/, It seems that this issue has been retriggered in qt-5.8.0

      Attachments

        1. Patch.diff
          4 kB
        2. callstack.png
          callstack.png
          31 kB
        3. assertion.png
          assertion.png
          10 kB

        Issue Links

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

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              jianliang79 liang jian
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes