Re: [Boost-bugs] [Boost C++ Libraries] #6320: creation of path from std::string on Windows (VC10) crashes (access error)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6320: creation of path from std::string on Windows (VC10) crashes (access error)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-31 09:01:53


#6320: creation of path from std::string on Windows (VC10) crashes (access error)
-----------------------------------+----------------------------------------
  Reporter: aris.basic@… | Owner: bemandawes
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Changes (by anonymous):

  * status: closed => reopened
  * version: Boost 1.48.0 => Boost 1.51.0
  * resolution: fixed =>
  * severity: Showstopper => Problem

Comment:

 This issue still appears to be present, using:

 MSVC 2012 (Win7, 32-bit).
 '''Statically''' linked to boost::filesystem.

 Just modified the example code to use "C:/" as the directory search path
 (to ensure existence).

 Code asserts in .../libs/filesystem/src/path.cpp, line 888:

 {{{
 #if defined(BOOST_WINDOWS_API) && defined(BOOST_FILESYSTEM_STATIC_LINK)

   const path::codecvt_type& path::codecvt()
   {
     BOOST_ASSERT_MSG(codecvt_facet_ptr(), "codecvt_facet_ptr() facet
 hasn't been properly initialized");
     return *codecvt_facet_ptr();
   }

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6320#comment:3>
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-02-16 18:50:11 UTC