/usr/include/c++/7/ext/atomicity.h:49
during string destruction , during:
vec.erase(vec.begin());
here vec is std::vector<std::string>
any idea what may be going wrong? the string is being pushed back as a copy everywhere .. and the vector elements pass through async methods of asio
prob corruption elsewhere.. i'll run it through stuff
UBSan will definitely catch some issues but it can't catch everything. Try address sanitizer, thread sanitized and memory sanitizer as well. Between them, they catch many issues
Tried UBSan.. couldn't understand caught issue.. prob caught downstream.. tried MSan next.. issue doesn't reproduce with MSan 😂😅 prob coz system slows down at least 2X ..
Обсуждают сегодня