Boost logo

Boost :

Subject: Re: [boost] [thread|shared_ptr|atomic] segmentation fault inexception_ptr assignment
From: Peter Dimov (lists_at_[hidden])
Date: 2013-02-24 13:03:38


Oliver Kowalke wrote:
> I'm wondering why a simple assignement of excpetion_ptr causes a
> segmentation fault if future's implementation uses intrusive_ptr + atomic
> +
> sequential - consistent ops instead of shared_ptr.

What does valgrind say? This sort of crash is often an indication that the
shared_ptr memory has been corrupted.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk