id summary reporter owner description type status milestone component version severity resolution keywords cc 6440 Regex crash in object_cache in many-locale mulithreaded scenarios Hamid Palo John Maddock "An intermittent crash occurs in object_cache when using regex in apps with many locales in multithreaded apps. The crash occurs due to pos not being decrementable in object_cache.hpp line 154 in boost 1.48.0. Stack: {{{ msvcr90!_invalid_parameter_noinfo+0xc myapp!boost::object_cache >::do_get+0x533 myapp!boost::object_cache >::get+0x69 myapp!boost::re_detail::create_w32_regex_traits+0x1b myapp!boost::re_detail::regex_data > >::regex_data > >+0x6c myapp!boost::basic_regex > >::do_assign+0x5f myapp!boost::basic_regex > >::assign+0x23 myapp!match+0x131 }}} The attached program reproes this consistently in anywhere from 1 min to 10 min on my Xeon workstation running Win7 x64 and using msvc version 16.00.40219.01. I have not tried any other compilers yet. The attached code also does not call regex directly but rather it manipulates object_cache directly in the same way that w32_regex_traits does in order to get an easier repro." Bugs closed To Be Determined regex Boost 1.48.0 Showstopper fixed