Subject: Re: [boost] [Multi-Index] Valgrind Invalid read size of 8
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2013-09-08 17:20:13


On 8 September 2013 21:55, Niall Douglas wrote:
>> Not sure how to interpret this. Could this indicate a bug in
>> Multi-Index, in Bimap, or my own code? Or perhaps it is a valgrind
>> hiccup? Any clues as to how to investigate this further would be
>> appreciated.
>
> Try turning on iterator debugging. I'd almost be certain it's an
> iterator
> incremented or decremented too far. libstdc++ and Dinkumware STLs
> both have extensive iterator debugging facilities, libc++ seems to
> have some support according to Google.

They can only debug iterators defined by the standard library, not
ones defined by Boost.MultiIndex.