The FastAMG preconditioner is not aligned with the other preconditioners/solvers that already store the linear operator by shared_ptr. The MR solves this issue.
FastAMG
shared_ptr