<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - error: unable to execute command: Segmentation fault"
href="https://llvm.org/bugs/show_bug.cgi?id=24973">24973</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>error: unable to execute command: Segmentation fault
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.7
</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>gw.fossdev@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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</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>