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

qimage_conversion.cpp may deadlock applications when no threads are available in qtrheadpool::globalInstance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.0
    • Image formats
    • None
    • All

    Description

      We have an application running a bunch of threads using QtConcurrent.
      Upgrading to Qt 5.15, we discovered the app would deadlock, especially on machines with few cores.
      Debugging this uncovered that qimage_conversions.cpp expects to get a thread, but in our case we actually use all threads and of of the threads in turn calls the conversion functions implicitly.

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            frederik Frederik Gladhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes