Re: [Boost-bugs] [Boost C++ Libraries] #6320: race condition in boost::filesystem::path leads to crash when used in multithreaded programs

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6320: race condition in boost::filesystem::path leads to crash when used in multithreaded programs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-08-08 10:37:30


#6320: race condition in boost::filesystem::path leads to crash when used in
multithreaded programs
-------------------------------+-------------------------
  Reporter: aris.basic@… | Owner: Beman Dawes
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.64.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------
Changes (by anonymous):

 * version: Boost 1.62.0 => Boost 1.64.0

Comment:

 With 1.64 it is still there.
 Has it some priority? Or it will be gone with static inicializing thread-
 safe compilers (I use MSVC 2013, which is probably not)?

 {{{
 Unhandled exception thrown: read access violation.
 _Loc._Ptr was nullptr.
 }}}

 Incriminated thread (optimized code):

 {{{
         [Inline Frame] My.dll!std::locale::_Getfacet(unsigned __int64)
 Line 468
         My.dll!std::use_facet<std::codecvt<wchar_t,char,int> >(const
 std::locale & _Loc) Line 572
         My.dll!MyCode() Line 692 // calling boost::filesystem::path(const
 std::string &)
 }}}

 I also suspect path_locale(), where is static inicializing global shared
 object across threads.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/6320#comment:30>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-08-08 10:41:47 UTC