[petsc-dev] tiny bug in DMPlexDistribute

Mark Adams mfadams at lbl.gov
Fri Oct 13 12:00:52 CDT 2017


Thanks Vaclav,
I've been seeing a valgrind warning in PlexDestroy for a long time.
Mark

On Fri, Oct 13, 2017 at 10:33 AM, Matthew Knepley <knepley at gmail.com> wrote:

> On Fri, Oct 13, 2017 at 10:26 AM, Vaclav Hapla <vaclav.hapla at erdw.ethz.ch>
> wrote:
>
>> Hello
>>
>> In DMPlexDistribute, when it is run on 1 process and sf != NULL, the
>> output *sf is undefined. This in turn leads to crash of PetscSFDestroy,
>> e.g. in src/dm/impls/plex/examples/tutorials/ex5.c:45.
>>
>> I created the corresponding pull request a minute ago. It is my first PR
>> - please, should I write there some reviewer?
>
>
> This is correct. I will merge it.
>
>   Thanks,
>
>     Matt
>
>
>>
>> Vaclav Hapla
>
>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>
> https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171013/582b8d66/attachment.html>


More information about the petsc-dev mailing list