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

crash when certain font is selected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.7.2
    • GUI: Font handling
    • None
    • Windows

    Description

      When I select "Javanese Text" font via QFontDialog->getFont, my Windows PC crashes and QTCreator Application Output windows shows :

       

      ----------------------------------------------------------------------------

      C:/Users/qt/work/qt/qtbase/src/gui/kernel/qevent.h(119): ASSERT: "!m_points.isEmpty()" in file C:/Users/qt/work/qt/qtbase/src/gui/kernel/qevent.h, line 119

      Debug Error!

      Program: C:\Qt\6.7.0\msvc2019_64\bin\Qt6Cored.dll
      Module: 6.7.0
      File: C:/Users/qt/work/qt/qtbase/src/gui/kernel/qevent.h
      Line: 119

      ASSERT: "!m_points.isEmpty()" in file C:/Users/qt/work/qt/qtbase/src/gui/kernel/qevent.h, line 119

      -------------------------------------------------------------------------------

      t not only happens on "Javanese Text" but some others as well:

      I printed out the Fonts on my system via 

       QStringList font_list = QFontDatabase::families(QFontDatabase::Latin);
       qDebug() << font_list;

       

      Output:

      QList("Arial", "Arial Black", "Arial Narrow", "Bahnschrift", "Bahnschrift Condensed", "Bahnschrift Light", "Bahnschrift Light Condensed", "Bahnschrift Light SemiCondensed", "Bahnschrift SemiBold", "Bahnschrift SemiBold Condensed", "Bahnschrift SemiBold SemiConden", "Bahnschrift SemiCondensed", "Bahnschrift SemiLight", "Bahnschrift SemiLight Condensed", "Bahnschrift SemiLight SemiConde", "Book Antiqua", "Bookman Old Style", "Calibri", "Calibri Light", "Cambria", "Cambria Math", "Candara", "Candara Light", "Cascadia Code", "Cascadia Code ExtraLight", "Cascadia Code Light", "Cascadia Code SemiBold", "Cascadia Code SemiLight", "Cascadia Mono", "Cascadia Mono ExtraLight", "Cascadia Mono Light", "Cascadia Mono SemiBold", "Cascadia Mono SemiLight", "Century", "Century Gothic", "Comic Sans MS", "Consolas", "Constantia", "Corbel", "Corbel Light", "Courier", "Courier New", "Dosis", "Dubai", "Dubai Light", "Dubai Medium", "Ebrima", "Fixedsys", "Franklin Gothic Medium", "Gabriola", "Gadugi", "Garamond", "Georgia", "HoloLens MDL2 Assets", "Impact", "Ink Free", "Javanese Text", "Lato", "Lato Black", "Leelawadee UI", "Leelawadee UI Semilight", "Lucida Console", "Lucida Sans Unicode", "Malgun Gothic", "Malgun Gothic Semilight", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft JhengHei Light", "Microsoft JhengHei UI", "Microsoft JhengHei UI Light", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Sans Serif", "Microsoft Tai Le", "Microsoft YaHei", "Microsoft YaHei Light", "Microsoft YaHei UI", "Microsoft YaHei UI Light", "Microsoft Yi Baiti", "MingLiU-ExtB", "MingLiU_HKSCS-ExtB", "Mongolian Baiti", "Monotype Corsiva", "Montserrat", "MS Gothic", "MS PGothic", "MS Reference Sans Serif", "MS Sans Serif", "MS Serif", "MS UI Gothic", "MV Boli", "Myanmar Text", "Nirmala UI", "Nirmala UI Semilight", "NSimSun", "Oswald", "Palatino Linotype", "PMingLiU-ExtB", "Sans Serif Collection", "Segoe Fluent Icons", "Segoe MDL2 Assets", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Black", "Segoe UI Emoji", "Segoe UI Historic", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Semilight", "Segoe UI Symbol", "Segoe UI Variable Display", "Segoe UI Variable Display", "Segoe UI Variable Display Light", "Segoe UI Variable Display Semib", "Segoe UI Variable Display Semil", "Segoe UI Variable Small", "Segoe UI Variable Small Light", "Segoe UI Variable Small Semibol", "Segoe UI Variable Small Semilig", "Segoe UI Variable Text", "Segoe UI Variable Text Light", "Segoe UI Variable Text Semibold", "Segoe UI Variable Text Semiligh", "SimSun", "SimSun-ExtB", "Sitka Banner", "Sitka Banner", "Sitka Banner Semibold", "Sitka Display", "Sitka Display Semibold", "Sitka Heading", "Sitka Heading Semibold", "Sitka Small", "Sitka Small Semibold", "Sitka Subheading", "Sitka Subheading Semibold", "Sitka Text", "Sitka Text Semibold", "Small Fonts", "Source Sans Pro", "Source Sans Pro Black", "Source Sans Pro Semibold", "Sylfaen", "System", "Tahoma", "Times New Roman", "Trebuchet MS", "Verdana", "Yu Gothic", "Yu Gothic Light", "Yu Gothic Medium", "Yu Gothic UI", "Yu Gothic UI Light", "Yu Gothic UI Semibold", "Yu Gothic UI Semilight")

       

       

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            seanyiu Sean Yiu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes