[Dune] [#864] Dune's shared_ptr implementation cannot copy default-constructed shared_ptrs
Dune
flyspray at dune-project.org
Thu Jan 13 13:17:38 CET 2011
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Jö Fahlke (joe)
Attached to Project - Dune
Summary - Dune's shared_ptr implementation cannot copy default-constructed shared_ptrs
Task Type - Bug Report
Category - Common
Status - New
Assigned To -
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN (pre2.1)
Due in Version - Undecided
Due Date - Undecided
Details - Dune's shared_ptr implementation often does not check that the rep_ member is
non-null, resulting in segfaults for instance in the following code:
shared_ptr<int> a;
shared_ptr<int> b(a); // segmentation fault
I build this as a test-case into dune/common/test/shared_ptrtest.cc (that
source file generated two programs, use shared_ptrtest_dune to check Dune's
reimplementation of shared_ptr).
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=864
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list