[LLVMbugs] [Bug 3207] New: Crash on invalid in DeclGroupOwningRef

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Dec 13 00:36:54 PST 2008


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

           Summary: Crash on invalid in DeclGroupOwningRef
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2302)
 --> (http://llvm.org/bugs/attachment.cgi?id=2302)
testcase 

clang parser.i produces a bunch of errors and then this crash:

5   libSystem.B.dylib 0x94bab47f abort + 73
7   clang             0x00630e52
clang::DeclGroupOwningRef::~DeclGroupOwningRef() + 72
8   clang             0x0065e51f clang::DeclStmt::~DeclStmt() + 41
9   clang             0x00596cb7 clang::Sema::DeleteStmt(void*) + 31
10  clang             0x006a7784
clang::ASTVector<&(clang::ActionBase::DeleteStmt(void*)), 32u>::destroy() + 114
11  clang             0x006a7955
clang::ASTVector<&(clang::ActionBase::DeleteStmt(void*)), 32u>::~ASTVector() +
17
12  clang             0x006a71c1
clang::Parser::ParseCompoundStatementBody(bool) + 1337
13  clang             0x006a71ef
clang::Parser::ParseFunctionStatementBody(void*, clang::SourceLocation,
clang::SourceLocation) + 33
14  clang             0x006abccc
clang::Parser::ParseFunctionDefinition(clang::Declarator&) + 640
15  clang             0x006ac2d9
clang::Parser::ParseDeclarationOrFunctionDefinition() + 1525
16  clang             0x006ac708 clang::Parser::ParseExternalDeclaration() +
826
17  clang             0x006ac76b clang::Parser::ParseTopLevelDecl(void*&) + 85
18  clang             0x0059621a clang::ParseAST(clang::Preprocessor&,
clang::ASTConsumer*, bool, bool) + 454


-- 
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