[pkg-boost-devel] Bug#458743: boost: Please fix thread safety bug

Phil Endecott spam_from_debian_bugs_4 at chezphil.org
Wed Jan 2 14:47:57 UTC 2008


Package: boost
Version: 1.34.1-4
Severity: normal


Hi,

Apparently, Boost.Function is not thread safe in 1.34.*.  Boost.Thread uses 
Boost.Function, and so Boost.Thread is itself not thread-safe.  Since a 
non-thread-safe threads library is about as useful as the proverbial chocloate teapot, 
it would be great to fix this.

I understand that it will be fixed in 1.35, which may appear soon.  On the other hand, 
we have already been waiting a loooong time for 1.35 to come out and I'm not holding 
my breath.  The recommended fix [see the news item on the boost.org web page] is to 
use the current Boost.Function from trunk and to re-compile the libraries that depend 
on it (i.e. Boost.Thread).

I don't expect to see many people demanding this fix, since the nature of 
thread-safety problems is that they manifest themselves rarely and are hard to 
reproduce and debug.  However, this is a real bug, and a fix does exist.  I'm 
surprised that Boost have not decided to release a 1.34.2 incorporating the fix, but 
that doesn't need to stop Debian from fixing it.

Regard,  Phil.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)






More information about the pkg-boost-devel mailing list