Liviu Nicoara created STDCXX-1071: ------------------------------------- Summary: numpunct facet cache initialization is not thread -safe Key: STDCXX-1071 URL: https://issues.apache.org/jira/browse/STDCXX-1071 Project: C++ Standard Library Issue Type: Bug Components: 22. Localization, Thread Safety Affects Versions: 4.2.1, 4.2.x, 4.3.x, 5.0.0 Environment: $ uname -a; CC -V Linux behemoth 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 AMD Opteron(tm) Processor 6134 AuthenticAMD GNU/Linux CC: Sun C++ 5.12 Linux_i386 2011/11/16 Reporter: Liviu Nicoara Priority: Critical Fix For: 4.2.x, 4.3.x, 5.0.0, 4.2.1
The bug affects the initialization of the cached data in numpunct facet. The failing test is 22.locale.numpunct.cpp in certain builds: Linux with SUNPro 5.12, optimized, most likely to fail. It has been reported (see linked incidents) to fail on SPARC as well. It manifests in variate ways: sometimes as heap corruption, sometimes as access violations, etc. Test cases and library reduction programs to follow. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira