[llvm-bugs] [Bug 24973] New: error: unable to execute command: Segmentation fault

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 28 09:19:09 PDT 2015


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

            Bug ID: 24973
           Summary: error: unable to execute command: Segmentation fault
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gw.fossdev at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Compilation fails with a segfault. The offending preprocessed code, its calls
script and the stack trace follow: 



#0 0x7f4a160eaa07 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/bin/../lib64/libLLVMSupport.so.3.7+0xcaa07)
#1 0x7f4a160e9f61 (/usr/bin/../lib64/libLLVMSupport.so.3.7+0xc9f61)
#2 0x7f4a140c35f0 (/lib64/libc.so.6+0x335f0)
#3 0x7f4a137f1db1 llvm::DIE::generateAbbrev() const
(/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x31db1)
#4 0x7f4a1381e3f2 llvm::DwarfFile::assignAbbrevNumber(llvm::DIE&)
(/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x5e3f2)
#5 0x7f4a1381e737 llvm::DwarfFile::computeSizeAndOffset(llvm::DIE&, unsigned
int) (/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x5e737)
#6 0x7f4a1381e79e llvm::DwarfFile::computeSizeAndOffset(llvm::DIE&, unsigned
int) (/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x5e79e)
#7 0x7f4a1381e79e llvm::DwarfFile::computeSizeAndOffset(llvm::DIE&, unsigned
int) (/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x5e79e)
#8 0x7f4a1381e79e llvm::DwarfFile::computeSizeAndOffset(llvm::DIE&, unsigned
int) (/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x5e79e)
#9 0x7f4a1381e79e llvm::DwarfFile::computeSizeAndOffset(llvm::DIE&, unsigned
int) (/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x5e79e)
#10 0x7f4a1381e83b llvm::DwarfFile::computeSizeAndOffsets()
(/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x5e83b)
#11 0x7f4a1380d2bc llvm::DwarfDebug::finalizeModuleInfo()
(/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x4d2bc)
#12 0x7f4a1381aa60 llvm::DwarfDebug::endModule()
(/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x5aa60)
#13 0x7f4a137e9f74 llvm::AsmPrinter::doFinalization(llvm::Module&)
(/usr/bin/../lib64/../lib64/libLLVMAsmPrinter.so.3.7+0x29f74)
#14 0x7f4a17b7e148 llvm::FPPassManager::doFinalization(llvm::Module&)
(/usr/bin/../lib64/libLLVMCore.so.3.7+0x19e148)
#15 0x7f4a17b88fad llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/bin/../lib64/libLLVMCore.so.3.7+0x1a8fad)
#16 0x7f4a15209ac7 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::StringRef, llvm::Module*, clang::BackendAction,
llvm::raw_pwrite_stream*) (/usr/bin/../lib64/libclangCodeGen.so.3.7+0x79ac7)
#17 0x7f4a153846de (/usr/bin/../lib64/libclangCodeGen.so.3.7+0x1f46de)
#18 0x7f4a107c2933 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/bin/../lib64/../lib64/libclangParse.so.3.7+0x2a933)
#19 0x7f4a15387911 clang::CodeGenAction::ExecuteAction()
(/usr/bin/../lib64/libclangCodeGen.so.3.7+0x1f7911)
#20 0x7f4a14c0b92e clang::FrontendAction::Execute()
(/usr/bin/../lib64/libclangFrontend.so.3.7+0xab92e)
#21 0x7f4a14bdaf51
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/bin/../lib64/libclangFrontend.so.3.7+0x7af51)
#22 0x7f4a1495ab27 clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/bin/../lib64/libclangFrontendTool.so.3.7+0x2b27)
#23 0x410448 cc1_main(llvm::ArrayRef<char const*>, char const*, void*)
(/usr/bin/x86_64-pc-linux-gnu-clang-3.7+0x410448)
#24 0x40baab main (/usr/bin/x86_64-pc-linux-gnu-clang-3.7+0x40baab)
#25 0x7f4a140aff90 __libc_start_main
/usr/src/debug/sys-libs/glibc-2.20-r2/glibc-2.20/csu/libc-start.c:323:0
#26 0x40c3be _start (/usr/bin/x86_64-pc-linux-gnu-clang-3.7+0x40c3be)
Stack dump:
0.    Program arguments: /usr/bin/x86_64-pc-linux-gnu-clang-3.7 -cc1 -triple
x86_64-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier
-main-file-name test_splinetransformpenalty.cc -mrelocation-model static
-mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu bdver2 -target-feature +sse4a
-target-feature -avx512bw -target-feature +cx16 -target-feature +tbm
-target-feature -adx -target-feature +fma4 -target-feature -avx512vl
-target-feature +prfchw -target-feature -bmi2 -target-feature -avx512pf
-target-feature -fsgsbase -target-feature +avx -target-feature -avx512cd
-target-feature -rtm -target-feature +popcnt -target-feature +fma
-target-feature +bmi -target-feature +aes -target-feature -rdrnd
-target-feature +sse4.1 -target-feature +sse4.2 -target-feature -avx2
-target-feature -avx512er -target-feature +sse -target-feature +lzcnt
-target-feature +pclmul -target-feature -avx512f -target-feature +f16c
-target-feature +ssse3 -target-feature +mmx -target-feature +cmov
-target-feature +xop -target-feature -rdseed -target-feature -movbe
-target-feature -hle -target-feature -sha -target-feature +sse2 -target-feature
+sse3 -target-feature -avx512dq -momit-leaf-frame-pointer -g -dwarf-column-info
-coverage-file
/home/gerddie/src/mia2/build-clang/mia/3d/CMakeFiles/test-3d-splinetransformpenalty.dir/test_splinetransformpenalty.cc.o
-resource-dir /usr/bin/../lib/clang/3.7.0 -D BOOST_ALL_DYN_LINK -D
BOOST_FILESYSTEM_VERSION=3 -D HAVE_BLAS -D HAVE_CONFIG_H -I /usr/include/eigen3
-I /usr/include/libxml++-2.6 -I /usr/lib64/libxml++-2.6/include -I
/usr/include/libxml2 -I /usr/include/glibmm-2.4 -I
/usr/lib64/glibmm-2.4/include -I /usr/include/glib-2.0 -I
/usr/lib64/glib-2.0/include -I /usr/include/sigc++-2.0 -I
/usr/lib64/sigc++-2.0/include -I /home/gerddie/src/mia2/build-clang -I
/home/gerddie/src/mia2 -internal-isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 -internal-isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/x86_64-pc-linux-gnu
-internal-isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.7.0/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O2 -Wall -Wextra
-Wdeprecated-declarations -std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/home/gerddie/src/mia2/build-clang/mia/3d -ferror-limit 19 -fmessage-length 139
-fvisibility hidden -funroll-loops -pthread -mstackrealign -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -o
CMakeFiles/test-3d-splinetransformpenalty.dir/test_splinetransformpenalty.cc.o
-x c++ /home/gerddie/src/mia2/mia/3d/test_splinetransformpenalty.cc 
1.    <eof> parser at end of file
2.    Code generation
x86_64-pc-linux-gnu-clang-3.7: error: unable to execute command: Segmentation
fault
x86_64-pc-linux-gnu-clang-3.7: error: clang frontend command failed due to
signal (use -v to see invocation)
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-pc-linux-gnu
Thread model: posix

-- 
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/20150928/101ccb16/attachment-0001.html>


More information about the llvm-bugs mailing list