Skip to content

[clangd] Crash report #162123

@kralicky

Description

@kralicky

Using clangd 21.1.0 with vscode-clangd. This code causes clangd to crash. Here are the logs:

Logs
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	/home/ubuntu/envoy-custom/test/extensions/filters/network/ssh/reverse_tunnel_test.cc:129:3 <Spelling=/home/ubuntu/envoy-custom/external/com_google_googletest/googletest/include/gtest/gtest_pred_impl.h:134:45>: current parser token ')'
1.	/home/ubuntu/envoy-custom/test/extensions/filters/network/ssh/reverse_tunnel_test.cc:9:1: parsing namespace 'Envoy'
2.	/home/ubuntu/envoy-custom/test/extensions/filters/network/ssh/reverse_tunnel_test.cc:10:1: parsing namespace 'Envoy::Extensions::NetworkFilters::GenericProxy::Codec::test'
3.	/home/ubuntu/envoy-custom/test/extensions/filters/network/ssh/reverse_tunnel_test.cc:87:44: parsing function body 'Envoy::Extensions::NetworkFilters::GenericProxy::Codec::test::ReverseTunnelIntegrationTest_Test_Test::TestBody'
4.	/home/ubuntu/envoy-custom/test/extensions/filters/network/ssh/reverse_tunnel_test.cc:87:44: in compound statement ('{}')
 #0 0x0000000000508e47 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /__w/clangd/clangd/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
 #1 0x0000000000506885 llvm::sys::RunSignalHandlers() /__w/clangd/clangd/llvm-project/llvm/lib/Support/Signals.cpp:105:18
 #2 0x0000000000509daa SignalHandler(int, siginfo_t*, void*) /__w/clangd/clangd/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
 #3 0x000070a427a45330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
 #4 0x0000000000c73bba getKindRank /__w/clangd/clangd/llvm-project/clang/include/clang/Sema/Overload.h:728:7
 #5 0x0000000000c73bba ForSequence /__w/clangd/clangd/llvm-project/clang/lib/Sema/SemaOverload.cpp:13036:26
 #6 0x0000000000c73bba (anonymous namespace)::CompareOverloadCandidatesForDisplay::CompareConversions(clang::OverloadCandidate const&, clang::OverloadCandidate const&) /__w/clangd/clangd/llvm-project/clang/lib/Sema/SemaOverload.cpp:13068:23
 #7 0x0000000000c738b3 (anonymous namespace)::CompareOverloadCandidatesForDisplay::operator()(clang::OverloadCandidate const*, clang::OverloadCandidate const*) /__w/clangd/clangd/llvm-project/clang/lib/Sema/SemaOverload.cpp:0:0
 #8 0x0000000000c74fa3 __move_merge_adaptive_backward<clang::OverloadCandidate **, clang::OverloadCandidate **, clang::OverloadCandidate **, __gnu_cxx::__ops::_Iter_comp_iter<(anonymous namespace)::CompareOverloadCandidatesForDisplay> > /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:2354:8
 #9 0x0000000000c74fa3 void std::__merge_adaptive<clang::OverloadCandidate**, long, clang::OverloadCandidate**, __gnu_cxx::__ops::_Iter_comp_iter<(anonymous namespace)::CompareOverloadCandidatesForDisplay>>(clang::OverloadCandidate**, clang::OverloadCandidate**, clang::OverloadCandidate**, long, long, clang::OverloadCandidate**, long, __gnu_cxx::__ops::_Iter_comp_iter<(anonymous namespace)::CompareOverloadCandidatesForDisplay>) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:2432:4
#10 0x0000000000c734d7 void std::__stable_sort_adaptive<clang::OverloadCandidate**, clang::OverloadCandidate**, long, __gnu_cxx::__ops::_Iter_comp_iter<(anonymous namespace)::CompareOverloadCandidatesForDisplay>>(clang::OverloadCandidate**, clang::OverloadCandidate**, clang::OverloadCandidate**, long, __gnu_cxx::__ops::_Iter_comp_iter<(anonymous namespace)::CompareOverloadCandidatesForDisplay>) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:2756:5
#11 0x0000000000c35d2f return_temporary_buffer<clang::OverloadCandidate *> /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tempbuf.h:113:7
#12 0x0000000000c35d2f ~_Temporary_buffer /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tempbuf.h:168:2
#13 0x0000000000c35d2f __stable_sort<clang::OverloadCandidate **, __gnu_cxx::__ops::_Iter_comp_iter<(anonymous namespace)::CompareOverloadCandidatesForDisplay> > /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:5047:5
#14 0x0000000000c35d2f stable_sort<clang::OverloadCandidate **, (anonymous namespace)::CompareOverloadCandidatesForDisplay> /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:5114:7
#15 0x0000000000c35d2f stable_sort<llvm::SmallVector<clang::OverloadCandidate *, 32> &, (anonymous namespace)::CompareOverloadCandidatesForDisplay> /__w/clangd/clangd/llvm-project/llvm/include/llvm/ADT/STLExtras.h:2083:3
#16 0x0000000000c35d2f clang::OverloadCandidateSet::CompleteCandidates(clang::Sema&, clang::OverloadCandidateDisplayKind, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, llvm::function_ref<bool (clang::OverloadCandidate&)>) /__w/clangd/clangd/llvm-project/clang/lib/Sema/SemaOverload.cpp:13218:3
#17 0x0000000000c50a23 clang::OverloadCandidateSet::NoteCandidates(std::pair<clang::SourceLocation, clang::PartialDiagnostic>, clang::Sema&, clang::OverloadCandidateDisplayKind, llvm::ArrayRef<clang::Expr*>, llvm::StringRef, clang::SourceLocation, llvm::function_ref<bool (clang::OverloadCandidate&)>) /__w/clangd/clangd/llvm-project/clang/lib/Sema/SemaOverload.cpp:13252:3
#18 0x0000000000c5a377 FinishOverloadedCallExpr(clang::Sema&, clang::Scope*, clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, clang::OverloadCandidateSet*, clang::OverloadCandidate**, clang::OverloadingResult, bool) /__w/clangd/clangd/llvm-project/clang/lib/Sema/SemaOverload.cpp:14746:19
#19 0x0000000000c5996d clang::Sema::BuildOverloadedCallExpr(clang::Scope*, clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) /__w/clangd/clangd/llvm-project/clang/lib/Sema/SemaOverload.cpp:14873:10
#20 0x00000000010c3b72 clang::Sema::BuildCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool) /__w/clangd/clangd/llvm-project/clang/lib/Sema/SemaExpr.cpp:6659:16
#21 0x00000000010d8bca clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*) /__w/clangd/clangd/llvm-project/clang/lib/Sema/SemaExpr.cpp:6515:7
#22 0x000000000244042c clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExpr.cpp:1893:23
#23 0x0000000002441d08 clang::Parser::ParseCastExpression(clang::CastParseKind, bool, bool&, clang::TypoCorrectionTypeBehavior, bool, bool*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExpr.cpp:1622:9
#24 0x000000000243e459 ParseCastExpression /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExpr.cpp:567:20
#25 0x000000000243e459 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
#26 0x00000000024492f7 ParseExpression /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExpr.cpp:49:10
#27 0x00000000024492f7 clang::Parser::ParseParenExpression(clang::ParenParseOption&, bool, clang::ParenExprKind, clang::TypoCorrectionTypeBehavior, clang::OpaquePtr<clang::QualType>&, clang::SourceLocation&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExpr.cpp:2925:14
#28 0x0000000002443b82 clang::Parser::ParseCastExpression(clang::CastParseKind, bool, bool&, clang::TypoCorrectionTypeBehavior, bool, bool*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExpr.cpp:763:11
#29 0x000000000243e459 ParseCastExpression /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExpr.cpp:567:20
#30 0x000000000243e459 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
#31 0x00000000024597a3 clang::Parser::ParseCXXCondition(clang::ActionResult<clang::Stmt*, true>*, clang::SourceLocation, clang::Sema::ConditionKind, bool, clang::Parser::ForRangeInfo*, bool) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseExprCXX.cpp:0:0
#32 0x00000000024a5281 clang::Parser::ParseParenExprOrCondition(clang::ActionResult<clang::Stmt*, true>*, clang::Sema::ConditionResult&, clang::SourceLocation, clang::Sema::ConditionKind, clang::SourceLocation&, clang::SourceLocation&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:0:12
#33 0x000000000249fe17 clang::Parser::ParseIfStatement(clang::SourceLocation*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:0:9
#34 0x000000000249d7db clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:0:12
#35 0x000000000249cc59 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:75:20
#36 0x000000000249f760 ParseStatement /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:48:29
#37 0x000000000249f760 clang::Parser::ParseDefaultStatement(clang::Parser::ParsedStmtContext) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:933:15
#38 0x000000000249d789 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:0:12
#39 0x000000000249cc59 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:75:20
#40 0x000000000249f59f ParseStatement /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:48:29
#41 0x000000000249f59f clang::Parser::ParseCaseStatement(clang::Parser::ParsedStmtContext, bool, clang::ActionResult<clang::Expr*, true>) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:884:15
#42 0x000000000249d73c clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:0:12
#43 0x000000000249cc59 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:75:20
#44 0x00000000024a08a0 ParseStatement /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:48:29
#45 0x00000000024a08a0 clang::Parser::ParseSwitchStatement(clang::SourceLocation*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:1696:19
#46 0x000000000249d804 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:0:12
#47 0x000000000249cc59 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:75:20
#48 0x00000000024a4f82 clang::Parser::ParseCompoundStatementBody(bool) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:0:11
#49 0x00000000024a5d10 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseStmt.cpp:2393:21
#50 0x00000000023f3e6b clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/Parser.cpp:0:0
#51 0x000000000241192f clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0
#52 0x00000000023f3126 clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /__w/clangd/clangd/llvm-project/clang/lib/Parse/Parser.cpp:0:10
#53 0x00000000023f2ab0 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /__w/clangd/clangd/llvm-project/clang/lib/Parse/Parser.cpp:1209:12
#54 0x00000000023f20a8 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/Parser.cpp:0:14
#55 0x000000000242a1af ~AttributePool /__w/clangd/clangd/llvm-project/clang/include/clang/Sema/ParsedAttr.h:709:22
#56 0x000000000242a1af ~ParsedAttributes /__w/clangd/clangd/llvm-project/clang/include/clang/Sema/ParsedAttr.h:937:7
#57 0x000000000242a1af clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:237:5
#58 0x0000000002429ba8 Exit /__w/clangd/clangd/llvm-project/clang/include/clang/Parse/Parser.h:421:11
#59 0x0000000002429ba8 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:217:18
#60 0x000000000240f668 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0
#61 0x00000000023f13b3 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/Parser.cpp:0:3
#62 0x000000000242a1af ~AttributePool /__w/clangd/clangd/llvm-project/clang/include/clang/Sema/ParsedAttr.h:709:22
#63 0x000000000242a1af ~ParsedAttributes /__w/clangd/clangd/llvm-project/clang/include/clang/Sema/ParsedAttr.h:937:7
#64 0x000000000242a1af clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:237:5
#65 0x000000000242a2ac Exit /__w/clangd/clangd/llvm-project/clang/include/clang/Parse/Parser.h:421:11
#66 0x000000000242a2ac clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:260:18
#67 0x000000000242a2ac Exit /__w/clangd/clangd/llvm-project/clang/include/clang/Parse/Parser.h:421:11
#68 0x000000000242a2ac clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:260:18
#69 0x000000000242a2ac Exit /__w/clangd/clangd/llvm-project/clang/include/clang/Parse/Parser.h:421:11
#70 0x000000000242a2ac clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:260:18
#71 0x000000000242a2ac Exit /__w/clangd/clangd/llvm-project/clang/include/clang/Parse/Parser.h:421:11
#72 0x000000000242a2ac clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:260:18
#73 0x0000000002429ba8 Exit /__w/clangd/clangd/llvm-project/clang/include/clang/Parse/Parser.h:421:11
#74 0x0000000002429ba8 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:217:18
#75 0x000000000240f668 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0
#76 0x00000000023f13b3 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /__w/clangd/clangd/llvm-project/clang/lib/Parse/Parser.cpp:0:3
#77 0x00000000023f0326 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/Parser.cpp:0:12
#78 0x00000000023efd0f clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /__w/clangd/clangd/llvm-project/clang/lib/Parse/Parser.cpp:601:26
#79 0x00000000023ec941 clang::ParseAST(clang::Sema&, bool, bool) /__w/clangd/clangd/llvm-project/clang/lib/Parse/ParseAST.cpp:0:25
#80 0x000000000202677d clang::FrontendAction::Execute() /__w/clangd/clangd/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1225:10
#81 0x0000000001578b04 getPtr /__w/clangd/clangd/llvm-project/llvm/include/llvm/Support/Error.h:281:12
#82 0x0000000001578b04 operator bool /__w/clangd/clangd/llvm-project/llvm/include/llvm/Support/Error.h:241:16
#83 0x0000000001578b04 clang::clangd::ParsedAST::build(llvm::StringRef, clang::clangd::ParseInputs const&, std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation>>, llvm::ArrayRef<clang::clangd::Diag>, std::shared_ptr<clang::clangd::PreambleData const>) /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/ParsedAST.cpp:715:19
#84 0x00000000015f8ebf ~__shared_count /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:729:6
#85 0x00000000015f8ebf ~__shared_ptr /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1169:31
#86 0x00000000015f8ebf clang::clangd::(anonymous namespace)::ASTWorker::generateDiagnostics(std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation>>, clang::clangd::ParseInputs, std::vector<clang::clangd::Diag, std::allocator<clang::clangd::Diag>>) /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:1214:39
#87 0x00000000015fca2b operator() /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:0:7
#88 0x00000000015fca2b void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::update(clang::clangd::ParseInputs, clang::clangd::WantDiagnostics, bool)::$_2>(void*) /__w/clangd/clangd/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12
#89 0x00000000015f5313 operator() /__w/clangd/clangd/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12
#90 0x00000000015f5313 clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>) /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:1328:3
#91 0x00000000015f42ed run /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:1463:5
#92 0x00000000015f42ed operator() /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/TUScheduler.cpp:826:42
#93 0x00000000015f42ed void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::create(llvm::StringRef, clang::clangd::GlobalCompilationDatabase const&, clang::clangd::TUScheduler::ASTCache&, clang::clangd::TUScheduler::HeaderIncluderCache&, clang::clangd::AsyncTaskRunner*, clang::clangd::Semaphore&, clang::clangd::TUScheduler::Options const&, clang::clangd::ParsingCallbacks&)::$_9>(void*) /__w/clangd/clangd/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:222:12
#94 0x000000000176d626 operator= /__w/clangd/clangd/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:48:5
#95 0x000000000176d626 PunnedPointer /__w/clangd/clangd/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:37:60
#96 0x000000000176d626 PointerIntPair /__w/clangd/clangd/llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:86:13
#97 0x000000000176d626 UniqueFunctionBase /__w/clangd/clangd/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:343:3
#98 0x000000000176d626 unique_function /__w/clangd/clangd/llvm-project/llvm/include/llvm/ADT/FunctionExtras.h:372:3
#99 0x000000000176d626 operator() /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/support/Threading.cpp:103:14
#100 0x000000000176d626 operator()<(lambda at /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/support/Threading.cpp:98:15) &> /__w/clangd/clangd/llvm-project/llvm/include/llvm/Support/thread.h:46:11
#101 0x000000000176d626 __invoke_impl<void, (lambda at /__w/clangd/clangd/llvm-project/llvm/include/llvm/Support/thread.h:45:9), (lambda at /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/support/Threading.cpp:98:15) &> /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/invoke.h:60:14
#102 0x000000000176d626 __invoke<(lambda at /__w/clangd/clangd/llvm-project/llvm/include/llvm/Support/thread.h:45:9), (lambda at /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/support/Threading.cpp:98:15) &> /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/invoke.h:95:14
#103 0x000000000176d626 __apply_impl<(lambda at /__w/clangd/clangd/llvm-project/llvm/include/llvm/Support/thread.h:45:9), std::tuple<(lambda at /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/support/Threading.cpp:98:15)> &, 0> /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/tuple:1684:14
#104 0x000000000176d626 apply<(lambda at /__w/clangd/clangd/llvm-project/llvm/include/llvm/Support/thread.h:45:9), std::tuple<(lambda at /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/support/Threading.cpp:98:15)> &> /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/tuple:1694:14
#105 0x000000000176d626 GenericThreadProxy<std::tuple<(lambda at /__w/clangd/clangd/llvm-project/clang-tools-extra/clangd/support/Threading.cpp:98:15)> > /__w/clangd/clangd/llvm-project/llvm/include/llvm/Support/thread.h:44:5
#106 0x000000000176d626 void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1>>(void*) /__w/clangd/clangd/llvm-project/llvm/include/llvm/Support/thread.h:58:5
#107 0x000070a427a9caa4 start_thread ./nptl/pthread_create.c:447:8
#108 0x000070a427b29c6c clone3 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:80:0
Signalled during AST worker action: Update
  Filename: test/extensions/filters/network/ssh/reverse_tunnel_test.cc
  Directory: /home/ubuntu/envoy-custom
  Command Line: /usr/lib/llvm-19/bin/clang -xc++ -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g -stdlib=libc++ -MD -MF bazel-out/k8-dbg/bin/test/extensions/filters/network/ssh/_objs/reverse_tunnel_test/reverse_tunnel_test.pic.d -frandom-seed=bazel-out/k8-dbg/bin/test/extensions/filters/network/ssh/_objs/reverse_tunnel_test/reverse_tunnel_test.pic.o -fPIC -gsplit-dwarf -g -DFMT_HEADER_ONLY -DENVOY_ADMIN_FUNCTIONALITY -DENVOY_ENABLE_QUIC -DENVOY_ENABLE_FULL_PROTOS -DENVOY_ENABLE_YAML -DENVOY_ENABLE_HTTP_DATAGRAMS -DENVOY_MOBILE_ENABLE_LISTENER -DENVOY_GOOGLE_GRPC -DWITH_OPENSSL=1 -DSPDLOG_FMT_EXTERNAL -DSPDLOG_NO_EXCEPTIONS -DENVOY_ENABLE_IO_URING=1 -DNGHTTP2_STATICLIB -DGTEST_HAS_ABSL=1 -DCARES_STATICLIB -iquote . -iquote bazel-out/k8-dbg/bin -iquote external/envoy -iquote bazel-out/k8-dbg/bin/external/envoy -iquote external/com_google_absl -iquote bazel-out/k8-dbg/bin/external/com_google_absl -iquote external/com_github_fmtlib_fmt -iquote bazel-out/k8-dbg/bin/external/com_github_fmtlib_fmt -iquote external/boringssl -iquote bazel-out/k8-dbg/bin/external/boringssl -iquote external/envoy_api -iquote bazel-out/k8-dbg/bin/external/envoy_api -iquote external/com_google_googleapis -iquote bazel-out/k8-dbg/bin/external/com_google_googleapis -iquote external/com_google_protobuf -iquote bazel-out/k8-dbg/bin/external/com_google_protobuf -iquote external/com_envoyproxy_protoc_gen_validate -iquote bazel-out/k8-dbg/bin/external/com_envoyproxy_protoc_gen_validate -iquote external/com_googlesource_code_re2 -iquote bazel-out/k8-dbg/bin/external/com_googlesource_code_re2 -iquote external/com_github_cncf_xds -iquote bazel-out/k8-dbg/bin/external/com_github_cncf_xds -iquote external/com_github_gabime_spdlog -iquote bazel-out/k8-dbg/bin/external/com_github_gabime_spdlog -iquote external/com_github_cyan4973_xxhash -iquote bazel-out/k8-dbg/bin/external/com_github_cyan4973_xxhash -iquote external/magic_enum -iquote bazel-out/k8-dbg/bin/external/magic_enum -iquote external/dev_cel -iquote bazel-out/k8-dbg/bin/external/dev_cel -iquote external/com_github_jbeder_yaml_cpp -iquote bazel-out/k8-dbg/bin/external/com_github_jbeder_yaml_cpp -iquote external/com_github_google_quiche -iquote bazel-out/k8-dbg/bin/external/com_github_google_quiche -iquote external/com_googlesource_googleurl -iquote bazel-out/k8-dbg/bin/external/com_googlesource_googleurl -iquote external/com_github_nlohmann_json -iquote bazel-out/k8-dbg/bin/external/com_github_nlohmann_json -iquote external/com_github_openhistogram_libcircllhist -iquote bazel-out/k8-dbg/bin/external/com_github_openhistogram_libcircllhist -iquote external/com_github_grpc_grpc -iquote bazel-out/k8-dbg/bin/external/com_github_grpc_grpc -iquote external/readerwriterqueue -iquote bazel-out/k8-dbg/bin/external/readerwriterqueue -iquote external/com_github_google_tcmalloc -iquote bazel-out/k8-dbg/bin/external/com_github_google_tcmalloc -iquote external/com_google_googletest -iquote bazel-out/k8-dbg/bin/external/com_google_googletest -iquote external/com_github_mirror_tclap -iquote bazel-out/k8-dbg/bin/external/com_github_mirror_tclap -iquote external/bazel_tools -iquote bazel-out/k8-dbg/bin/external/bazel_tools -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/protobuf -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/internal_visibility -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/port -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/protobuf_lite -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/arena -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/arena_align -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/stubs/_virtual_includes/lite -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/arena_allocation_policy -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/arena_cleanup -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/string_block -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/endian -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/varint_shuffle -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/io/_virtual_includes/io -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/io/_virtual_includes/io_win32 -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/third_party/utf8_range/_virtual_includes/utf8_validity -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/third_party/utf8_range/_virtual_includes/utf8_range -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/io/_virtual_includes/gzip_stream -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/stubs/_virtual_includes/stubs -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/io/_virtual_includes/printer -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/io/_virtual_includes/zero_copy_sink -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/io/_virtual_includes/tokenizer -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/any_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/descriptor_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/duration_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/empty_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/struct_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/timestamp_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/wrappers_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/protobuf_layering_check_legacy -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/api_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/source_context_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/type_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/field_mask_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/compiler/_virtual_includes/importer -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/util/_virtual_includes/delimited_message_util -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/util/_virtual_includes/differencer -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/util/_virtual_includes/field_mask_util -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/util/_virtual_includes/json_util -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/json/_virtual_includes/json -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/json/_virtual_includes/parser -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/json/_virtual_includes/descriptor_traits -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/json/_virtual_includes/lexer -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/json/_virtual_includes/message_path -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/json/_virtual_includes/zero_copy_buffered_stream -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/json/_virtual_includes/untyped_message -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/util/_virtual_includes/type_resolver -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/descriptor_legacy -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/json/_virtual_includes/unparser -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/json/_virtual_includes/writer -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/util/_virtual_includes/time_util -Ibazel-out/k8-dbg/bin/external/envoy/source/common/common/_virtual_includes/logger_impl_lib_standard -Ibazel-out/k8-dbg/bin/external/dev_cel/proto/cel/expr/_virtual_includes/checked_proto -Ibazel-out/k8-dbg/bin/external/dev_cel/proto/cel/expr/_virtual_includes/syntax_proto -Ibazel-out/k8-dbg/bin/external/envoy/source/common/common/_virtual_includes/thread_impl_lib_posix -Ibazel-out/k8-dbg/bin/external/envoy/source/common/api/_virtual_includes/os_sys_calls_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/quic/platform/_virtual_includes/quiche_export_impl_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/quic/platform/_virtual_includes/quiche_logging_impl_lib -Ibazel-out/k8-dbg/bin/external/com_github_google_quiche/_virtual_includes/quiche_common_platform_default_quiche_platform_impl_server_stats_impl_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/quic/platform/_virtual_includes/quiche_stack_trace_impl_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/quic/platform/_virtual_includes/quiche_platform_iovec_impl_lib -Ibazel-out/k8-dbg/bin/external/com_github_google_quiche/_virtual_includes/quiche_common_platform_default_quiche_platform_impl_command_line_flags_impl_lib -Ibazel-out/k8-dbg/bin/external/com_github_google_quiche/_virtual_includes/quiche_common_platform_default_quiche_platform_impl_flag_utils_impl_lib -Ibazel-out/k8-dbg/bin/external/com_github_google_quiche/_virtual_includes/quiche_common_platform_default_quiche_platform_impl_reference_counted_impl_lib -Ibazel-out/k8-dbg/bin/external/com_github_google_quiche/_virtual_includes/quiche_common_platform_default_quiche_platform_impl_testvalue_impl_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/quic/platform/_virtual_includes/quic_base_impl_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/quic/platform/_virtual_includes/quiche_flags_impl_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/quic/platform/_virtual_includes/quiche_mem_slice_impl_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/quic/platform/_virtual_includes/quiche_time_utils_impl_lib -Ibazel-out/k8-dbg/bin/external/com_github_google_quiche/_virtual_includes/quiche_common_platform_default_quiche_platform_impl_client_stats_impl_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/event/_virtual_includes/dispatcher_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/event/_virtual_includes/signal_impl_lib_posix -Ibazel-out/k8-dbg/bin/external/envoy/source/common/filesystem/_virtual_includes/watcher_lib -Ibazel-out/k8-dbg/bin/external/envoy/source/common/filesystem/_virtual_includes/directory_iterator_impl_lib_posix -Ibazel-out/k8-dbg/bin/external/envoy/source/common/quic/platform/_virtual_includes/quiche_lower_case_string_impl_lib -Ibazel-out/k8-dbg/bin/external/com_github_google_quiche/_virtual_includes/quiche_common_platform_default_quiche_platform_impl_header_policy_impl_lib -Ibazel-out/k8-dbg/bin/external/com_github_google_quiche/_virtual_includes/quiche_common_platform_default_quiche_platform_impl_googleurl_impl_lib -Ibazel-out/k8-dbg/bin/external/com_github_google_quiche/_virtual_includes/quiche_common_platform_default_quiche_platform_impl_containers_impl_lib -Ibazel-out/k8-dbg/bin/external/readerwriterqueue/_virtual_includes/readerwriterqueue -Ibazel-out/k8-dbg/bin/external/com_google_googleapis -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_imports/any_proto -Ibazel-out/k8-dbg/bin/external/com_github_grpc_grpc -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/protobuf_headers -Ibazel-out/k8-dbg/bin/external/com_github_cncf_xds -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_imports/descriptor_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_imports/duration_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_imports/empty_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_imports/struct_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_imports/timestamp_proto -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src/google/protobuf/_virtual_imports/wrappers_proto -Ibazel-out/k8-dbg/bin/external/com_envoyproxy_protoc_gen_validate -Ibazel-out/k8-dbg/bin/external/envoy_api -Ibazel-out/k8-dbg/bin/external/dev_cel/proto/cel/expr/_virtual_imports/checked_proto -Ibazel-out/k8-dbg/bin/external/dev_cel/proto/cel/expr/_virtual_imports/syntax_proto -Ibazel-out/k8-dbg/bin/external/envoy/source/common/filesystem/_virtual_includes/filesystem_impl_lib_posix -Ibazel-out/k8-dbg/bin/external/com_google_protobuf/src -isystem external/com_github_fmtlib_fmt/include -isystem bazel-out/k8-dbg/bin/external/com_github_fmtlib_fmt/include -isystem bazel-out/k8-dbg/bin/openssh/include -isystem bazel-out/k8-dbg/bin/openssh/include/openssh -isystem external/boringssl/include -isystem bazel-out/k8-dbg/bin/external/boringssl/include -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/foreign_cc/zlib/include -isystem external/com_github_gabime_spdlog/include -isystem bazel-out/k8-dbg/bin/external/com_github_gabime_spdlog/include -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/foreign_cc/event/include -isystem external/magic_enum/include -isystem bazel-out/k8-dbg/bin/external/magic_enum/include -isystem external/com_github_jbeder_yaml_cpp/include -isystem bazel-out/k8-dbg/bin/external/com_github_jbeder_yaml_cpp/include -isystem external/envoy/bazel/external/http_parser -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/external/http_parser -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/foreign_cc/liburing/include -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/foreign_cc/nghttp2/include -isystem external/com_github_nlohmann_json/include -isystem bazel-out/k8-dbg/bin/external/com_github_nlohmann_json/include -isystem external/com_github_openhistogram_libcircllhist/src -isystem bazel-out/k8-dbg/bin/external/com_github_openhistogram_libcircllhist/src -isystem external/com_google_googletest/googlemock -isystem bazel-out/k8-dbg/bin/external/com_google_googletest/googlemock -isystem external/com_google_googletest/googlemock/include -isystem bazel-out/k8-dbg/bin/external/com_google_googletest/googlemock/include -isystem external/com_google_googletest/googletest -isystem bazel-out/k8-dbg/bin/external/com_google_googletest/googletest -isystem external/com_google_googletest/googletest/include -isystem bazel-out/k8-dbg/bin/external/com_google_googletest/googletest/include -isystem bazel-out/k8-dbg/bin/external/envoy/bazel/foreign_cc/ares/include -isystem external/com_github_grpc_grpc/include -isystem bazel-out/k8-dbg/bin/external/com_github_grpc_grpc/include -isystem external/com_github_grpc_grpc/src/core/ext/upb-gen -isystem bazel-out/k8-dbg/bin/external/com_github_grpc_grpc/src/core/ext/upb-gen -isystem external/com_github_grpc_grpc/src/core/ext/upbdefs-gen -isystem bazel-out/k8-dbg/bin/external/com_github_grpc_grpc/src/core/ext/upbdefs-gen -isystem external/com_github_grpc_grpc/third_party/address_sorting/include -isystem bazel-out/k8-dbg/bin/external/com_github_grpc_grpc/third_party/address_sorting/include -isystem external/com_github_grpc_grpc/third_party/xxhash -isystem bazel-out/k8-dbg/bin/external/com_github_grpc_grpc/third_party/xxhash -isystem external/com_github_mirror_tclap/include -isystem bazel-out/k8-dbg/bin/external/com_github_mirror_tclap/include -DABSL_MIN_LOG_LEVEL=4 -Wno-deprecated-declarations -fdebug-types-section -fPIC -Wno-error=unused-command-line-argument -Wno-nullability-completeness -std=c++20 -fsized-deallocation -std=c++23 -Wall -Wextra -Werror -Wnon-virtual-dtor -Woverloaded-virtual -Wold-style-cast -Wformat -Wformat-security -Wvla -Wno-deprecated-declarations -Wno-missing-designated-field-initializers -Wreturn-type -ggdb3 -fno-limit-debug-info -Wgnu-conditional-omitted-operand -Wc++2a-extensions -Wrange-loop-analysis -DTCMALLOC -DENVOY_OBJECT_TRACE_ON_DUMP -DENVOY_HOT_RESTART -DENVOY_NGHTTP2 -DENVOY_ADMIN_HTML -DENVOY_STATIC_EXTENSION_REGISTRATION -DENVOY_GOOGLE_GRPC -DENVOY_HANDLE_SIGNALS -no-canonical-prefixes -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -c -o bazel-out/k8-dbg/bin/test/extensions/filters/network/ssh/_objs/reverse_tunnel_test/reverse_tunnel_test.pic.o -ferror-limit=0 -isystem /usr/lib/llvm-19/bin/../include/c++/v1 -isystem /usr/local/include -isystem /usr/include/x86_64-linux-gnu -isystem /usr/include --target=x86_64-pc-linux-gnu -resource-dir=/home/ubuntu/.vscode-server-insiders/data/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/21.1.0/clangd_21.1.0/lib/clang/21 -- /home/ubuntu/envoy-custom/test/extensions/filters/network/ssh/reverse_tunnel_test.cc
  Version: 535

It seems to be triggered by line 129 ASSERT_EQ(200, response->headers().Status()); (I had just written this when the crash occurred). If this line is commented out, clangd does not crash.

clangd version 21.1.0 (https://github.com/llvm/llvm-project 3623fe6)
Features: linux+grpc
Platform: x86_64-unknown-linux-gnu

Metadata

Metadata

Assignees

No one assigned

    Labels

    clangdcrashPrefer [crash-on-valid] or [crash-on-invalid]

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions