https://bugs.documentfoundation.org/show_bug.cgi?id=144072

--- Comment #34 from Patrick Luby <plub...@neooffice.org> ---
(In reply to Noel Grandin from comment #33)
> Fix for this here:
> 
> https://gerrit.libreoffice.org/c/core/+/155284
> 
> I debugging this using an ASAN build, which helpfully gives me a nice
> stacktrace of who freed the offending object.
> 
> By comparing the stack of the crash to the stack of the free operation, I
> was able to see when the problem occurred.

I tested the above patch and it works for me.

I think this is a very elegant fix. The key is that it refetches the SdrHdl
after where they are deleted so the passed in SdrHdl parameter can be ignored.

That was the piece that was missing from my patches and it eliminates the need
for my ugly "check if SdrHdl is still alive" code.

Thanks Noel!

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to