[llvm-bugs] [Bug 50599] New: Crash in llvm::DwarfDebug::finishEntityDefinitions()
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jun 7 02:17:05 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50599
Bug ID: 50599
Summary: Crash in llvm::DwarfDebug::finishEntityDefinitions()
Product: libraries
Version: 12.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: DebugInfo
Assignee: unassignedbugs at nondot.org
Reporter: mhochsteger at cerbsim.com
CC: jdevlieghere at apple.com, keith.walker at arm.com,
llvm-bugs at lists.llvm.org,
paul_robinson at playstation.sony.com
Created attachment 24912
--> https://bugs.llvm.org/attachment.cgi?id=24912&action=edit
Source code and call script (as generated by clang)
Stack dump:
0. Program arguments: /usr/bin/clang++ -O2 -g -fPIC -std=c++17
-Wno-undefined-var-template -fsized-deallocation -faligned-allocation
-march=native -DHAVE_CXA_DEMANGLE -DHAVE_DLFCN_H -DHAVE_NETGEN_SOURCES -DLAPACK
-DNETGEN_ENABLE_CHECK_RANGE -DNETGEN_PYTHON -DNETGEN_TRACE_MEMORY -DNGS_PYTHON
-DNG_PYTHON -DTCL -DUSE_PARDISO -DUSE_TIMEOFDAY -DUSE_UMFPACK -Dngfem_EXPORTS
-I/home/mhochsteger/src/ngsolve/fem -I/home/mhochsteger/build/ngsolve/ngsolve
-I/home/mhochsteger/src/ngsolve/include
-I/home/mhochsteger/intel/oneapi/mkl/latest/include -I/usr/include/python3.9
-isystem /home/mhochsteger/install/ngs_clang/include/include -isystem
/home/mhochsteger/install/ngs_clang/include -DNDEBUG -DMAX_SYS_DIM=3 -c -MD -MT
fem/CMakeFiles/ngfem.dir/hdivdivfe.cpp.o -MF
CMakeFiles/ngfem.dir/hdivdivfe.cpp.o.d -fcolor-diagnostics -o
CMakeFiles/ngfem.dir/hdivdivfe.cpp.o
/home/mhochsteger/src/ngsolve/fem/hdivdivfe.cpp
1. <eof> parser at end of file
2. Code generation
#0 0x00007fbdeb6a3643 (/usr/bin/../lib/libLLVM-12.so+0xb48643)
#1 0x00007fbdeb6a11b4 llvm::sys::CleanupOnSignal(unsigned long)
(/usr/bin/../lib/libLLVM-12.so+0xb461b4)
#2 0x00007fbdeb5b21e9 (/usr/bin/../lib/libLLVM-12.so+0xa571e9)
#3 0x00007fbdea7b5da0 __restore_rt (/usr/bin/../lib/libc.so.6+0x3cda0)
#4 0x00007fbdec03eaf0 llvm::DIE::getUnitDie() const
(/usr/bin/../lib/libLLVM-12.so+0x14e3af0)
#5 0x00007fbdec05ff3d llvm::DwarfDebug::finishEntityDefinitions()
(/usr/bin/../lib/libLLVM-12.so+0x1504f3d)
#6 0x00007fbdec074456 llvm::DwarfDebug::finalizeModuleInfo()
(/usr/bin/../lib/libLLVM-12.so+0x1519456)
#7 0x00007fbdec07c130 llvm::DwarfDebug::endModule()
(/usr/bin/../lib/libLLVM-12.so+0x1521130)
#8 0x00007fbdec027026 llvm::AsmPrinter::doFinalization(llvm::Module&)
(/usr/bin/../lib/libLLVM-12.so+0x14cc026)
#9 0x00007fbdeb7f467d llvm::FPPassManager::doFinalization(llvm::Module&)
(/usr/bin/../lib/libLLVM-12.so+0xc9967d)
#10 0x00007fbdeb8012b8 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/bin/../lib/libLLVM-12.so+0xca62b8)
#11 0x00007fbdf268d173 (/usr/bin/../lib/libclang-cpp.so.12+0x1898173)
#12 0x00007fbdf268f035 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> >)
(/usr/bin/../lib/libclang-cpp.so.12+0x189a035)
#13 0x00007fbdf2a0c5e2 (/usr/bin/../lib/libclang-cpp.so.12+0x1c175e2)
#14 0x00007fbdf172c659 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/bin/../lib/libclang-cpp.so.12+0x937659)
#15 0x00007fbdf3177249 clang::FrontendAction::Execute()
(/usr/bin/../lib/libclang-cpp.so.12+0x2382249)
#16 0x00007fbdf310e54e
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/bin/../lib/libclang-cpp.so.12+0x231954e)
#17 0x00007fbdf31f7929
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/bin/../lib/libclang-cpp.so.12+0x2402929)
#18 0x00005562f91cd8de cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/bin/clang+++0x128de)
#19 0x00005562f91caee8 (/usr/bin/clang+++0xfee8)
#20 0x00007fbdf2ddffd5 (/usr/bin/../lib/libclang-cpp.so.12+0x1feafd5)
#21 0x00007fbdeb5b22f3
llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>)
(/usr/bin/../lib/libLLVM-12.so+0xa572f3)
#22 0x00007fbdf2de0380 (/usr/bin/../lib/libclang-cpp.so.12+0x1feb380)
#23 0x00007fbdf2db4298
clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&,
clang::driver::Command const*&) const
(/usr/bin/../lib/libclang-cpp.so.12+0x1fbf298)
#24 0x00007fbdf2db4d29
clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&,
llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) const
(/usr/bin/../lib/libclang-cpp.so.12+0x1fbfd29)
#25 0x00007fbdf2dc4c5a
clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&,
llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&)
(/usr/bin/../lib/libclang-cpp.so.12+0x1fcfc5a)
#26 0x00005562f91c8c13 main (/usr/bin/clang+++0xdc13)
#27 0x00007fbdea7a0b25 __libc_start_main (/usr/bin/../lib/libc.so.6+0x27b25)
#28 0x00005562f91ca86e _start (/usr/bin/clang+++0xf86e)
clang-12: error: clang frontend command failed with exit code 139 (use -v to
see invocation)
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang-12: 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/20210607/d9a047c9/attachment-0001.html>
More information about the llvm-bugs
mailing list