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

When an important mmap event is missed perfparser can run into a cache-trashing loop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.7.0-beta1
    • Fix Version/s: Qt Creator 4.7.0-beta1
    • Component/s: Perfparser
    • Labels:
      None
    • Commits:
      01b4d7d8c98a13df10ce22dd86188806b99205f3

      Description

      We might report the wrong mmap for some address to dwfl because perf may have dropped some mmap or reordered events across buffer flushes. The reported mmap may then overlap with some other mmap, which will cause dwfl to reject it. perfparser then clears the respective symbol table and the dwfl state and restarts reporting from a clean slate. This, however, can lead to the same error over and over, and perfparser might throw out the symbol table for every single sample. The analysis of the samples takes a very long time then.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes