Boost logo

Boost Users :

Subject: Re: [Boost-users] Crash in boost::thread::sleep(xt) (boost 1.42 on Windows 32 bit)
From: Arno (arno.schaefer_at_[hidden])
Date: 2012-03-26 02:53:28

> There were some defects that I reported a little while ago relating ODR
> violations. The issue was very difficult, at least for me, to track down. It
> turned out that one of the third-party shared libraries I was using had used
> boost too. When a thread exited in the third party library it caused my
> application to die because the wrong function instance was executed.
Many thanks for that hint, we are using also some third party libs and they all
work with threads, but don’t use boost. Can you give me a clue, what ODR
violations can be relevant for this behaviour. It was very hard for us to
reproduce our error also in the debug mode, but also the debugger don’t stop in
a breakpoint if it happens, even when all exceptions are switched on.
We didn't know the details at the moment what kind of threads will be used
from the third party libs.
> Anthony was very quick to put the corrections for this defect into Boost, but
> 1.42 is definitely too old to have this fix in.
At least what version was this fix done is there a bug number available?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at