Boost logo

Boost Users :

Subject: Re: [Boost-users] boost:shared_ptr destructor, SIGBUS, MIPS 64
From: Peter Dimov (pdimov_at_[hidden])
Date: 2012-01-03 13:24:54


sumanth krishna wrote:

> #8 0x0000000120068b64 in C::~C (this=0x1200a8e70, __in_chrg=<value
> optimized out>)

Is it possible for a thread to still be calling c->getList when ~C is
executed?

Based on your (pseudo)code, a number of temporary std::list<shared_ptr<A>>
instances are created and destroyed without a problem before C's member, so
list destruction on its own seems to work fine.


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