$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Roger Wilco (wilco909_at_[hidden])
Date: 2004-02-29 23:22:44
On Win32:
{
// Verify boost tss bug is fixed. (still present as of 1.31.0)
// This bug will not trigger until application termination.
boost::thread_specific_ptr<bool> tss;
bool * testPtr = new bool;
tss.reset(testPtr);
tss.reset(NULL); // testPtr is deleted and is now invalid. tss.get()
returns NULL.
// When tss goes out of scope, an unpatched Boost will erroneously
delete testPtr a second time.
}
I've posted and emailed this bug at least a dozen times now... I hope
this gets through this time.
This bug seems very blatant; like it would affect lots of people. Is
this bug known? Is Boost threads being actively maintained? This bug has
been present for at least a year.