Lisandro Dalcin <[email protected]> writes:

> On 13 March 2016 at 04:21, Matthew Knepley <[email protected]> wrote:
>> You can fix the SEGV by moving the library unloading to after the malloc
>> dump. However,
>> it then records that the memory from loading the library is still unfreed.
>
> Or let's do it the Python way and never ever dlclose() dynamic libraries :-)

If I understand correctly, this would be no different from calling
dlclose after dealing with the malloc_dump.  And I think it's the right
solution because otherwise we have to copy __func__ instead of just
referencing it.  What is the "memory from loading the library"?

Attachment: signature.asc
Description: PGP signature

Reply via email to