<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::CXXBasePaths::lookupInBases crash"
href="http://llvm.org/bugs/show_bug.cgi?id=15902">15902</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang::CXXBasePaths::lookupInBases crash
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>3.2
</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>Core LLVM classes
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>noelgrandin@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10459" name="attach_10459" title="preprocessed source">attachment 10459</a> <a href="attachment.cgi?id=10459&action=edit" title="preprocessed source">[details]</a></span>
preprocessed source
I'm running a clang plugin and it's crashing on some of the input files with a
stacktrace:
0 libLLVM-3.2svn.so 0x00000039b376c42f
1 libLLVM-3.2svn.so 0x00000039b376c886
2 libpthread.so.0 0x00000034d1a0f000
3 clang 0x0000000000f7a1d6
clang::CXXBasePaths::lookupInBases(clang::ASTContext&, clang::CXXRecordDecl
const*, bool (*)(clang::CXXBaseSpecifier const*, clang::CXXBasePath&, void*),
void*) + 102
4 clang 0x0000000000f7b1f7
clang::CXXRecordDecl::lookupInBases(bool (*)(clang::CXXBaseSpecifier const*,
clang::CXXBasePath&, void*), void*, clang::CXXBasePaths&) const + 55
5 clang 0x0000000000f7b713
clang::CXXRecordDecl::isDerivedFrom(clang::CXXRecordDecl const*) const + 259
6 plugin.so 0x00002aaaaab1c967
loplugin::ReferenceCasting::VisitCXXConstructExpr(clang::CXXConstructExpr*) +
855
7 plugin.so 0x00002aaaaab21732
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseCXXConstructExpr(clang::CXXConstructExpr*)
+ 18
8 plugin.so 0x00002aaaaab1e946
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseStmt(clang::Stmt*)
+ 310
9 plugin.so 0x00002aaaaab292d2
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseVarHelper(clang::VarDecl*)
+ 114
10 plugin.so 0x00002aaaaab1d110
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseDecl(clang::Decl*)
+ 1360
11 plugin.so 0x00002aaaaab20cb2
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseDeclStmt(clang::DeclStmt*)
+ 98
12 plugin.so 0x00002aaaaab1e8d5
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseStmt(clang::Stmt*)
+ 197
13 plugin.so 0x00002aaaaab20b9a
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseCompoundStmt(clang::CompoundStmt*)
+ 186
14 plugin.so 0x00002aaaaab1e8c7
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseStmt(clang::Stmt*)
+ 183
15 plugin.so 0x00002aaaaab20aca
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseCXXTryStmt(clang::CXXTryStmt*)
+ 186
16 plugin.so 0x00002aaaaab1e8c0
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseStmt(clang::Stmt*)
+ 176
17 plugin.so 0x00002aaaaab20b9a
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseCompoundStmt(clang::CompoundStmt*)
+ 186
18 plugin.so 0x00002aaaaab1e8c7
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseStmt(clang::Stmt*)
+ 183
19 plugin.so 0x00002aaaaab2958c
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseFunctionHelper(clang::FunctionDecl*)
+ 412
20 plugin.so 0x00002aaaaab1cc13
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseDecl(clang::Decl*)
+ 83
21 plugin.so 0x00002aaaaab1e7f1
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseDeclContextHelper(clang::DeclContext*)
+ 49
22 plugin.so 0x00002aaaaab1d301
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseDecl(clang::Decl*)
+ 1857
23 plugin.so 0x00002aaaaab1e7f1
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseDeclContextHelper(clang::DeclContext*)
+ 49
24 plugin.so 0x00002aaaaab1d301
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseDecl(clang::Decl*)
+ 1857
25 plugin.so 0x00002aaaaab1e7f1
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseDeclContextHelper(clang::DeclContext*)
+ 49
26 plugin.so 0x00002aaaaab1d301
clang::RecursiveASTVisitor<loplugin::ReferenceCasting>::TraverseDecl(clang::Decl*)
+ 1857
27 plugin.so 0x00002aaaaab4823e
loplugin::PluginHandler::HandleTranslationUnit(clang::ASTContext&) + 94
28 clang 0x000000000063eb8d
clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) + 61
29 clang 0x00000000008adb84 clang::ParseAST(clang::Sema&, bool,
bool) + 340
30 clang 0x0000000000768fd3 clang::CodeGenAction::ExecuteAction() +
51
31 clang 0x0000000000629f21 clang::FrontendAction::Execute() + 97
32 clang 0x000000000060be3a
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 282
33 clang 0x00000000005f486d
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1565
34 clang 0x00000000005eda88 cc1_main(char const**, char const**,
char const*, void*) + 1176
35 clang 0x00000000005ec8fa main + 7034
36 libc.so.6 0x00000034d1621a05 __libc_start_main + 245
37 clang 0x00000000005ed431</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>