My new article in ACCU’s CVu magazine describes how investigating a crash in a popular open source library led to the discovery of a change in behaviour in the C runtime library implementation that could have a significant detrimental impact on applications using C runtime locales across multiple threads that are compiled with Visual C++ 2012 & 2013 – http://accu.org/var/uploads/journals/CVu264.pdf#page=12

This article highlights an often-overlooked issue that can have serious consequences in multithreaded C++ applications. I appreciate how it explains the unexpected behavior of setlocale() in newer Visual C++ runtime libraries and why developers should be cautious when working with locale-sensitive code. Sharing a real debugging experience makes the discussion much more engaging and provides valuable insights for anyone maintaining cross-platform or legacy C/C++ applications.