Boost logo

Boost :

Subject: Re: [boost] "peer reviewed" - Rights and responsibilities of maintainers
From: Olaf van der Spek (ml_at_[hidden])
Date: 2018-10-18 07:52:14

On Wed, Oct 17, 2018 at 9:06 AM, Alexander Grund via Boost
<boost_at_[hidden]> wrote:
> b) In the case I described and tested with #111 (and now even with #128)
> There are 2 shared libraries with their own instances of the singletons
> (this can be checked by debugging the ctor/dtor of them). The lifetime
> mismatch happens due to "some linux mechanism" destroying same types from
> different libraries at the same time invalidating the expectation of each
> library. Example (actually witnessed by printf-debugging)

Using static libs in shared libs is a recipe for disaster isn't it?
It's undefined behavior..

Does it make sense to try to 'work around' it on specific implementations?


Boost list run by bdawes at, gregod at, cpdaniel at, john at