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

Sporadic error message (Failed to post a message (Invalid Window Handle))

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.14.0, 5.15.0
    • D-Bus
    • None
    • Windows

    Description

      The following minimal code example sporadically outputs the error message:

      "QEventDispatcherWin32::wakeUp: Failed to post a message (Invalid window handle.)"

       

      However, this message appears somewhat non-determinstically.

      In my setup (Windows, msvc2019, Qt 5.15.0) it occurs approximately one out of ten times.

      This also occurs in a big project and leads to annoying log messages.

       

      Minimal Code Example:

       

      #include <qdbusconnectioninterface.h>

      int main()

      {

          QDBusConnection::sessionBus().registerService("test");

          return 0;

      }

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            simeon.kuran Simeon Kuran
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes