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

Sockets can be activated with Glib event loop despite QEventLoop::ExcludeSocketNotifiers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.4.1
    • 4.8.5
    • Core: Event loop
    • None
    • Kubuntu Precise 12.04 (qt4: 4:4.8.1-0ubuntu4.6)
      LibreOffice master build (4.3 alpha)
    • a2f78ea0a147301222cb5346fad7e09121d87d59

    Description

      This bug is related to QTBUG-14461 and QTBUG-34614.

      After some more investigation I found QEventLoop::ExcludeSocketNotifiers not implemented for the Glib event loop.
      Actually all pointers are in the backtrace of QTBUG-34614 (bt-repaint-error.txt); I just didn't realize the bug.

      The fix is quite simple - check the provided QEventLoop::ProcessEventsFlags for QEventLoop::ExcludeSocketNotifiers and block the socket notifications accordingly.

      This is implemented in the attached patch.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              jmux Jan-Marek Glogowski
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes