<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 - Code Generation Failure and Crash"
   href="https://bugs.llvm.org/show_bug.cgi?id=51269">51269</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Code Generation Failure and Crash
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>LLVM Codegen
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jsantiago@fastmail.us
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=25093" name="attach_25093" title="Preprocessed source(s)">attachment 25093</a> <a href="attachment.cgi?id=25093&action=edit" title="Preprocessed source(s)">[details]</a></span>
Preprocessed source(s)

PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: /mnt/share/toolchains/linux-x86_64/clang/bin/clang
-fheinous-gnu-extensions -fstack-check -fstack-protector-all -g
-fno-omit-frame-pointer -fsanitize=memory,undefined
-fsanitize-memory-track-origins -fsanitize-memory-use-after-dtor
-fno-optimize-sibling-calls -fsanitize-recover=all
-fsanitize-blacklist=/mnt/jlsws2/dev/orthrus/master/src/tools/toolchain/sanitizer/inc/ortsanitizer-orthrus-build-clang-sanitizer-memory.blacklist
-DHAVE_CONFIG_H -I.
-I/mnt/jlsws2/dev/orthrus/master/build/centos7-64-sanitizer-clang-memory/build/phase3/speex/orthrus-speex/build/speex/speex-1.2rc1/libspeex
-I..
-I/mnt/jlsws2/dev/orthrus/master/build/centos7-64-sanitizer-clang-memory/build/phase3/speex/orthrus-speex/build/speex/speex-1.2rc1/include
-I../include -I..
-I/mnt/jlsws2/dev/orthrus/master/build/centos7-64-sanitizer-clang-memory/stage/libogg/include
-O3 -g -fPIC -fvisibility=hidden -MT lsp.lo -MD -MP -MF .deps/lsp.Tpo -c
/mnt/jlsws2/dev/orthrus/master/build/centos7-64-sanitizer-clang-memory/build/phase3/speex/orthrus-speex/build/speex/speex-1.2rc1/libspeex/lsp.c
1.      <eof> parser at end of file
2.      Code generation
 #0 0x00007f99476b507d llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0xcfb07d)
 #1 0x00007f99476b2d84 llvm::sys::RunSignalHandlers()
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0xcf8d84)
 #2 0x00007f99475d61c8 CrashRecoverySignalHandler(int)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0xc1c1c8)
 #3 0x00007f9951068630 __restore_rt (/lib64/libpthread.so.0+0xf630)
 #4 0x00007f994800aa30 llvm::DIE::getUnitDie() const
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0x1650a30)
 #5 0x00007f994802993c llvm::DwarfDebug::finishEntityDefinitions()
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0x166f93c)
 #6 0x00007f9948042375 llvm::DwarfDebug::finalizeModuleInfo()
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0x1688375)
 #7 0x00007f99480454b8 llvm::DwarfDebug::endModule()
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0x168b4b8)
 #8 0x00007f9947ff4299 llvm::AsmPrinter::doFinalization(llvm::Module&)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0x163a299)
 #9 0x00007f99477f6b6d llvm::FPPassManager::doFinalization(llvm::Module&)
(.localalias)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0xe3cb6d)
#10 0x00007f9947802bd0 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0xe48bd0)
#11 0x00007f994f00e4af clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout
const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x19404af)
#12 0x00007f994f378a74
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x1caaa74)
#13 0x00007f994e0b2949 clang::ParseAST(clang::Sema&, bool, bool)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x9e4949)
#14 0x00007f994fae4139 clang::FrontendAction::Execute()
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x2416139)
#15 0x00007f994fa7c86b
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x23ae86b)
#16 0x00007f994fb5fd08
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x2491d08)
#17 0x0000555e1061417d cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/mnt/share/toolchains/linux-x86_64/clang/bin/clang+0x1417d)
#18 0x0000555e10611777 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&)
(/mnt/share/toolchains/linux-x86_64/clang/bin/clang+0x11777)
#19 0x00007f994f747d05 void llvm::function_ref<void
()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>
<span class="quote">>, std::__cxx11::basic_string<char, std::char_traits<char>,</span >
std::allocator<char> >*, bool*) const::'lambda'()>(long)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x2079d05)
#20 0x00007f99475d62d3
llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libLLVM-12.so+0xc1c2d3)
#21 0x00007f994f748e55
clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>
<span class="quote">>, std::__cxx11::basic_string<char, std::char_traits<char>,</span >
std::allocator<char> >*, bool*) const (.part.0)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x207ae55)
#22 0x00007f994f71ca57
clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&,
clang::driver::Command const*&) const
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x204ea57)
#23 0x00007f994f71d449
clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&,
llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) const
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x204f449)
#24 0x00007f994f72d129
clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&,
llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&)
(/mnt/share/toolchains/linux-x86_64/toolchains-staged/clang-12.0.1-centos6-64/bin/../lib/libclang-cpp.so.12+0x205f129)
#25 0x0000555e1060f4d4 main
(/mnt/share/toolchains/linux-x86_64/clang/bin/clang+0xf4d4)
#26 0x00007f99460f5555 __libc_start_main (/lib64/libc.so.6+0x22555)
#27 0x0000555e106110ad _start
(/mnt/share/toolchains/linux-x86_64/clang/bin/clang+0x110ad)
clang-12: error: clang frontend command failed with exit code 139 (use -v to
see invocation)
clang version 12.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /mnt/share/toolchains/linux-x86_64/clang/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/lsp-f48f4a.c
clang-12: note: diagnostic msg: /tmp/lsp-f48f4a.sh
clang-12: note: diagnostic msg:</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>