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

Windows app using QtDBus hangs when exiting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0
    • 5.6.0 Beta
    • D-Bus
    • None
    • Windows 7 64-bit, MSVC2015 or 2013;
      dbus-1-3.dll version 1.10.6 built from source.
    • 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. stacktrace.txt
          2 kB
          Mat Sutcliffe
        2. test.zip
          0.6 kB
          Mat Sutcliffe

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              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