[llvm-bugs] [Bug 33313] New: Segfault when compiling Unreal Engine 4

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 5 08:02:49 PDT 2017


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

            Bug ID: 33313
           Summary: Segfault when compiling Unreal Engine 4
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: krzysio.kurek at wp.pl
                CC: llvm-bugs at lists.llvm.org

I tried to compile UE4 Editor on Linux, and while running the last script it
started spewing out sigfaults, asking me in all caps to please report it here.
So here I am.

The source files are too big to add as an attachment here, so here's a dropbox
link to the tarball with those files:
https://www.dropbox.com/s/a5kb45o0sxc8u57/bugreport.tar.gz?dl=0

Paste of console output:

#0 0x00007f221ef24488 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib/llvm-4.0/bin/../lib/libLLVM-4.0.so.1+0x6ee488)
#1 0x00007f221ef2256e llvm::sys::RunSignalHandlers()
(/usr/lib/llvm-4.0/bin/../lib/libLLVM-4.0.so.1+0x6ec56e)
#2 0x00007f221ef226aa (/usr/lib/llvm-4.0/bin/../lib/libLLVM-4.0.so.1+0x6ec6aa)
#3 0x00007f22217a2670 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x11670)
#4 0x0000562f5499d047 clang::ASTContext::getASTRecordLayout(clang::RecordDecl
const*) const (/usr/lib/llvm-4.0/bin/clang+0x1638047)
#5 0x0000562f5499d5b8 clang::ASTContext::getASTRecordLayout(clang::RecordDecl
const*) const (/usr/lib/llvm-4.0/bin/clang+0x16385b8)
#6 0x0000562f54931a94 (/usr/lib/llvm-4.0/bin/clang+0x15cca94)
#7 0x0000562f54932055 (/usr/lib/llvm-4.0/bin/clang+0x15cd055)
#8 0x0000562f54932dd7 (/usr/lib/llvm-4.0/bin/clang+0x15cddd7)
#9 0x0000562f549315cc (/usr/lib/llvm-4.0/bin/clang+0x15cc5cc)
#10 0x0000562f5494befa clang::Expr::EvaluateAsInitializer(clang::APValue&,
clang::ASTContext const&, clang::VarDecl const*,
llvm::SmallVectorImpl<std::pair<clang::SourceLocation,
clang::PartialDiagnostic> >&) const (/usr/lib/llvm-4.0/bin/clang+0x15e6efa)
#11 0x0000562f548d1821
clang::VarDecl::evaluateValue(llvm::SmallVectorImpl<std::pair<clang::SourceLocation,
clang::PartialDiagnostic> >&) const (/usr/lib/llvm-4.0/bin/clang+0x156c821)
#12 0x0000562f548d19ab clang::VarDecl::evaluateValue() const
(/usr/lib/llvm-4.0/bin/clang+0x156c9ab)
#13 0x0000562f548490e8 clang::ASTContext::DeclMustBeEmitted(clang::Decl const*)
(/usr/lib/llvm-4.0/bin/clang+0x14e40e8)
#14 0x0000562f53f4587a (/usr/lib/llvm-4.0/bin/clang+0xbe087a)
#15 0x0000562f53f6e8f0 clang::ASTReader::ReadDeclRecord(unsigned int)
(/usr/lib/llvm-4.0/bin/clang+0xc098f0)
#16 0x0000562f53f2d91d clang::ASTReader::GetDecl(unsigned int)
(/usr/lib/llvm-4.0/bin/clang+0xbc891d)
#17 0x0000562f53f2df07 clang::ASTReader::PassInterestingDeclsToConsumer()
(/usr/lib/llvm-4.0/bin/clang+0xbc8f07)
#18 0x0000562f53f2dfe5
clang::ASTReader::StartTranslationUnit(clang::ASTConsumer*)
(/usr/lib/llvm-4.0/bin/clang+0xbc8fe5)
#19 0x0000562f53e5942d clang::ParseAST(clang::Sema&, bool, bool)
(/usr/lib/llvm-4.0/bin/clang+0xaf442d)
#20 0x0000562f53c1190e clang::FrontendAction::Execute()
(/usr/lib/llvm-4.0/bin/clang+0x8ac90e)
#21 0x0000562f53be26f6
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/lib/llvm-4.0/bin/clang+0x87d6f6)
#22 0x0000562f53c93cd3
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/lib/llvm-4.0/bin/clang+0x92ecd3)
#23 0x0000562f538a84d8 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/lib/llvm-4.0/bin/clang+0x5434d8)
#24 0x0000562f53899576 main (/usr/lib/llvm-4.0/bin/clang+0x534576)
#25 0x00007f221d9b53f1 __libc_start_main
/build/glibc-cxyGtm/glibc-2.24/csu/../csu/libc-start.c:325:0
#26 0x0000562f538a672a _start (/usr/lib/llvm-4.0/bin/clang+0x54172a)

-- 
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/20170605/7fb139fe/attachment.html>


More information about the llvm-bugs mailing list