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

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Image formats
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            allan.jensen Allan Sandfeld Jensen
            Reporter:
            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