<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 --- - Clang 3.7 crashes"
href="https://llvm.org/bugs/show_bug.cgi?id=24730">24730</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang 3.7 crashes
</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>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dimanne@ya.ru
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=14849" name="attach_14849" title="preprocessed main.cpp">attachment 14849</a> <a href="attachment.cgi?id=14849&action=edit" title="preprocessed main.cpp">[details]</a></span>
preprocessed main.cpp
main.cpp and other temp-files are in attachments
Invocation:
$ clang++-3.7 -std=c++11 -O0 -emit-llvm -c -save-temps main.cpp
0 libLLVM-3.7.so.1 0x00007f35f8dbd640
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 64
1 libLLVM-3.7.so.1 0x00007f35f8dbcaa1
2 libpthread.so.0 0x00007f35f86c7d10
3 clang 0x00000000012f14f8 clang::Expr::IgnoreParens() + 8
4 clang 0x00000000012f212d clang::Expr::IgnoreParenImpCasts() + 13
5 clang 0x0000000000c65899
6 clang 0x0000000000c65e17
7 clang 0x0000000000c7c874
8 clang 0x0000000000c7db4c
clang::Sema::ActOnCXXDelete(clang::SourceLocation, bool, bool, clang::Expr*) +
284
9 clang 0x0000000000e1278d
10 clang 0x0000000000e0e846
11 clang 0x0000000000e1cf2d
12 clang 0x0000000000e1e3cb
13 clang 0x0000000000e1e50b
14 clang 0x0000000000e1d255
15 clang 0x0000000000e20b8f clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&) + 95
16 clang 0x0000000000e3423c
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 3756
17 clang 0x0000000000e3451a
clang::Sema::PerformPendingInstantiations(bool) + 298
18 clang 0x0000000000acf3d5 clang::Sema::ActOnEndOfTranslationUnit()
+ 341
19 clang 0x0000000000a24cc9
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 601
20 clang 0x0000000000a19ee3 clang::ParseAST(clang::Sema&, bool,
bool) + 499
21 clang 0x00000000006a2fee clang::FrontendAction::Execute() + 510
22 clang 0x000000000067a8b9
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 313
23 clang 0x0000000000661f43
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1939
24 clang 0x000000000065ca58 cc1_main(llvm::ArrayRef<char const*>,
char const*, void*) + 2232
25 clang 0x00000000006594de main + 1006
26 libc.so.6 0x00007f35f7d75a40 __libc_start_main + 240
27 clang 0x000000000065bad9 _start + 41
Stack dump:
0. Program arguments: /usr/lib/llvm-3.7/bin/clang -cc1 -triple
x86_64-pc-linux-gnu -emit-llvm-bc -emit-llvm-uselists -disable-free
-disable-llvm-verifier -main-file-name main.cpp -mrelocation-model static
-mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-target-linker-version 2.25.1 -dwarf-column-info -coverage-file
/home/Void/devel/clang_crash/main.cpp -resource-dir
/usr/lib/llvm-3.7/bin/../lib/clang/3.7.0 -O0 -std=c++11 -fdeprecated-macro
-fdebug-compilation-dir /home/Void/devel/clang_crash -ferror-limit 19
-fmessage-length 166 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -disable-llvm-optzns
-o main.tmp.bc -x c++-cpp-output main.ii
1. <eof> parser at end of file
2. main.cpp:5:4: instantiating function definition '~TTree'
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.7.0-1ubuntu1 (tags/RELEASE_370/final) (based on LLVM
3.7.0)
Target: x86_64-pc-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://bugs.debian.org/">http://bugs.debian.org/</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/main-bf022b.cpp
clang: note: diagnostic msg: /tmp/main-bf022b.sh
clang: note: diagnostic msg:
********************</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>