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

QHostInfo doesn't finish internal threads when destroying

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.3, 4.7.0
    • 4.6.1
    • Network
    • None
    • Windows XP
    • 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

        1. qt.bug.zip
          0.6 kB
          Martin Pejcoch

        Issue Links

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

          Activity

            People

              bhughes Bradley T. Hughes (closed Nokia Identity) (Inactive)
              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