An error occurred while fetching participants.
solver context takes address of a local
Just noticed this one - taking address of local which is de-referenced later.
@sbna I am not sure why this hasn't crashed before.
Site will likely be offline for maintenance 23/24 April - more details soon
Just noticed this one - taking address of local which is de-referenced later.
@sbna I am not sure why this hasn't crashed before.
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
changed the description
changed title from solver context takes address of a a local to solver context takes address of a local
it hasn't crashed because it's used by the KSP object (for the convergence test) inside the lifetime of the solverPerf object. Moreover it's returned at the end of the function, see https://develop.openfoam.com/modules/external-solver/-/blob/develop/src/petsc4Foam/solvers/petscSolver.C#L296
mentioned in commit 6b28a1e0
closed via commit 6b28a1e0
Issue also resolved via discussion (Skype)