[LLVMbugs] [Bug 6977] New: crash (EXC_BAD_ACCESS) in clang::InitializationSequence::Diagnose

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 29 13:32:20 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=6977

           Summary: crash (EXC_BAD_ACCESS) in
                    clang::InitializationSequence::Diagnose
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ich at az2000.de
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Process:         clang [4220]
Path:            /Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/clang
Identifier:      clang
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  clang++ [4219]

Interval Since Last Report:          173890 sec
Crashes Since Last Report:           2
Per-App Interval Since Last Report:  0 sec
Per-App Crashes Since Last Report:   3

Date/Time:       2010-04-29 22:29:12.421 +0200
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 0x0000000000000000
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 test3.cpp -pic-level 1
-mdisable-fp-elim -target-cpu yonah -g -resource-dir
/Users/az/Programmierung/CppIDE/llvm-src/Debug/lib/clang/1.5 -DDEBUG=1
-D_AI_DEBUG -D SYSTEM_DATA_DIR="/usr/share/games" -Iinclude -Wall -ferror-limit
19 -ftemplate-backtrace-limit 10 -fmessage-length 86 -pthread -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o
/var/folders/P9/P9wWY+Z8HDeOPixVmDZ0J++++TI/-Tmp-/cc-U45hoK.s -x c++ test3.cpp 
1.    include/LieroX.h:49:43: current parser token '{'
2.    include/LieroX.h:46:1: parsing struct/union/class body 'lierox_t'


Thread 0 Crashed:
0   clang                             0x00308492
clang::InitializationSequence::Diagnose(clang::Sema&, clang::InitializedEntity
const&, clang::InitializationKind const&, clang::Expr**, unsigned int) + 2606
1   clang                             0x0030e0c5
clang::InitializationSequence::Perform(clang::Sema&, clang::InitializedEntity
const&, clang::InitializationKind const&,
clang::ASTMultiPtr<&(clang::ActionBase::DeleteExpr(void*))>, clang::QualType*)
+ 101
2   clang                             0x002a4212
BuildImplicitMemberInitializer(clang::Sema&, clang::CXXConstructorDecl*,
ImplicitInitializerKind, clang::FieldDecl*,
clang::CXXBaseOrMemberInitializer*&) + 1446
3   clang                             0x002a4cd7
clang::Sema::SetBaseOrMemberInitializers(clang::CXXConstructorDecl*,
clang::CXXBaseOrMemberInitializer**, unsigned int, bool) + 1625
4   clang                             0x002a5269
clang::Sema::ActOnMemInitializers(clang::OpaquePtr<0>, clang::SourceLocation,
void**, unsigned int, bool) + 543
5   clang                             0x005d86f3
clang::Parser::ParseConstructorInitializer(clang::OpaquePtr<0>) + 459
6   clang                             0x005c5eda
clang::Parser::ParseLexedMethodDefs(clang::Parser::ParsingClass&) + 1072
7   clang                             0x005dab19
clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, unsigned int,
clang::OpaquePtr<0>) + 1563
8   clang                             0x005dbecf
clang::Parser::ParseClassSpecifier(clang::tok::TokenKind,
clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo
const&, clang::AccessSpecifier, bool) + 4879
9   clang                             0x005ce641
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&,
clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier,
clang::Parser::DeclSpecContext) + 7169
10  clang                             0x0060d1af
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsingDeclSpec&,
clang::AttributeList*, clang::AccessSpecifier) + 85 (Parser.cpp:539)
11  clang                             0x0060d590
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::AttributeList*,
clang::AccessSpecifier) + 66 (Parser.cpp:590)
12  clang                             0x0060e370
clang::Parser::ParseExternalDeclaration(clang::CXX0XAttributeList) + 2314
(Parser.cpp:479)
13  clang                             0x0060e4ae
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<1>&) + 296 (Parser.cpp:351)
14  clang                             0x0022cbaa
clang::ParseAST(clang::Preprocessor&, clang::ASTConsumer*, clang::ASTContext&,
bool, bool, clang::CodeCompleteConsumer*) + 426
15  clang                             0x0003d594
clang::ASTFrontendAction::ExecuteAction() + 266
16  clang                             0x0003d484
clang::FrontendAction::Execute() + 278
17  clang                             0x0001f9b7
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 879
18  clang                             0x000031e3 cc1_main(char const**, char
const**, char const*, void*) + 1755
19  clang                             0x000069bf main + 233 (driver.cpp:181)
20  clang                             0x00001f36 start + 54

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00307a75  ecx: 0x00000000  edx: 0x00000028
  edi: 0x002a504a  esi: 0x00000006  ebp: 0xbfffb5f8  esp: 0xbfffb200
   ss: 0x0000001f  efl: 0x00010202  eip: 0x00308492   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000000

Binary Images:
    0x1000 -  0x117ef1f +clang ??? (???) <e5bfc526f15f802e7f3d5c303c6ce501>
/Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/clang
0x8fe00000 - 0x8fe2db43  dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603>
/usr/lib/dyld
0x92737000 - 0x9273efe9  libgcc_s.1.dylib ??? (???)
<f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x946e4000 - 0x94741ffb  libstdc++.6.dylib ??? (???)
<04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x94c50000 - 0x94db7ff3  libSystem.B.dylib ??? (???)
<c8f52e158bf540cc000146ca8a705958> /usr/lib/libSystem.B.dylib
0x95237000 - 0x9523bfff  libmathCommon.A.dylib ??? (???)
/usr/lib/system/libmathCommon.A.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