I can also reproduce with something this simple:
std::vector<int> v = { 207089, 202585, 180067, 157549, 211592, 216096, 207089 };
-D_GLIBCXX_DEBUG reveals that we are dereferencing a past-the-end iterator. We badly need a quick fix. Say 2-3 day max or we have to revert the fix for 58437.
I can also reproduce with something this simple:
};
-D_GLIBCXX_DEBUG reveals that we are dereferencing a past-the-end iterator. We badly need a quick fix. Say 2-3 day max or we have to revert the fix for 58437.