On 27 March 2011 23:57, Panagiotis Foteinos <pafotein@gmail.com> wrote:
Hello users.
Could you think of any scenarios that would cause the observed behaviour? 

Any ideas would be welcome.

OS: Ubuntu 64
Compiler: gcc version 4.4.3

Best Regards,
Panagiotis Foteinos


Sounds like cyclic references[1] for which you may need to use weak_ptr 's.
[1]http://www.codeproject.com/KB/stl/boostsmartptr.aspx#Cyclic%20References