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

Qt intermittently will hang trying to lock mutex when Image is loaded from URL

    XMLWordPrintable

Details

    Description

      Intermittently Qt will hang for several seconds while trying to destroy a screen while images are loading.

      mainTrace.txt is the stack trace of the main thread while the application is non-responsive threadTrace.txt is the stack trace of the other thread we believe is accessing the QML Engine mutex.

      If NetworkAccessManager is created and added to engine before loading the QML then the issue does not manifest.

      It's hard to reproduce, desktop PC with SuSE 11 is needed. Qt was installed using the 32-bit installer provided by Digia. Using the example code that was provided the issue occurs less frequently than with our full application, but I can still usually get it to occur at least once every dozen or so attempts.

      Following bugs can be related to this:
      https://bugreports.qt-project.org/browse/QTBUG-39288
      https://bugreports.qt-project.org/browse/QTBUG-39024
      https://bugreports.qt-project.org/browse/QTBUG-27809

      Attachments

        1. dishBT.txt
          14 kB
        2. mainTrace.txt
          5 kB
        3. MutexTest.qml
          0.8 kB
        4. threadTrace.txt
          3 kB
        For Gerrit Dashboard: QTBUG-41183
        # Subject Branch Project Status CR V

        Activity

          People

            kkohne Kai Köhne
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes