[LLVMbugs] [Bug 6463] New: crash in clang::Type::getTypeClass()
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Mar 2 09:03:19 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6463
Summary: crash in clang::Type::getTypeClass()
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ich at az2000.de
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Process: clang [94528]
Path: /Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/clang
Identifier: clang
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: clang++ [94527]
Interval Since Last Report: 5899 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 2
Date/Time: 2010-03-02 18:02:27.652 +0100
OS Version: Mac OS X 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: C99325D9-953E-44CB-A0FE-88CB8BF0B517
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000008
Crashed Thread: 0
Application Specific Information:
Stack dump:
0. Program arguments:
/Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/clang -cc1 -triple
i386-apple-darwin9.0.0 -S -disable-free -main-file-name test.cpp -pic-level 1
-mdisable-fp-elim -target-cpu yonah -resource-dir
/Users/az/Programmierung/CppIDE/llvm-src/Debug/lib/clang/1.1 -fmessage-length
84 -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/P9/P9wWY+Z8HDeOPixVmDZ0J++++TI/-Tmp-/cc-iGRXbn.s -x c++ test.cpp
1. test.cpp:8:32: current parser token '{'
Thread 0 Crashed:
0 clang 0x0005f7ed clang::Type::getTypeClass()
const + 9
1 clang 0x0009f99d
clang::TypeLoc::getTypeLocClass() const + 77
2 clang 0x0058183e
clang::TypeLocVisitor<(anonymous namespace)::NextLoc,
clang::TypeLoc>::Visit(clang::TypeLoc) + 24
3 clang 0x0057d3f5
clang::TypeLoc::getNextTypeLocImpl(clang::TypeLoc) + 31
4 clang 0x004e610a
clang::TypeLoc::getNextTypeLoc() const + 26
5 clang 0x0035257e
clang::TypeLocBuilder::pushImpl(clang::QualType, unsigned long) + 50
6 clang 0x00358409 clang::TypenameTypeLoc
clang::TypeLocBuilder::push<clang::TypenameTypeLoc>(clang::QualType) + 79
7 clang 0x0035141d (anonymous
namespace)::CurrentInstantiationRebuilder::TransformTypenameType(clang::TypeLocBuilder&,
clang::TypenameTypeLoc, clang::QualType) + 727
8 clang 0x0035af56
clang::TreeTransform<(anonymous
namespace)::CurrentInstantiationRebuilder>::TransformType(clang::TypeLocBuilder&,
clang::TypeLoc, clang::QualType) + 2248
9 clang 0x0035b0ad
clang::TreeTransform<(anonymous
namespace)::CurrentInstantiationRebuilder>::TransformType(clang::TypeSourceInfo*,
clang::QualType) + 161
10 clang 0x0035b1b0
clang::TreeTransform<(anonymous
namespace)::CurrentInstantiationRebuilder>::TransformType(clang::QualType,
clang::QualType) + 178
11 clang 0x0035113d
clang::Sema::RebuildTypeInCurrentInstantiation(clang::QualType,
clang::SourceLocation, clang::DeclarationName) + 141
12 clang 0x0026d48a
clang::Sema::HandleDeclarator(clang::Scope*, clang::Declarator&,
clang::ASTMultiPtr<&(clang::ActionBase::DeleteTemplateParams(void*))>, bool) +
696
13 clang 0x00347455
clang::Sema::ActOnStartOfFunctionTemplateDef(clang::Scope*,
clang::ASTMultiPtr<&(clang::ActionBase::DeleteTemplateParams(void*))>,
clang::Declarator&) + 307
14 clang 0x005d5f03
clang::Parser::ParseFunctionDefinition(clang::Parser::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&) + 773 (Parser.cpp:674)
15 clang 0x005ce67f
clang::Parser::ParseSingleDeclarationAfterTemplate(unsigned int,
clang::Parser::ParsedTemplateInfo const&, clang::SourceLocation&,
clang::AccessSpecifier) + 1273 (ParseTemplate.cpp:256)
16 clang 0x005cf415
clang::Parser::ParseTemplateDeclarationOrSpecialization(unsigned int,
clang::SourceLocation&, clang::AccessSpecifier) + 1009 (ParseTemplate.cpp:155)
17 clang 0x005cf500
clang::Parser::ParseDeclarationStartingWithTemplate(unsigned int,
clang::SourceLocation&, clang::AccessSpecifier) + 178 (ParseTemplate.cpp:32)
18 clang 0x005992d8
clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&,
clang::CXX0XAttributeList) + 330
19 clang 0x005d5281
clang::Parser::ParseExternalDeclaration(clang::CXX0XAttributeList) + 2067
(Parser.cpp:478)
20 clang 0x005d54b6
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<1>&) + 296 (Parser.cpp:368)
21 clang 0x00220082
clang::ParseAST(clang::Preprocessor&, clang::ASTConsumer*, clang::ASTContext&,
bool, bool, clang::CodeCompleteConsumer*) + 426
22 clang 0x0003f784
clang::ASTFrontendAction::ExecuteAction() + 266
23 clang 0x0003f674
clang::FrontendAction::Execute() + 260
24 clang 0x00020f3b
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 851
25 clang 0x00002a14 cc1_main(char const**, char
const**, char const*, void*) + 1292
26 clang 0x000064ff main + 233 (driver.cpp:179)
27 clang 0x00001936 start + 54
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00581832 ecx: 0xbfffd42f edx: 0x00000000
edi: 0x00347322 esi: 0x03839e98 ebp: 0xbfffd398 esp: 0xbfffd390
ss: 0x0000001f efl: 0x00010286 eip: 0x0005f7ed cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000008
Binary Images:
0x1000 - 0x10acfdb +clang ??? (???) <ff262ec1d904824f62f3dced89cb48ea>
/Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/clang
0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603>
/usr/lib/dyld
0x90dcc000 - 0x90dd0fff libmathCommon.A.dylib ??? (???)
/usr/lib/system/libmathCommon.A.dylib
0x9250c000 - 0x92569ffb libstdc++.6.dylib ??? (???)
<04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x953bb000 - 0x95522ff3 libSystem.B.dylib ??? (???)
<ae47ca9b1686b065f8ac4d2de09cc432> /usr/lib/libSystem.B.dylib
0x959c5000 - 0x959ccfe9 libgcc_s.1.dylib ??? (???)
<f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list