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

Windows app using QtDBus hangs when exiting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.0 Beta
    • Fix Version/s: 5.6.0
    • Component/s: D-Bus
    • Labels:
      None
    • Environment:
      Windows 7 64-bit, MSVC2015 or 2013;
      dbus-1-3.dll version 1.10.6 built from source.
    • Commits:
      46c73be4710a6aa1be84a19151f73d87413a52b4

      Description

      Attached is a very simple application which just calls QCoreApplication::exec, then creates and destroys a QDBusConnection, then calls QCoreApplication::quit.

      On Windows this seems to result in the application getting stuck in some kind of infinite loop. It spams the message QSocketNotifier: socket notifiers cannot be disabled from another thread to stderr.

      I'm using Qt 5.6.0 Beta from 2015-12-18. Also provided the stack trace observed when I stop the application in the debugger.

        Attachments

        1. test.zip
          0.6 kB
        2. stacktrace.txt
          2 kB

          Issue Links

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

            Activity

              People

              Assignee:
              thiago Thiago Macieira
              Reporter:
              oktalist Mat Sutcliffe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes