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

QFontDatabase::addApplicationFont causes a crash on some Mac OSX systems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P1: Critical P1: Critical
    • None
    • 5.9.2
    • GUI: Font handling
    • None
    • macOS

      I have recently release a new version of a software using Qt 5.9.2 and some users report the following crash. I couldn't find recent bug reports about this topic so maybe this is a new one?

       

      Date/Time: 2017-12-11 21:24:00.456 +1100
      OS Version: Mac OS X 10.9.5 (13F1911)
      Report Version: 11
      Anonymous UUID: 9A6B1985-CA3F-7CFC-35DC-4DA3D0D29E88

      Crashed Thread: 0 Dispatch queue: com.apple.main-thread

      Exception Type: EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes: EXC_I386_GPFLT

      Application Specific Information:
      objc_msgSend() selector name: retain

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 libobjc.A.dylib 0x00007fff8d907097 objc_msgSend + 23
      1 com.apple.CoreText 0x00007fff866c106c CreateFontWithFontURL(__CFURL const*, bool) + 412
      2 com.apple.CoreText 0x00007fff866c0d2b TCGFontCache::CopyFont(__CFURL const*, bool) const + 91
      3 com.apple.CoreText 0x00007fff866c0b55 TBaseFont::CopyNativeFont() const + 69
      4 com.apple.CoreText 0x00007fff866c0ad6 TBaseFont::CopyGraphicsFont() const + 26
      5 com.apple.CoreText 0x00007fff866c07ec TBaseFont::CopyTable(unsigned int) const + 188
      6 com.apple.CoreText 0x00007fff866d281c TBaseFont::CreateTraitsValuesPerFontInfo() const + 1140
      7 com.apple.CoreText 0x00007fff866d22af TBaseFont::CopyTraitsInternal() const + 87
      8 com.apple.CoreText 0x00007fff866d1e3d TBaseFont::CopyAttribute(unsigned long) const + 493
      9 com.apple.CoreText 0x00007fff866bfeb1 TDescriptor::CopyAttribute(__CFString const*) const + 175
      10 com.apple.CoreText 0x00007fff866bfddf CTFontDescriptorCopyAttribute + 99
      11 libqcocoa.dylib 0x0000000106dbdbeb 0x106d4a000 + 474091
      12 libqcocoa.dylib 0x0000000106dbd298 0x106d4a000 + 471704
      13 libqcocoa.dylib 0x0000000106dc046f 0x106d4a000 + 484463
      14 org.qt-project.QtGui 0x00000001047b1baf 0x1046c6000 + 965551
      15 org.qt-project.QtGui 0x00000001047b19b2 0x1046c6000 + 965042
      16 org.qt-project.QtGui 0x00000001047b1e53 QFontDatabase::addApplicationFont(QString const&) + 227
      17 org.qt-project.QtQuick 0x000000010391cdc9 0x1038d3000 + 302537
      18 org.qt-project.QtQml 0x0000000103eb348a 0x103c73000 + 2360458
      19 org.qt-project.QtQml 0x0000000103eb453e 0x103c73000 + 2364734
      20 org.qt-project.QtQml 0x0000000103eb122f 0x103c73000 + 2351663
      21 org.qt-project.QtQml 0x0000000103eb5a4d 0x103c73000 + 2370125
      22 org.qt-project.QtQml 0x0000000103eb072f 0x103c73000 + 2348847
      23 org.qt-project.QtQml 0x0000000103eb3f79 0x103c73000 + 2363257
      24 org.qt-project.QtQml 0x0000000103eb122f 0x103c73000 + 2351663
      25 org.qt-project.QtQml 0x0000000103eb5a4d 0x103c73000 + 2370125
      26 org.qt-project.QtQml 0x0000000103eb072f 0x103c73000 + 2348847
      27 org.qt-project.QtQml 0x0000000103eaf685 0x103c73000 + 2344581
      28 org.qt-project.QtQml 0x0000000103e2bd19 QQmlComponentPrivate::beginCreate(QQmlContextData*) + 889
      29 org.qt-project.QtQml 0x0000000103e2b941 QQmlComponent::create(QQmlContext*) + 97
      30 org.qt-project.QtQuick 0x0000000103a84ecb QQuickView::continueExecute() + 619
      31 org.qt-project.QtQuick 0x0000000103a84c42 QQuickViewPrivate::execute() + 626
      32 com.imaginando.ubridge 0x0000000102b47220 main + 528
      33 libdyld.dylib 0x00007fff8ba6a5fd start + 1

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

            esabraha Eskil Abrahamsen Blomfeldt
            sinosoidal Nuno Santos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes