------- Comment #1 from rlogel at navtech dot aero 2010-01-07 16:46 ------- Created an attachment (id=19500) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19500&action=view) Shared Pointer Test Program
This test program shows that the shared_ptr reference counter isn't being incremented during assignment. As a result the pointer can get deleted before all references are destructed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42649