[llvm-bugs] [Bug 52453] New: Crash report when using AFL

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 9 12:05:32 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=52453

            Bug ID: 52453
           Summary: Crash report when using AFL
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C
          Assignee: unassignedclangbugs at nondot.org
          Reporter: harry_lockyer at tutanota.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Stack dump:
0.      Program arguments: /usr/lib/llvm-9/bin/clang -cc1 -triple
x86_64-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-discard-value-names -main-file-name zipf_distribution_test.cc
-mrelocation-model static -mthread-model posix -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-dwarf-column-info -debug-info-kind=limited -dwarf-version=4
-debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file
/home/harry/fuzz/abseil-cpp/absl/random/CMakeFiles/absl_random_zipf_distribution_test.dir/zipf_distribution_test.cc.gcno
-resource-dir /usr/lib/llvm-9/lib/clang/9.0.1 -isystem
/home/harry/fuzz/abseil-cpp/googletest-src/googlemock/include -isystem
/home/harry/fuzz/abseil-cpp/googletest-src/googlemock -isystem
/home/harry/fuzz/abseil-cpp/googletest-src/googletest/include -isystem
/home/harry/fuzz/abseil-cpp/googletest-src/googletest -I
/home/harry/fuzz/abseil-cpp -D NOMINMAX -D __AFL_HAVE_MANUAL_CONTROL=1 -D
__AFL_COMPILER=1 -D FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION=1 -D
__AFL_LOOP(_A)=({ static volatile char *_B __attribute__((used));  _B =
(char*)"##SIG_AFL_PERSISTENT##"; __attribute__((visibility("default"))) int
_L(unsigned int) __asm__("__afl_persistent_loop"); _L(_A); }) -D
__AFL_INIT()=do { static volatile char *_A __attribute__((used));  _A =
(char*)"##SIG_AFL_DEFER_FORKSRV##"; __attribute__((visibility("default"))) void
_I(void) __asm__("__afl_manual_init"); _I(); } while (0) -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9 -internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/lib/llvm-9/lib/clang/9.0.1/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O3 -Wall -Wextra -Wcast-qual
-Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion
-Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum
-Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion
-Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign
-Wshadow-all -Wstring-conversion -Wtautological-overlap-compare -Wundef
-Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs
-Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion
-Wno-implicit-float-conversion -Wno-implicit-int-float-conversion
-Wno-implicit-int-conversion -Wno-shorten-64-to-32 -Wno-sign-conversion
-Wno-unknown-warning-option -Wno-c99-extensions -Wno-deprecated-declarations
-Wno-missing-noreturn -Wno-missing-prototypes
-Wno-missing-variable-declarations -Wno-null-conversion -Wno-shadow
-Wno-shift-sign-overflow -Wno-sign-compare -Wno-unused-function
-Wno-unused-member-function -Wno-unused-parameter -Wno-unused-private-field
-Wno-unused-template -Wno-used-but-marked-unused
-Wno-zero-as-null-pointer-constant -Wno-gnu-zero-variadic-macro-arguments
-std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir
/home/harry/fuzz/abseil-cpp/absl/random -ferror-limit 19 -fmessage-length 0
-funroll-loops -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-load /usr/lib/afl/afl-llvm-pass.so -faddrsig -o
CMakeFiles/absl_random_zipf_distribution_test.dir/zipf_distribution_test.cc.o
-x c++ /home/harry/fuzz/abseil-cpp/absl/random/zipf_distribution_test.cc 
1.     
/home/harry/fuzz/abseil-cpp/absl/random/internal/salted_seed_seq.h:110:66:
current parser token ')'
2.     
/home/harry/fuzz/abseil-cpp/absl/random/internal/salted_seed_seq.h:32:1:
parsing namespace 'absl'
3.     
/home/harry/fuzz/abseil-cpp/absl/random/internal/salted_seed_seq.h:34:1:
parsing namespace 'absl::random_internal'
4.     
/home/harry/fuzz/abseil-cpp/absl/random/internal/salted_seed_seq.h:45:1:
parsing struct/union/class body 'absl::random_internal::SaltedSeedSeq'
5.     
/home/harry/fuzz/abseil-cpp/absl/random/internal/salted_seed_seq.h:108:57:
parsing function body
'absl::random_internal::SaltedSeedSeq::generate_contiguous'
6.     
/home/harry/fuzz/abseil-cpp/absl/random/internal/salted_seed_seq.h:108:57: in
compound statement ('{}')
7.      /home/harry/fuzz/abseil-cpp/absl/types/optional.h:119:7: instantiating
class definition 'absl::optional<unsigned int>'
8.      /home/harry/fuzz/abseil-cpp/absl/types/internal/optional.h:177:7:
instantiating class definition 'absl::optional_internal::optional_data<unsigned
int, true>'
9.      /home/harry/fuzz/abseil-cpp/absl/types/internal/optional.h:137:7:
instantiating class definition
'absl::optional_internal::optional_data_base<unsigned int>'
 #0 0x00007f1c0b49657f llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib/x86_64-linux-gnu/libLLVM-9.so.1+0xa8c57f)
 #1 0x00007f1c0b494990 llvm::sys::RunSignalHandlers()
