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

CPU usage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.0.0
    • Serial Port
    • None
    • Windows 7 64 bits, Qt 4.8.1, with Arduino MEGA 2560 boards (3 tested) connected via virtual port com (Arduino driver)

    Description

      CPU usage goes to 100% when reading from serial port with signal/slot (only reading).
      Sometimes reading second packet clears the situation for a while.

      It seems to be due to the event loop.

      Attached a simple code which reproduce the issue.

      Works fine on Mac 10.7 with Qt4.8.1.

      Attachments

        1. Arduino MEGA 2560.inf
          3 kB
        2. CpuUsageTester.zip
          2 kB
        3. TestSerial.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kuzulis Denis Shienkov
            bbenj Balga Benjamin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes