Subject: Re: [Boost-users] [filesystem] std::bad_alloc during dll initialization when migrating to filesystem v3
From: Nat Goodspeed (nat_at_[hidden])
Date: 2011-04-15 14:03:27


On Apr 15, 2011, at 7:53 AM, Richard Ulrich <richi_at_[hidden]> wrote:

> I can not reproduce the behavior with a toy project containing 3 dlls
> that all use boost::filesystem.

Wild guess: are you linking static boost::filesystem with each of your DLLs, or dynamic boost::filesystem? Bad Things can happen with multiple static instances of the same library in the same process.