Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33563

Perf data parser fails to process all samples with exit code 5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 17.0.1
    • Performance Analyzer
    • None
    • Arch Linux
    • Linux/X11

      When attempting to use the Performance Analyzer on Arch Linux, I get the following error:

      The Perf data parser failed to process all the samples. Your trace is incomplete. The exit code was 5.

      If I view the Qt Creator logs, it has the output "Cannot send data to perfparser," which indicates a QProcess::WriteError. For very short running programs I get no output, while longer running programs appear to have samples up until near the end of execution.

       

      As a debugging step I manually ran the perf record command and output the results to a file, then ran perfparser with the PerfParser args and passing in the output saved from perf record. When doing this, perfparser output results to the console and exited with return code 0.

       

      I have tried both with the system package of Qt Creator from Arch Linux as well as the binary installer, both of which yielded the same results.

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

            hjk hjk
            akb825 Aaron Barany
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes