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

QHostInfo doesn't finish internal threads when destroying

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 4.6.1
    • Fix Version/s: 4.6.3, 4.7.0
    • Component/s: Network
    • Labels:
      None
    • Environment:
      Windows XP
    • Commits:
      22993cbada46fb9e170d4ac7a08413c968fce2a2

      Description

      The following problem with QNetworkAccessManager has appeared after Qt 4.6.1 update. When QNetworkAccessManager is destroyed, internal threads are still running and when control leaves main() proc, an error message from Qt core is displayed.

      Here is output from the attached test program:
      C:\Documents and Settings\user\Visual Studio 2008\Projects\qt.test>release\Qt_4.6.1_NetworkBug.exe
      QWaitCondition: Destroyed while threads are still waiting

      C:\Documents and Settings\ user \Visual Studio 2008\Projects\qt.test>debug\Qt_4.6.1_NetworkBug.exe
      QWaitCondition: Destroyed while threads are still waiting

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                bhughes Bradley T. Hughes (closed Nokia Identity) (Inactive)
                Reporter:
                mpejcoch Martin Pejcoch (Inactive)
              • Votes:
                7 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes