[llvm-bugs] [Bug 51334] New: [11/12] error: unable to execute command: Segmentation fault (core dumped)

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 3 20:43:23 PDT 2021


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

            Bug ID: 51334
           Summary: [11/12] error: unable to execute command: Segmentation
                    fault (core dumped)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C
          Assignee: unassignedclangbugs at nondot.org
          Reporter: anbu1024.me at gmail.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

$ cat 12.c 

int foo(int x)
{
  return __atomic_is_lock_free(2, x);
}

enum weekday 
{
    Mon, Tues, Wed,  Thurs, Fri, Sat, Sun
};

int bar( enum weekday e )
{
  return __atomic_always_lock_free(2, e);
}

----------------------------------------------------------------

$ clang-1201 --version
clang version 12.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /path-to-llvm/12.0.1/install/bin

----------------------------------------------------------------

$ clang-1201 12.c 
12.c:4:35: warning: incompatible integer to pointer conversion passing 'int' to
parameter of type 'const volatile void *' [-Wint-conversion]
  return __atomic_is_lock_free(2, x);
                                  ^
12.c:14:39: warning: incompatible integer to pointer conversion passing 'enum
weekday' to parameter of type 'const volatile void *' [-Wint-conversion]
  return __atomic_always_lock_free(2, e);
                                      ^
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: /path-to-llvm/12.0.1/install/bin/clang-12 -cc1
-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name 12.c
-mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -tune-cpu generic
-fno-split-dwarf-inlining -debugger-tuning=gdb -resource-dir
/path-to-llvm/12.0.1/install/lib/clang/12.0.1 -internal-isystem
/usr/local/include -internal-isystem
/path-to-llvm/12.0.1/install/lib/clang/12.0.1/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -fdebug-compilation-dir /path-to-code/
-ferror-limit 19 -fgnuc-version=4.2.1 -fcolor-diagnostics -faddrsig -o
/tmp/12-90c2c8.o -x c 12.c
1.      12.c:14:41: current parser token ';'
2.      12.c:13:1: parsing function body 'bar'
3.      12.c:13:1: in compound statement ('{}')
 #0 0x00005630c77d6b01 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x1ccbb01)
 #1 0x00005630c77d48c4 llvm::sys::RunSignalHandlers()
(/path-to-llvm/12.0.1/install/bin/clang-12+0x1cc98c4)
 #2 0x00005630c77d4a3b SignalHandler(int)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x1cc9a3b)
 #3 0x00007f59c03913c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
 #4 0x00005630ca4ebc57 clang::Type::isIncompleteType(clang::NamedDecl**) const
(/path-to-llvm/12.0.1/install/bin/clang-12+0x49e0c57)
 #5 0x00005630ca33c216 (anonymous
namespace)::IntExprEvaluator::VisitBuiltinCallExpr(clang::CallExpr const*,
unsigned int) (/path-to-llvm/12.0.1/install/bin/clang-12+0x4831216)
 #6 0x00005630ca33c310 (anonymous
namespace)::IntExprEvaluator::VisitCallExpr(clang::CallExpr const*)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x4831310)
 #7 0x00005630ca33cb5c clang::StmtVisitorBase<llvm::make_const_ptr, (anonymous
namespace)::IntExprEvaluator, bool>::Visit(clang::Stmt const*)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x4831b5c)
 #8 0x00005630ca33fc56 Evaluate(clang::APValue&, (anonymous
namespace)::EvalInfo&, clang::Expr const*)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x4834c56)
 #9 0x00005630ca347ac9 EvaluateAsRValue((anonymous namespace)::EvalInfo&,
clang::Expr const*, clang::APValue&)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x483cac9)
#10 0x00005630ca34af2a clang::Expr::EvaluateAsRValue(clang::Expr::EvalResult&,
clang::ASTContext const&, bool) const
(/path-to-llvm/12.0.1/install/bin/clang-12+0x483ff2a)
#11 0x00005630c96f5aaa GetExprRange(clang::ASTContext&, clang::Expr const*,
unsigned int, bool, bool) (/path-to-llvm/12.0.1/install/bin/clang-12+0x3beaaaa)
#12 0x00005630c9730b72 CheckImplicitConversion(clang::Sema&, clang::Expr*,
clang::QualType, clang::SourceLocation, bool*, bool)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3c25b72)
#13 0x00005630c97339ad AnalyzeImplicitConversions(clang::Sema&, clang::Expr*,
clang::SourceLocation, bool) (.constprop.0)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3c289ad)
#14 0x00005630c973bde9 clang::Sema::CheckCompletedExpr(clang::Expr*,
clang::SourceLocation, bool)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3c30de9)
#15 0x00005630c9aeebec clang::Sema::ActOnFinishFullExpr(clang::Expr*,
clang::SourceLocation, bool, bool)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3fe3bec)
#16 0x00005630c9d35162 clang::Sema::BuildReturnStmt(clang::SourceLocation,
clang::Expr*) (/path-to-llvm/12.0.1/install/bin/clang-12+0x422a162)
#17 0x00005630c9d363da clang::Sema::ActOnReturnStmt(clang::SourceLocation,
clang::Expr*, clang::Scope*)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x422b3da)
#18 0x00005630c962a238 clang::Parser::ParseReturnStatement()
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3b1f238)
#19 0x00005630c962d54f
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*,
clang::Parser::ParsedAttributesWithRange&)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3b2254f)
#20 0x00005630c962d8cc
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3b228cc)
#21 0x00005630c9636ca1 clang::Parser::ParseCompoundStatementBody(bool)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3b2bca1)
#22 0x00005630c963a7d2 clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3b2f7d2)
#23 0x00005630c9569eca
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3a5eeca)
#24 0x00005630c9597cbf clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&,
clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3a8ccbf)
#25 0x00005630c9564382
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3a59382)
#26 0x00005630c95649b5
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier) (.part.0)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3a599b5)
#27 0x00005630c956e1d0
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) (.localalias)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3a631d0)
#28 0x00005630c956e515
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, bool)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3a63515)
#29 0x00005630c955d749 clang::ParseAST(clang::Sema&, bool, bool)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x3a52749)
#30 0x00005630c8780146 clang::CodeGenAction::ExecuteAction()
(/path-to-llvm/12.0.1/install/bin/clang-12+0x2c75146)
#31 0x00005630c8102c31 clang::FrontendAction::Execute()
(/path-to-llvm/12.0.1/install/bin/clang-12+0x25f7c31)
#32 0x00005630c809f99b
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x259499b)
#33 0x00005630c81d4ae0
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/path-to-llvm/12.0.1/install/bin/clang-12+0x26c9ae0)
#34 0x00005630c66251bb cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/path-to-llvm/12.0.1/install/bin/clang-12+0xb1a1bb)
#35 0x00005630c66229cb ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&)
(/path-to-llvm/12.0.1/install/bin/clang-12+0xb179cb)
#36 0x00005630c65a576e main
(/path-to-llvm/12.0.1/install/bin/clang-12+0xa9a76e)
#37 0x00007f59bfe5f0b3 __libc_start_main
/build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:342:3
#38 0x00005630c662255e _start
(/path-to-llvm/12.0.1/install/bin/clang-12+0xb1755e)
clang-12: error: unable to execute command: Segmentation fault (core dumped)
clang-12: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 12.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /path-to-llvm/12.0.1/install/bin
clang-12: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-12: note: diagnostic msg: /tmp/12-a81362.c
clang-12: note: diagnostic msg: /tmp/12-a81362.sh
clang-12: note: diagnostic msg: 

********************


----------------------------------------------------------------

$ clang-1100 --version
clang version 11.0.0 (https://github.com/llvm/llvm-project.git
0160ad802e899c2922bc9b29564080c22eb0908c)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin

----------------------------------------------------------------


$ clang-1100 12.c 
12.c:4:35: warning: incompatible integer to pointer conversion passing 'int' to
parameter of type 'const volatile void *' [-Wint-conversion]
  return __atomic_is_lock_free(2, x);
                                  ^
12.c:14:39: warning: incompatible integer to pointer conversion passing 'enum
weekday' to parameter of type 'const volatile void *' [-Wint-conversion]
  return __atomic_always_lock_free(2, e);
                                      ^
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments:
/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11
-cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name 12.c
-mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math
-mconstructor-aliases -munwind-tables -target-cpu x86-64
-fno-split-dwarf-inlining -debugger-tuning=gdb -resource-dir
/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/lib/clang/11.0.0
-internal-isystem /usr/local/include -internal-isystem
/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/lib/clang/11.0.0/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-fdebug-compilation-dir /path-to-code/ -ferror-limit 19 -fgnuc-version=4.2.1
-fcolor-diagnostics -faddrsig -o /tmp/12-4f15b7.o -x c 12.c 
1.      12.c:14:41: current parser token ';'
2.      12.c:13:1: parsing function body 'bar'
3.      12.c:13:1: in compound statement ('{}')
 #0 0x00000000022bcf44 PrintStackTraceSignalHandler(void*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x22bcf44)
 #1 0x00000000022bacce llvm::sys::RunSignalHandlers()
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x22bacce)
 #2 0x00000000022bd245 SignalHandler(int)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x22bd245)
 #3 0x00007f2e7777a3c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
 #4 0x000000000451a3e9 clang::Type::isIncompleteType(clang::NamedDecl**) const
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x451a3e9)
 #5 0x00000000043ee57c (anonymous
