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

QmlProfiler: Fails to correctly stop if all categories are disabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.10.0-beta2
    • QML Profiler
    • Linux/X11

    Description

      Steps to reproduce:

      • open/create a simple Qml or QtQuick Application to be able to profile something
      • switch to Debug view and select QmlProfiler
      • open the drop down menu of the record button (the red bubble) and disable the categories one by one..
      • start profiling
      • profiler starts
      • stop the application by using either the stop button or the applications close mechanism

      Current result:

      • profiling seems to stop, but the Stop button keeps being enabled, the profiling data seems not to become available (timeline and others keep displaying 'Profiling application')
      • Stop button can be pressed again and again, but the application seems to be still running - command line prints
        Unexpected initiateStop() in state "RunControlState::Stopping"
        Invalid run control state transition from  "RunControlState::Stopping"  to  "RunControlState::Stopping" 
      • you have to kill the application either from the cmdline or use the stop button from the application output pane
      • the next profiling attempt will fail
        Could not connect to the in-process QML profiler within 2 s.
        Do you want to retry and wait 4 s? 

        , but when canceling this one the profiling attempt after the failed one will succeed again

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes