[dune-fem] Segmentation fault when creating a new space for several times

Andreas Dedner a.s.dedner at warwick.ac.uk
Thu Jun 18 15:28:27 CEST 2015


The problem with dangling reference is not really avoidable and the 
order of deleting is simply
going to cause issues. How do you want to solve that? We could add a 
reference counter to the
gridparts storing how much spaces are initialized over that grid part.
Andreas

On 18/06/15 14:11, Agnese, Marco wrote:
> Hi Andreas, hi Martin,
> thank you for looking into it. I suspected that was something related to the deletion order.
>
> Martin your workaround works.
> Nevertheless, I think we should fix the issue inside the space since it should be possible to delete the space and the grid part in any order.
> What do you think?
>
> Cheers,
> Marco.
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem





More information about the dune-fem mailing list