|
From: <sv...@va...> - 2015-07-29 14:35:13
|
Author: florian
Date: Wed Jul 29 15:35:01 2015
New Revision: 15456
Log:
Naughty! When checking the cache in find_segment_WRK make sure
the segment ist not on the freelist.
Modified:
branches/ASPACEM_TWEAKS/coregrind/m_aspacemgr/aspacemgr-segments.c
Modified: branches/ASPACEM_TWEAKS/coregrind/m_aspacemgr/aspacemgr-segments.c
==============================================================================
--- branches/ASPACEM_TWEAKS/coregrind/m_aspacemgr/aspacemgr-segments.c (original)
+++ branches/ASPACEM_TWEAKS/coregrind/m_aspacemgr/aspacemgr-segments.c Wed Jul 29 15:35:01 2015
@@ -579,6 +579,7 @@
if ((a >> 12) == cache_pageno[ix]
&& cache_seg[ix] != NULL
+ && cache_seg[ix]->fnIdx != ON_FREELIST
&& is_leaf(cache_seg[ix])
&& cache_seg[ix]->start <= a
&& a <= cache_seg[ix]->end) {
|