Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10246: asynchronous_sink sometimes "misses" an attribute
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-27 11:08:22
#10246: asynchronous_sink sometimes "misses" an attribute
-------------------------------+---------------------
Reporter: bielecki.b@⦠| Owner: andysem
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: log
Version: Boost 1.55.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+---------------------
Changes (by andysem):
* status: new => closed
* resolution: => invalid
Comment:
You have a race condition in operator<< for Level and Group enums. MSVC
doesn't support thread-safe initialization of function-local static
variables. Since these operators are called in dedicated threads of async
sinks, they are called concurrently. Sometimes this results in the
'strings' arrays being uninitialized when used.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10246#comment:4> 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:16 UTC