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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs