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

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.7.0-beta1
    • Qt Creator 4.7.0-beta1
    • Perfparser
    • None
    • 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

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

        Activity

          People

            ulherman Ulf Hermann
            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