> Greetings, ppl.
> I've got strange problems with the latest stable boost (1.44.0) and
> MSVS studios 2005 and 2010.
>
> The first problem I got (it seems being not dependent on boost
> version) was the heap allocation exception when using
> mutex::scoped_lock to guard references to std::deque from different
> threads in multithreaded application.

Hi,

You might want to check out this known bug with std::deque in MSVC. It's due to be fixed in VC11:

https://connect.microsoft.com/VisualStudio/feedback/details/533131/bug-in-std-deque-non-conforming-invalidation-of-iterators-after-pop-front?wa=wsignin1.0

Regards,

David.