Opened 7 years ago
Last modified 7 years ago
#11567 new Bugs
Boost crashes when boost::filesystem::path::imbue(std::locale(""));
| Reported by: | anonymous | Owned by: | Beman Dawes |
|---|---|---|---|
| Milestone: | Boost 1.58.0 | Component: | filesystem |
| Version: | Boost 1.57.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
This code crashes:
boost::filesystem::path::imbue(std::locale(""));
boost::filesystem::path p (L"привет");
in:
void dispatch(const std::wstring& c, U& to, const codecvt_type& cvt)
{
if (c.size())
convert(&*c.begin(), &*c.begin() + c.size(), to, cvt); // SIGABRT cvt is invalid
}
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
| Component: | locale → filesystem |
|---|---|
| Owner: | changed from to |
Note:
See TracTickets
for help on using tickets.

Problem on OSX and Linux