(/usr/lib/x86_64-linux-gnu/libLLVM-9.so.1+0xa8a990)
 #2 0x00007f1c0b496981 (/usr/lib/x86_64-linux-gnu/libLLVM-9.so.1+0xa8c981)
 #3 0x00007f1c110963c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
 #4 0x00007f1c0fa76f99
clang::Sema::CheckInheritingConstructorUsingDecl(clang::UsingDecl*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0xe1df99)
 #5 0x00007f1c0fa737ee clang::Sema::BuildUsingDeclaration(clang::Scope*,
clang::AccessSpecifier, clang::SourceLocation, bool, clang::SourceLocation,
clang::CXXScopeSpec&, clang::DeclarationNameInfo, clang::SourceLocation,
clang::ParsedAttributesView const&, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0xe1a7ee)
 #6 0x00007f1c0fde5fc4 clang::Decl*
clang::TemplateDeclInstantiator::instantiateUnresolvedUsingDecl<clang::UnresolvedUsingValueDecl>(clang::UnresolvedUsingValueDecl*,
bool) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x118cfc4)
 #7 0x00007f1c0fdb5e63 clang::Sema::InstantiateClass(clang::SourceLocation,
clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x115ce63)
 #8 0x00007f1c0fdb755d
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x115e55d)
 #9 0x00007f1c0fe1a047
clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x11c1047)
#10 0x00007f1c0fe1964f clang::Sema::RequireCompleteType(clang::SourceLocation,
clang::QualType, clang::Sema::TypeDiagnoser&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x11c064f)
#11 0x00007f1c0fa4e1b8 clang::Sema::CheckBaseSpecifier(clang::CXXRecordDecl*,
clang::SourceRange, bool, clang::AccessSpecifier, clang::TypeSourceInfo*,
clang::SourceLocation) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0xdf51b8)
#12 0x00007f1c0fdb5840 clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x115c840)
#13 0x00007f1c0fdb5cf3 clang::Sema::InstantiateClass(clang::SourceLocation,
clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x115ccf3)
#14 0x00007f1c0fdb755d
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x115e55d)
#15 0x00007f1c0fe1a047
clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x11c1047)
#16 0x00007f1c0fe1964f clang::Sema::RequireCompleteType(clang::SourceLocation,
clang::QualType, clang::Sema::TypeDiagnoser&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x11c064f)
#17 0x00007f1c0fa4e1b8 clang::Sema::CheckBaseSpecifier(clang::CXXRecordDecl*,
clang::SourceRange, bool, clang::AccessSpecifier, clang::TypeSourceInfo*,
clang::SourceLocation) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0xdf51b8)
#18 0x00007f1c0fdb5840 clang::Sema::SubstBaseSpecifiers(clang::CXXRecordDecl*,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x115c840)
#19 0x00007f1c0fdb5cf3 clang::Sema::InstantiateClass(clang::SourceLocation,
clang::CXXRecordDecl*, clang::CXXRecordDecl*,
clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x115ccf3)
#20 0x00007f1c0fdb755d
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind,
bool) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x115e55d)
#21 0x00007f1c0fe1a047
clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType,
clang::Sema::TypeDiagnoser*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x11c1047)
#22 0x00007f1c0fe1964f clang::Sema::RequireCompleteType(clang::SourceLocation,
clang::QualType, clang::Sema::TypeDiagnoser&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x11c064f)
#23 0x00007f1c0faf026b clang::Sema::CheckCallReturnType(clang::QualType,
clang::SourceLocation, clang::CallExpr*, clang::FunctionDecl*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0xe9726b)
#24 0x00007f1c0faef173 clang::Sema::BuildResolvedCallExpr(clang::Expr*,
clang::NamedDecl*, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool, clang::CallExpr::ADLCallKind)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0xe96173)
#25 0x00007f1c0fada112 clang::Sema::BuildCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0xe81112)
#26 0x00007f1c0faee718 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0xe95718)
#27 0x00007f1c0f4054ee
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*,
true>) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7ac4ee)
#28 0x00007f1c0f40782f clang::Parser::ParseCastExpression(bool, bool, bool&,
clang::Parser::TypeCastState, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7ae82f)
#29 0x00007f1c0f40d20a clang::Parser::ParseCastExpression(bool, bool, bool&,
clang::Parser::TypeCastState, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7b420a)
#30 0x00007f1c0f4032a1
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7aa2a1)
#31 0x00007f1c0f3de78f
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x78578f)
#32 0x00007f1c0f3dc814 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&,
clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x783814)
#33 0x00007f1c0f3d8710
clang::Parser::ParseSimpleDeclaration(clang::DeclaratorContext,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, bool,
clang::Parser::ForRangeInit*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x77f710)
#34 0x00007f1c0f3d82ba
clang::Parser::ParseDeclaration(clang::DeclaratorContext,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x77f2ba)
#35 0x00007f1c0f44a63d
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*,
clang::Parser::ParsedAttributesWithRange&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7f163d)
#36 0x00007f1c0f44a19a
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7f119a)
#37 0x00007f1c0f451800 clang::Parser::ParseCompoundStatementBody(bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7f8800)
#38 0x00007f1c0f45250d clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7f950d)
#39 0x00007f1c0f3cd57e
clang::Parser::ParseLexedMethodDef(clang::Parser::LexedMethod&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x77457e)
#40 0x00007f1c0f3cc68e
clang::Parser::ParseLexedMethodDefs(clang::Parser::ParsingClass&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x77368e)
#41 0x00007f1c0f3f7eb9
clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation,
clang::SourceLocation, clang::Parser::ParsedAttributesWithRange&, unsigned int,
clang::Decl*) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x79eeb9)
#42 0x00007f1c0f3f57dd
clang::Parser::ParseClassSpecifier(clang::tok::TokenKind,
clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo
const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext,
clang::Parser::ParsedAttributesWithRange&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x79c7dd)
#43 0x00007f1c0f3d8c06
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&,
clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier,
clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x77fc06)
#44 0x00007f1c0f458ab0
clang::Parser::ParseSingleDeclarationAfterTemplate(clang::DeclaratorContext,
clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&,
clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7ffab0)
#45 0x00007f1c0f457ff6
clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext,
clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7feff6)
#46 0x00007f1c0f457a04
clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext,
clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7fea04)
#47 0x00007f1c0f3d8217
clang::Parser::ParseDeclaration(clang::DeclaratorContext,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x77f217)
#48 0x00007f1c0f4675bd
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x80e5bd)
#49 0x00007f1c0f3ef38a
clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo,
4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&,
clang::BalancedDelimiterTracker&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x79638a)
#50 0x00007f1c0f3eef6d clang::Parser::ParseNamespace(clang::DeclaratorContext,
clang::SourceLocation&, clang::SourceLocation)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x795f6d)
#51 0x00007f1c0f3d8311
clang::Parser::ParseDeclaration(clang::DeclaratorContext,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x77f311)
#52 0x00007f1c0f4675bd
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x80e5bd)
#53 0x00007f1c0f3ef38a
clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo,
4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&,
clang::BalancedDelimiterTracker&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x79638a)
#54 0x00007f1c0f3eef6d clang::Parser::ParseNamespace(clang::DeclaratorContext,
clang::SourceLocation&, clang::SourceLocation)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x795f6d)
#55 0x00007f1c0f3d8311
clang::Parser::ParseDeclaration(clang::DeclaratorContext,
clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x77f311)
#56 0x00007f1c0f4675bd
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) (/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x80e5bd)
#57 0x00007f1c0f4661b2
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x80d1b2)
#58 0x00007f1c0f3c95cd clang::ParseAST(clang::Sema&, bool, bool)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x7705cd)
#59 0x00007f1c1062d3f8 clang::FrontendAction::Execute()
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x19d43f8)
#60 0x00007f1c105ecfb0
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x1993fb0)
#61 0x00007f1c1068fdc0
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/lib/x86_64-linux-gnu/libclang-cpp.so.9+0x1a36dc0)
#62 0x00000000004a3f6b cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/lib/llvm-9/bin/clang+0x4a3f6b)
#63 0x00000000004a2291 main (/usr/lib/llvm-9/bin/clang+0x4a2291)
#64 0x00007f1c0a4f10b3 __libc_start_main
/build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:342:3
#65 0x000000000049f70e _start (/usr/lib/llvm-9/bin/clang+0x49f70e)
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 9.0.1-12 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-9/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source,
and associated run script.
clang: note: diagnostic msg:

-- 
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/20211109/ba7a2025/attachment-0001.html>


More information about the llvm-bugs mailing list