[clangd-dev] Memory leaks detected when running check-clangd with ASan after r346488

Haojian Wu via clangd-dev clangd-dev at lists.llvm.org
Fri Dec 14 00:46:47 PST 2018


Hi David,

Thanks for the report. Ilya and I also discovered this issue when we were
trying to debug another issue last week, but we forgot it after that. I
will take a look today.

On Thu, Dec 13, 2018 at 7:45 PM Sam McCall via clangd-dev <
clangd-dev at lists.llvm.org> wrote:

> (+clangd-dev at lists.llvm.org)
>
> Hi David,
>
> Thanks for finding this! I don't recall seeing it.
> Unfortunately I'm out on leave and won't be able to dig into this until
> new (small kids...)
>
> Maybe one of my colleagues could have a look, or maybe it's still possible
> to revert this for now?
>
> On Fri, Dec 14, 2018, 02:02 David Stenberg <david.stenberg at ericsson.com
> wrote:
>
>> Hi!
>>
>> After the introduction of r346488 we have seen some indirect memory
>> leaks when running the Clangd unit tests. I was able to reproduce it on
>> two different Ubuntu machines running Clang 5.0 respectively 6.0.
>>
>> I wrote a PR for this: https://bugs.llvm.org/show_bug.cgi?id=39991
>>
>> Have you heard or seen something about this?
>>
>> Best regards,
>> David
>>
>> _______________________________________________
> clangd-dev mailing list
> clangd-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/clangd-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/clangd-dev/attachments/20181214/068384a0/attachment.html>


More information about the clangd-dev mailing list