<html>
    <head>
      <base href="http://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 --- - clang frontend command failed due to signal (possible for pointer to member template arguments)"
   href="http://llvm.org/bugs/show_bug.cgi?id=21063">21063</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang frontend command failed due to signal (possible for pointer to member template arguments)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.4
          </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>C++11
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>14llvm@nospam.scs.stanford.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>0  libLLVM-3.4.so  0x00007f30b0d468b2 llvm::sys::PrintStackTrace(_IO_FILE*) +
50
1  libLLVM-3.4.so  0x00007f30b0d4630c
2  libpthread.so.0 0x00007f30afdae4b0
3  libLLVM-3.4.so  0x00007f30b059bdbd llvm::Value::stripPointerCasts() + 29
4  clang           0x00000000007eaa34
clang::CodeGen::CGDebugInfo::CollectTemplateParams(clang::TemplateParameterList
const*, llvm::ArrayRef<clang::TemplateArgument>, llvm::DIFile) + 1332
5  clang           0x00000000007ebb4a
clang::CodeGen::CGDebugInfo::CollectCXXTemplateParams(clang::ClassTemplateSpecializationDecl
const*, llvm::DIFile) + 90
6  clang           0x00000000007ebebe
clang::CodeGen::CGDebugInfo::CreateLimitedType(clang::RecordType const*) + 814
7  clang           0x00000000007ebff3
clang::CodeGen::CGDebugInfo::getOrCreateLimitedType(clang::RecordType const*,
llvm::DIFile) + 115
8  clang           0x00000000007ed6a1
clang::CodeGen::CGDebugInfo::CreateTypeDefinition(clang::RecordType const*) +
81
9  clang           0x00000000007ede9d
clang::CodeGen::CGDebugInfo::CreateType(clang::RecordType const*) + 189
10 clang           0x00000000007e7578
clang::CodeGen::CGDebugInfo::CreateTypeNode(clang::QualType, llvm::DIFile) +
264
11 clang           0x00000000007e76fb
clang::CodeGen::CGDebugInfo::getOrCreateType(clang::QualType, llvm::DIFile) +
139
12 clang           0x00000000007ec411
clang::CodeGen::CGDebugInfo::getOrCreateRecordType(clang::QualType,
clang::SourceLocation) + 33
13 clang           0x0000000000829797
clang::CodeGen::CodeGenModule::CompleteDIClassType(clang::CXXMethodDecl const*)
+ 87
14 clang           0x00000000008358d6
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 230
15 clang           0x00000000008373ff
clang::CodeGen::CodeGenModule::EmitDeferred() + 127
16 clang           0x0000000000837439 clang::CodeGen::CodeGenModule::Release()
+ 9
17 clang           0x00000000007debf0
18 clang           0x00000000009488c5 clang::ParseAST(clang::Sema&, bool, bool)
+ 821
19 clang           0x000000000067f78a clang::FrontendAction::Execute() + 170
20 clang           0x000000000065e9e5
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 309
21 clang           0x000000000064832c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1564
22 clang           0x0000000000643a48 cc1_main(char const**, char const**, char
const*, void*) + 1208
23 clang           0x0000000000642c24 main + 7332
24 libc.so.6       0x00007f30af4ec000 __libc_start_main + 240
25 clang           0x00000000006433cf
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple x86_64-unknown-linux-gnu
-emit-obj -disable-free -disable-llvm-verifier -main-file-name marshal.cc
-mrelocation-model static -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version 2.24
-momit-leaf-frame-pointer -g -coverage-file /home/dm/hack/xdrc/tests/marshal.o
-resource-dir /usr/bin/../lib/clang/3.4.2 -dependency-file
tests/.deps/marshal.Tpo -sys-header-deps -MP -MT tests/marshal.o -D
HAVE_CONFIG_H -I . -I ./include -I ./include -internal-isystem
/usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../include/c++/4.9.1
-internal-isystem
/usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../include/c++/4.9.1/x86_64-unknown-linux-gnu
-internal-isystem
/usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../include/c++/4.9.1/backward
-internal-isystem
/usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../include/x86_64-unknown-linux-gnu/c++/4.9.1
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.4.2/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O2 -Wall -std=c++11 -fdeprecated-macro
-fdebug-compilation-dir /home/dm/hack/xdrc -ferror-limit 19 -fmessage-length 80
-pthread -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -vectorize-loops -vectorize-slp -o tests/marshal.o -x
c++ tests/marshal.cc 
1.    <eof> parser at end of file
2.    Per-file LLVM IR generation
3.    ./include/xdrc/types.h:370:13: Generating code for declaration
'xdr::field_ptr<u_4_12, fix_12, &u_4_12::f12_>::field_ptr'
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/marshal-4f9205.cpp
clang: note: diagnostic msg: /tmp/marshal-4f9205.sh
clang: note: diagnostic msg: 

********************

 "/usr/bin/clang" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free
-disable-llvm-verifier -main-file-name marshal.cc -mrelocation-model static
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -target-linker-version 2.24
-momit-leaf-frame-pointer -g -sys-header-deps -D "HAVE_CONFIG_H" -O2 -Wall
-std=c++11 -fdeprecated-macro -ferror-limit 19 -fmessage-length 80 -pthread
-mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -vectorize-loops -vectorize-slp -x c++
marshal-4f9205.cpp</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>