[LLVMbugs] [Bug 15460] New: clang: error: unable to execute command: Segmentation fault
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Mar 6 12:45:02 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=15460
Bug ID: 15460
Summary: clang: error: unable to execute command: Segmentation
fault
Product: clang
Version: 3.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: thamos at email.cz
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Clang fails to compile a file. (Exits with segmantation fault)
Error log:
clang++ -c -g -std=c++11 -MMD -MP -MF
build/Debug/CLang-Linux-x86/DoubleKeyHash.o.d -o
build/Debug/CLang-Linux-x86/DoubleKeyHash.o DoubleKeyHash.cpp
0 libLLVM-3.2.so.1 0x00002abb22e332ff
1 libLLVM-3.2.so.1 0x00002abb22e33769
2 libpthread.so.0 0x00002abb2382acb0
3 libLLVM-3.2.so.1 0x00002abb22686b2d
llvm::ComputeValueVTs(llvm::TargetLowering const&, llvm::Type*,
llvm::SmallVectorImpl<llvm::EVT>&, llvm::SmallVectorImpl<unsigned long>*,
unsigned long) + 29
4 libLLVM-3.2.so.1 0x00002abb22daa8f6
llvm::SelectionDAGBuilder::visitExtractValue(llvm::ExtractValueInst const&) +
166
5 libLLVM-3.2.so.1 0x00002abb22d919b4
llvm::SelectionDAGBuilder::visit(unsigned int, llvm::User const&) + 148
6 libLLVM-3.2.so.1 0x00002abb22db5332
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 50
7 libLLVM-3.2.so.1 0x00002abb22dc80c1
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 49
8 libLLVM-3.2.so.1 0x00002abb22dc88a4
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1860
9 libLLVM-3.2.so.1 0x00002abb22dc9c47
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 423
10 libLLVM-3.2.so.1 0x00002abb228a9edf
llvm::FPPassManager::runOnFunction(llvm::Function&) + 575
11 libLLVM-3.2.so.1 0x00002abb228a9f23
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
12 libLLVM-3.2.so.1 0x00002abb228a9c44
llvm::MPPassManager::runOnModule(llvm::Module&) + 484
13 libLLVM-3.2.so.1 0x00002abb228ad54b
llvm::PassManagerImpl::run(llvm::Module&) + 107
14 clang 0x000000000072536c
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 3436
15 clang 0x00000000007233b2
16 clang 0x0000000000859d5a clang::ParseAST(clang::Sema&, bool,
bool) + 554
17 clang 0x00000000005f51b1 clang::FrontendAction::Execute() + 97
18 clang 0x00000000005dc7ca
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 282
19 clang 0x00000000005c6222
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1378
20 clang 0x00000000005c1228 cc1_main(char const**, char const**,
char const*, void*) + 1160
21 clang 0x00000000005c0104 main + 7316
22 libc.so.6 0x00002abb23f7376d __libc_start_main + 237
23 clang 0x00000000005c0c09
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
DoubleKeyHash.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array
-target-cpu x86-64 -target-linker-version 2.22.90.20120924
-momit-leaf-frame-pointer -g -coverage-file
/home/tomas/NetBeansProjects/Clang_bug/build/Debug/CLang-Linux-x86/DoubleKeyHash.o
-resource-dir /usr/bin/../lib/clang/3.2 -dependency-file
build/Debug/CLang-Linux-x86/DoubleKeyHash.o.d -MT
build/Debug/CLang-Linux-x86/DoubleKeyHash.o -MP -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/x86_64-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/backward
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/x86_64-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.2/include -internal-isystem
/usr/include/clang/3.2/include/ -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /usr/include -std=c++11
-fdeprecated-macro -fdebug-compilation-dir
/home/tomas/NetBeansProjects/Clang_bug -ferror-limit 19 -fmessage-length 0
-mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -o build/Debug/CLang-Linux-x86/DoubleKeyHash.o -x c++
DoubleKeyHash.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'DoubleKeyHash.cpp'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_ZN5drake13DoubleKeyHashC2Ei'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Ubuntu clang version 3.2-1~exp5ubuntu1~quantal1 (tags/RELEASE_32/final) (based
on LLVM 3.2)
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/20130306/6e0d1c34/attachment.html>
More information about the llvm-bugs
mailing list