#1521: Piraha smart_ptr can't handle self assignment -----------------------+---------------------------------------------------- Reporter: eschnett | Owner: sbrandt Type: defect | Status: assigned Priority: major | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: -----------------------+----------------------------------------------------
Comment (by eschnett):
This is not about parameter files, this is about C++ code. Writing "x=x" when x is a smart_ptr may accidentally delete the object to which x points, leading to segfaults.