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

Callgrind fails to start: "Error in command line"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 9.0.2
    • None
    • MacOS (M1) 12.6; Qt 6.4.2; Apple clang version 14.0.0 (clang-1400.0.29.202)
    • macOS

    Description

      I have tried building my project for Mac as 'Profiler' or 'Release with Debug Information' and I have also tried with 'QML debugging and profiling' set to 'Leave at Default' or 'Enable'.

      In all cases, I have built the project and gone to Debug > Callgrind and clicked the Start button within the Callgrind panel. It immediately fails with

      17:46:29: Profiling /Users/me/Code/build-MyApp2021-Qt_6_4_2_for_macOS-Profile/app/MyAppTarget
      17:46:29: valgrind --smc-check=stack --tool=callgrind --callgrind-out-file=/Users/me/Code/build-MyApp2021-Qt_6_4_2_for_macOS-Profile/app/callgrind.out.f105 --dsymutil=yes /Users/me/Code/build-MyApp2021-Qt_6_4_2_for_macOS-Profile/app/MyAppTarget
      17:46:29: Error: "valgrind" could not be started: Error in command line.17:46:29: Analyzing finished.
      17:46:29: Unexpected run control state RunControlState::Stopped when worker CallgrindToolRunner started. 

      Attachments

        Activity

          People

            hjk hjk
            paulmasri Paul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: