I reply to myself because it's my own bug... In this precise case, iterators are invalidated due to a reallocation. The vector grew up in the callback to what was already reserved file:///usr/share/doc/stl-manual/html/Vector.html#5 Next time I'll grab a c++ book and open my eyes, it's promised. Best regards, Guillaume