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

QFontDatabase::load crashed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.8.4
    • GUI: Font handling
    • None

    Description

      Seeing crashes in QFontDatabase::load() on mac:

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libobjc.A.dylib                     0x93dc6a9c objc_msgSend + 44
      1   com.apple.CoreFoundation            0x9683203e CFRetain + 158
      2   com.apple.CoreText                  0x90c3fb2c CreateFontWithFontURL(__CFURL const*) + 340
      3   com.apple.CoreText                  0x90c3f8a2 TCGFontCache::CopyFont(__CFURL const*) const + 108
      4   com.apple.CoreText                  0x90c3f710 TBaseFont::CopyNativeFont() const + 50
      5   com.apple.CoreText                  0x90c4c0b2 CTFontCopyGraphicsFont + 38
      6   QtGui                               0x013745de QDesktopWidget::resizeEvent(QResizeEvent*) + 58126
      7   QtGui                               0x01375a74 QDesktopWidget::resizeEvent(QResizeEvent*) + 63396
      8   QtGui                               0x01375f30 QDesktopWidget::resizeEvent(QResizeEvent*) + 64608
      9   QtGui                               0x015e5e9f QFontDatabase::load(QFontPrivate const*, int) + 1887
      

      I've at least one ttf font loaded with QFontDatabase::addApplicationFont(const QString &fileName).

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              arnaud.lb Arnaud Le Blanc
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes