[llvm-bugs] [Bug 47641] New: Crash in clang::Sema::CreateBuiltinBinOp during clangd 11.0.0 background indexing of Firefox
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 24 20:30:42 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47641
Bug ID: 47641
Summary: Crash in clang::Sema::CreateBuiltinBinOp during clangd
11.0.0 background indexing of Firefox
Product: clang
Version: unspecified
Hardware: Macintosh
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: mstange at themasta.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
Created attachment 24000
--> https://bugs.llvm.org/attachment.cgi?id=24000&action=edit
crash stack
I don't have steps to reproduce here unfortunately.
I have a Firefox build on macOS and am using clangd with VSCode for Firefox
development. clangd keeps crashing in the background during indexing. I
attached lldb and captured the stack for one of these crashes.
I'm using clangd version 11.0.0.
Top 4 frames of the crash:
> * thread #6, name = 'background-worker-5', stop reason = EXC_BAD_ACCESS (code=2, address=0x700000ec7e80)
> * frame #0: 0x00000001102cce6e libclang-cpp.dylib`clang::Sema::CreateBuiltinBinOp(clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*) + 46
> frame #1: 0x00000001102d2509 libclang-cpp.dylib`clang::Sema::BuildBinOp(clang::Scope*, clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*) + 297
> frame #2: 0x00000001106034a0 libclang-cpp.dylib`clang::TreeTransform<(anonymous namespace)::TemplateInstantiator>::TransformBinaryOperator(clang::BinaryOperator*) + 144
> frame #3: 0x000000011060ea51 libclang-cpp.dylib`clang::TreeTransform<(anonymous namespace)::TemplateInstantiator>::TransformTemplateArgument(clang::TemplateArgumentLoc const&, clang::TemplateArgumentLoc&, bool) + 177
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200925/3283d461/attachment.html>
More information about the llvm-bugs
mailing list