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

Calling QEventLoop::exec(ExcludeUserInput) causes a busy loop with 100% CPU usage on glib

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9
    • 5.6.2, 5.7.1, 5.8.0
    • QPA: X11/XCB
    • None
    • Ubuntu 16.04
      Debian unstable
      CentOs 7

    Description

      Starting this simple testproject: https://github.com/apollo13/qt_bug_glib and clicking on the "trigger" button immediately causes 100% cpu usage. If one exports QT_NO_GLIB=1 cpu usage stays down.

      Assigned to QtGui since thiago said that this is not a QtCore issue.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-59760
          # Subject Branch Project Status CR V

          Activity

            People

              paeglis Gatis Paeglis
              apollo13 Florian Apolloner
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes