Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-08-26 11:27:32


Timothy Barrett:
> Forgive the previous incomplete post. I am working with boost-1_34_1 on
> redhat EL4 update 5.
>
> My backtrace is:
> #0 0x56e58955 in ?? ()
> #1 0xb7fd55f5 in boost::function0<void,
> std::allocator<boost::function_base> >::assign_to_own (this=0xb7eda390,
> f=@0xbffff770)

You may be encountering the thread-safety bug described in

http://svn.boost.org/trac/boost/ticket/1260

I suspect that the hotfix for 1.34.x that is mentioned in #1260 is

http://boost.sourceforge.net/function-1-34-fix/function_template.hpp

You should try replacing your function_template.hpp with the file above and
see if it helps.

If you wonder how did I know where to find the hotfix - I googled
'assign_to_own' :-)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net