namespace)::IntExprEvaluator::VisitBuiltinCallExpr(clang::CallExpr const*,
unsigned int)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x43ee57c)
 #6 0x00000000043a8aea Evaluate(clang::APValue&, (anonymous
namespace)::EvalInfo&, clang::Expr const*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x43a8aea)
 #7 0x00000000043ab011 EvaluateAsRValue((anonymous namespace)::EvalInfo&,
clang::Expr const*, clang::APValue&)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x43ab011)
 #8 0x00000000043a6b3d clang::Expr::EvaluateAsRValue(clang::Expr::EvalResult&,
clang::ASTContext const&, bool) const
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x43a6b3d)
 #9 0x0000000003a7c386 GetExprRange(clang::ASTContext&, clang::Expr const*,
unsigned int, bool)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3a7c386)
#10 0x0000000003a76c81 CheckImplicitConversion(clang::Sema&, clang::Expr*,
clang::QualType, clang::SourceLocation, bool*, bool)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3a76c81)
#11 0x0000000003a8d761 AnalyzeImplicitConversions(clang::Sema&, (anonymous
namespace)::AnalyzeImplicitConversionsWorkItem,
llvm::SmallVectorImpl<(anonymous
namespace)::AnalyzeImplicitConversionsWorkItem>&)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3a8d761)
#12 0x0000000003a6bf8a clang::Sema::CheckImplicitConversions(clang::Expr*,
clang::SourceLocation)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3a6bf8a)
#13 0x0000000003a6c9e4 clang::Sema::CheckCompletedExpr(clang::Expr*,
clang::SourceLocation, bool)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3a6c9e4)
#14 0x0000000003d4694b clang::Sema::ActOnFinishFullExpr(clang::Expr*,
clang::SourceLocation, bool, bool)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3d4694b)
#15 0x0000000003f1c276 clang::Sema::BuildReturnStmt(clang::SourceLocation,
clang::Expr*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3f1c276)
#16 0x0000000003f1b798 clang::Sema::ActOnReturnStmt(clang::SourceLocation,
clang::Expr*, clang::Scope*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3f1b798)
#17 0x00000000039cc6e6 clang::Parser::ParseReturnStatement()
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x39cc6e6)
#18 0x00000000039c6e70
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*,
clang::Parser::ParsedAttributesWithRange&)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x39c6e70)
#19 0x00000000039c673e
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x39c673e)
#20 0x00000000039ce191 clang::Parser::ParseCompoundStatementBody(bool)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x39ce191)
#21 0x00000000039cf325 clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x39cf325)
#22 0x0000000003937d48
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3937d48)
#23 0x000000000395077a clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&,
clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x395077a)
#24 0x0000000003936f7d
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3936f7d)
#25 0x0000000003936a65
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3936a65)
#26 0x0000000003935ab6
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3935ab6)
#27 0x0000000003933dff
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, bool)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x3933dff)
#28 0x00000000039300bd clang::ParseAST(clang::Sema&, bool, bool)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x39300bd)
#29 0x00000000029c4727 clang::FrontendAction::Execute()
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x29c4727)
#30 0x00000000029607c1
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x29607c1)
#31 0x0000000002a5d12a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x2a5d12a)
#32 0x00000000009babc7 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x9babc7)
#33 0x00000000009b8eb1 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&)
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x9b8eb1)
#34 0x00000000009b8cb7 main
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x9b8cb7)
#35 0x00007f2e771ef0b3 __libc_start_main
/build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:342:3
#36 0x00000000009b5f4e _start
(/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin/clang-11+0x9b5f4e)
clang-11: error: unable to execute command: Segmentation fault (core dumped)
clang-11: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 11.0.0 (https://github.com/llvm/llvm-project.git
0160ad802e899c2922bc9b29564080c22eb0908c)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/path-to-llvm/11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04/bin
clang-11: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-11: note: diagnostic msg: /tmp/12-9c7bb6.c
clang-11: note: diagnostic msg: /tmp/12-9c7bb6.sh
clang-11: 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/20210804/0533ae86/attachment-0001.html>


More information about the llvm-bugs mailing list