Subject: [boost] possible bug introduced in boost function
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-09-05 21:22:11
I have strong suspicions that the changes in boost::function made
today introduce a serious bug in the lifetime management of the
contained object. I don't have a simple test case to demonstrate it,
but a rather complicated use of boost::function which contains
shared_ptr in a boost::bind results in incorrect refcount which leads
to a crash.
Reverting to revision 48607 makes the shared_ptr refcount correct.
Reverge Studios, Inc.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk