Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-04-25 13:02:29


Dave.Ware_at_[hidden] wrote:
> Does anyone know of a compatibility problem between the use of the
> Boost shared_ptr class and Rational RoseRT (real-time version of Rational
> Rose).
>
>
> We are having problems with intermittent crashes (not repeatable),
> and the crash dump debugger always indicates a problem while destroying
> objects that were held in existence by a shared_ptr - The underlying
> objects
> are of many different classes. We are never destroying the objects
> explicitly, but let the shared_ptr object take care of this when the last
> pointer
> to an object is deleted.
>
> When running the executable under Rational Purify, it reports many FIM
> errors (Freeing Invalid Memory), and all of these are again due to the
> deletion of objects that were owned by a shared_ptr.

What version of Boost are you using and on which platform? Is your
application multithreaded? Have you verified that all your shared_ptr
instances are constructed or reset with valid pointers?


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