Boost logo

Boost Users :

Subject: Re: [Boost-users] Crashing Issue
From: Nat Goodspeed (nat_at_[hidden])
Date: 2015-02-05 09:30:32

>> On Wed, Feb 4, 2015 at 12:10 AM, Vicente J. Botet Escriba
>> <vicente.botet_at_[hidden]> wrote:

>>> it could help if you post the example and the backtrace.
>>> Which version/OS/compiler use others for which this works?

On Wed, Feb 4, 2015 at 7:52 PM, swati upadhyaya
<swatiupadhyaya_at_[hidden]> wrote:

> hi I am using like this where RunningThreads_ is vector containing boost
> thread object pointer(handler).I am using interrupt() for the interruption
> of thread interruption_point() catching that interruption then
> joining.everytime its crashing in join() for me but for others who have the
> same configuration its working fine all of us has windos 8. For me also it
> was working last week but this week the same piece of code is crashing. :(
> RunningThreads_[i].handle->interrupt();
> RunningThreads_[i].handle->join();
> delete RunningThreads_[i].handle;

I'm pretty sure Vicente meant: please either paste or attach a
complete small program source, with all relevant #includes, that he
could download or paste into a local file and immediately compile
himself to observe the problem.

Very often a problem we observe strongly depends on the context in
which the relevant statements are running.

Sometimes the very process of deriving the smallest program that still
fails is sufficient to solve the problem yourself. Highly recommended.

Sometimes, if every small example program you create (without your own
organization's code) behaves exactly as expected, you establish that
the problem really isn't in the Boost library.

If you can send a _small_ program that replicates the problem, you
give the library author some chance of diagnosing the issue without
having to spend days untangling your control flow.

For all of these reasons: whittle down the problem to the smallest
possible complete, self-contained program that demonstrates the

And on this mailing list, please add your replies to the bottom of
previous mail. It also helps if you delete from your reply everything
except the question or statement to which you are directly replying.

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