Launchpad has imported 3 comments from the remote bug at
http://llvm.org/bugs/show_bug.cgi?id=15326.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-02-21T21:03:54+00:00 Patrik Lundquist wrote:

0  libLLVM-3.2.so.1 0x00007fdd8128cbaf
1  libLLVM-3.2.so.1 0x00007fdd8128d019
2  libpthread.so.0  0x00007fdd80340bd0
3  libLLVM-3.2.so.1 0x00007fdd81124c69 
llvm::FastISel::getRegForValue(llvm::Value const*) + 25
4  libLLVM-3.2.so.1 0x00007fdd81383978
5  libLLVM-3.2.so.1 0x00007fdd81128554 
llvm::FastISel::SelectInstruction(llvm::Instruction const*) + 212
6  libLLVM-3.2.so.1 0x00007fdd81221d1c 
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1292
7  libLLVM-3.2.so.1 0x00007fdd812233d2 
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 626
8  libLLVM-3.2.so.1 0x00007fdd80d02dcf 
llvm::FPPassManager::runOnFunction(llvm::Function&) + 575
9  libLLVM-3.2.so.1 0x00007fdd80d02e13 
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
10 libLLVM-3.2.so.1 0x00007fdd80d02b34 
llvm::MPPassManager::runOnModule(llvm::Module&) + 484
11 libLLVM-3.2.so.1 0x00007fdd80d0644b 
llvm::PassManagerImpl::run(llvm::Module&) + 107
12 clang            0x00000000007253cc 
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions 
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*, 
clang::BackendAction, llvm::raw_ostream*) + 3436
13 clang            0x0000000000723412
14 clang            0x0000000000859bd2 clang::ParseAST(clang::Sema&, bool, 
bool) + 498
15 clang            0x00000000005f50b1 clang::FrontendAction::Execute() + 97
16 clang            0x00000000005dc57a 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 282
17 clang            0x00000000005c5e92 
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1378
18 clang            0x00000000005c0e88 cc1_main(char const**, char const**, 
char const*, void*) + 1160
19 clang            0x00000000005bfd84 main + 7316
20 libc.so.6        0x00007fdd7fa71ea5 __libc_start_main + 245
21 clang            0x00000000005c0889
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 
ring_buffer_test.cc -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.23.1 -momit-leaf-frame-pointer 
-resource-dir /usr/bin/../lib/clang/3.2 -I .. -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/x86_64-linux-gnu/c++/4.7
 -internal-isystem 
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/x86_64-linux-gnu/c++/4.7/x86_64-linux-gnu
 -internal-isystem 
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/x86_64-linux-gnu/c++/4.7/backward
 -internal-isystem 
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/x86_64-linux-gnu/c++/4.7
 -internal-isystem 
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/x86_64-linux-gnu/c++/4.7/x86_64-linux-gnu
 -internal-isystem 
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/x86_64-linux-gnu/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/plu/src/disruptor--/test 
-ferror-limit 19 -fmessage-length 114 -mstackrealign -fobjc-runtime=gcc 
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o 
/tmp/ring_buffer_test-9yiS07.o -x c++ ring_buffer_test.cc 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'ring_buffer_test.cc'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function 
'@_ZNK9disruptor4test16StubEventFactory11NewInstanceERKi'
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~exp5ubuntu2 (tags/RELEASE_32/final) (based on LLVM 
3.2)
Target: x86_64-pc-linux-gnu
Thread model: posix

Reply at:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1131391/comments/4

------------------------------------------------------------------------
On 2013-02-21T21:04:33+00:00 Patrik Lundquist wrote:

Created attachment 10052
associated run script

Reply at:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1131391/comments/5

------------------------------------------------------------------------
On 2013-02-21T21:09:44+00:00 Patrik Lundquist wrote:

Created attachment 10053
preprocessed source

Reply at:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1131391/comments/6


** Changed in: llvm
       Status: Unknown => Confirmed

** Changed in: llvm
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1131391

Title:
  clang crashed with SIGSEGV in llvm::FastISel::getRegForValue()

To manage notifications about this bug go to:
https://bugs.launchpad.net/llvm/+bug/1131391/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to