Subject: [Boost-bugs] [Boost C++ Libraries] #9218: Invalid pointer dereference on MSVC debug builds
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-10 01:00:44
#9218: Invalid pointer dereference on MSVC debug builds
--------------------------------------+--------------------------
Reporter: Gavin Lambert <gavinl@â¦> | Owner: timblechmann
Type: Patches | Status: new
Milestone: To Be Determined | Component: lockfree
Version: Boost 1.53.0 | Severity: Problem
Keywords: windows msvc debug |
--------------------------------------+--------------------------
This is rare (so far only observed with race detection simulation), but
due to the MSVC DebugCRT initialising "new" allocated memory to 0xCC
instead of 0x00 the queue will miss a null pointer check in a particular
race condition and try to dereference 0xCCCCCCCC.
If you're interested I could probably get a log of the exact sequence of
operations that leads to this error, but it's pretty wordy.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9218> 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:14 UTC