[Boost-bugs] [Boost C++ Libraries] #9541: crash when using boost 1.55.0 from an application that is based on libstdc++ on Mac

Subject: [Boost-bugs] [Boost C++ Libraries] #9541: crash when using boost 1.55.0 from an application that is based on libstdc++ on Mac
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-02 08:35:09


#9541: crash when using boost 1.55.0 from an application that is based on
libstdc++ on Mac
----------------------------------------------+------------------------
 Reporter: mu.cai@… | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: crash from libstdc++ application |
----------------------------------------------+------------------------
 The following are the steps to reproduce the defect:
 1) Create a Command Line Tool application in XCode and make sure its c++
 standard library is libstdc++ï¼›
 ï¼’) add the following code in the file main.cpp:
 ã€€ã€€ã€€ï½‚oost::filesystem::path filePath = "/Users/admin/test.log";
    boost::filesystem::path bfsFileName = filePath.filename();
    std::string fileName = bfsFileName.c_str();
 3) Run the application and it always crashes at the last line.


 My XCode is 5.0 and my os is 10.8.5.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9541>
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:15 UTC