6 Sep 03:21
possible bug introduced in boost function
From: Emil Dotchevski <emil <at> revergestudios.com>
Subject: possible bug introduced in boost function
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-09-06 01:22:11 GMT
Subject: possible bug introduced in boost function
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-09-06 01:22:11 GMT
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. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed