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

Deadlock in QFontLoaderFonts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.10
    • Core: Other, Quick: Other
    • None

    Description

      QFontLoaderFonts() causes the following deadlock:

      frame #5: 0x0000000131bf7231 QMutexLocker::QMutexLocker(this=0x00007fff5fbf8ab8, m=0x0000000132f64948) at qmutex.h:200
      frame #6: 0x0000000131bf681d QMutexLocker::QMutexLocker(this=0x00007fff5fbf8ab8, m=0x0000000132f64948) at qmutex.h:194
      frame #7: 0x0000000131e468ef qAddPostRoutine(p=(q_QFontLoaderFontsStaticReset() at qquickfontloader.cpp:197))()) at qcoreapplication.cpp:296
      frame #8: 0x0000000130fadbe0 q_QFontLoaderFontsAddReset() at qquickfontloader.cpp:161
      frame #9: 0x0000000131e466c1 qAddPreRoutine(p=(q_QFontLoaderFontsAddReset() at qquickfontloader.cpp:160))()) at qcoreapplication.cpp:286
      frame #10: 0x0000000130fadb7d QFontLoaderFonts::QFontLoaderFonts(this=0x000000012da51220) at qquickfontloader.cpp:169
      frame #11: 0x0000000130fadb25 QFontLoaderFonts::QFontLoaderFonts(this=0x000000012da51220) at qquickfontloader.cpp:167
      frame #12: 0x0000000130fada85 (anonymous namespace)::Q_QGS_fontLoaderFonts::innerFunction() at qquickfontloader.cpp:194
      

      it seems to be caused by https://codereview.qt-project.org/#/c/204229/: `globalRoutinesMutex` is not a recursive mutex

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              timblechmann tim blechmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes