Re: [Boost-bugs] [Boost C++ Libraries] #7435: Crash with format using UTF16 strings on MacOS X

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7435: Crash with format using UTF16 strings on MacOS X
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-14 01:56:40


#7435: Crash with format using UTF16 strings on MacOS X
--------------------------------------------------------------+-------------
  Reporter: Franz Detro <franz.detro@…> | Owner: samuel_krempp
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: format
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------------------+-------------

Comment (by steven_watanabe):

 Looking around in the code it appears that stream_format_state::apply_on
 itself calls oss.imbue. It isn't clear to me why this is crashing, but
 it seems to me that if apply_on fails if the locale isn't set, the
 simplest
 solution is to set the locale first rather than setting it in put only for
 to overwrite it immediately.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7435#comment:1>
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:12 UTC