<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Segfault when compiling Unreal Engine 4"
   href="https://bugs.llvm.org/show_bug.cgi?id=33313">33313</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segfault when compiling Unreal Engine 4
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>4.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>krzysio.kurek@wp.pl
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
<a href="https://www.dropbox.com/s/a5kb45o0sxc8u57/bugreport.tar.gz?dl=0">https://www.dropbox.com/s/a5kb45o0sxc8u57/bugreport.tar.gz?dl=0</a>

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)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>