Boost logo

Boost Users :

Subject: Re: [Boost-users] [Thread] program crashes from time to time when deleting unique_future<void>
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2011-11-23 03:56:41


On Mon, Nov 21, 2011 at 8:40 AM, Soderback, Johan
<Johan.Soderback_at_[hidden]> wrote:
> Hi,
>
> I have a small example program that crashes from time to time.
>
> I would appreciate some help to understand why.

Your program ended up with a copy of an exception object, which shared
internal state with the original, but the original and the copy were
in different threads. There is special machinery in Boost Exception
which should have prevented that situation.

There was a bug in that system. I think it's fixed now, see trunk
revision number 75636.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net