https://bugs.kde.org/show_bug.cgi?id=427970

Milian Wolff <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/sdk/
                   |                            |heaptrack/commit/d525eee12e
                   |                            |e379849ba005a658ec6161c77bf
                   |                            |f0a
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Milian Wolff <[email protected]> ---
Git commit d525eee12ee379849ba005a658ec6161c77bff0a by Milian Wolff.
Committed on 20/10/2020 at 07:00.
Pushed by mwolff into branch 'master'.

Fix assertion in AccumulatedTraceData::mapToAllocationIndex

When we encounter trace indices in the order A, B, A, where
the index A is the current maximum but B is less than that,
we incorrectly mapped the second occurrence of A to B.

Fix this by explicitly remembering the allocation index of the
maximum index. This allows us to keep the fast-path code and
at the same time prevents the improperly attribution.

M  +3    -2    src/analyze/accumulatedtracedata.cpp
M  +1    -0    src/analyze/accumulatedtracedata.h

https://invent.kde.org/sdk/heaptrack/commit/d525eee12ee379849ba005a658ec6161c77bff0a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to