1 Mar
2004
1 Mar
'04
4:22 a.m.
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.