Boost C++ Libraries: Ticket #906: Bug in Win32 implementation w/ static linking https://svn.boost.org/trac10/ticket/906 <pre class="wiki">[reposting this to the bug tracker] Hi, I believe I've found a bug in tss.cpp, for details please ref http://article.gmane.org/gmane.comp.lib.boost.user/26591 . The immediate fix is straightforward, it just involves resetting the native tss value after deleting the pointed-to data at thread exit. Patch is attached to this message. The changes only affects the Win32 platform and I've run the supplied tests under libs/thread/test to verify that it doesn't break anything obvious. As the bug involves dereferencing a dangling pointer and isn't detected most of the time, I'd really appreciate if the patch could be accepted as soon as possible. I'm awaiting Roland Schwartz to "bless" the patch. If he agrees, would it be possible to accept this for 1.34? / Johan </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/906 Trac 1.4.3 r.johan.nilsson@… Tue, 22 May 2007 06:12:06 GMT <link>https://svn.boost.org/trac10/ticket/906#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/906#comment:1</guid> <description> <p> The bug needs further fixes, as discussed later in the same thread: </p> <p> <a class="ext-link" href="http://thread.gmane.org/gmane.comp.lib.boost.devel/157790/focus=158472"><span class="icon">​</span>http://thread.gmane.org/gmane.comp.lib.boost.devel/157790/focus=158472</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Anthony Williams</dc:creator> <pubDate>Tue, 22 May 2007 07:27:51 GMT</pubDate> <title>owner, status changed; severity set https://svn.boost.org/trac10/ticket/906#comment:2 https://svn.boost.org/trac10/ticket/906#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">glassfordm</span> to <span class="trac-author">Anthony Williams</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> Ticket Anthony Williams Tue, 22 May 2007 07:28:33 GMT status changed https://svn.boost.org/trac10/ticket/906#comment:3 https://svn.boost.org/trac10/ticket/906#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Anthony Williams Tue, 22 May 2007 12:49:47 GMT attachment set https://svn.boost.org/trac10/ticket/906 https://svn.boost.org/trac10/ticket/906 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">tss.cpp.patch</span> </li> </ul> <p> Patch for libs/thread/src/tss.cpp </p> Ticket Thomas Witt Tue, 22 May 2007 15:30:30 GMT cc, milestone set https://svn.boost.org/trac10/ticket/906#comment:4 https://svn.boost.org/trac10/ticket/906#comment:4 <ul> <li><strong>cc</strong> <span class="trac-author">witt@…</span> added </li> <li><strong>milestone</strong> → <span class="trac-field-new">Boost 1.34.1</span> </li> </ul> Ticket Anthony Williams Tue, 22 May 2007 15:39:39 GMT status, resolution changed https://svn.boost.org/trac10/ticket/906#comment:5 https://svn.boost.org/trac10/ticket/906#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket