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

QML profiler misbehaves when server switches recording on while we're processing data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.6.0-rc1
    • Fix Version/s: Qt Creator 4.7.0-beta1
    • Component/s: QML Profiler
    • Labels:
      None
    • Commits:
      1ccd058bdfbd6334dfe09d23ac85b7de0cfa1ff1

      Description

      QmlProfilerTool will try to clearEvents() in this case, and that will rightfully (soft) assert on not being in a permissible state to clear the events. Furthermore, eventally the trigger for finalize() will hit (the details rewriter ...), and finalize() will again be called from the wrong state, causing unknown havoc.

      It's unclear what to do about this. In principle we'd have to track down and cancel all the processing that's currently going on, but that would be error prone.

      The more future proof option is doing away with the separate "processing" step and resolving the details on the fly. That's also not trivial, though.

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-20106
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              ulherman Ulf Hermann
              Reporter:
              ulherman Ulf Hermann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes