[LLVMbugs] [Bug 24280] New: crash in findCCommentEnd / clang_Cursor_getParsedComment

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 27 10:55:35 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24280

            Bug ID: 24280
           Summary: crash in findCCommentEnd /
                    clang_Cursor_getParsedComment
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mail at milianw.de
                CC: klimek at google.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

another crash I just encountered in kdev-clang, using clang-c based on
llvm/clang build from the release_37 branches:

#6  findCCommentEnd (BufferPtr=<optimized out>, BufferEnd=<optimized out>) at
/home/milian/projects/src/clang/lib/AST/CommentLexer.cpp:260
#7  clang::comments::Lexer::lex (this=0x7f0ca7499c58, T=...) at
/home/milian/projects/src/clang/lib/AST/CommentLexer.cpp:781
#8  0x00007f0c9df9c0e0 in consumeToken (this=0x7f0ca7499a38) at
/home/milian/projects/src/clang/include/clang/AST/CommentParser.h:63
#9  clang::comments::Parser::parseParagraphOrBlockCommand (this=0x7f0ca7499a38)
at /home/milian/projects/src/clang/lib/AST/CommentParser.cpp:603
#10 0x00007f0c9df9d60a in parseBlockContent (this=<optimized out>) at
/home/milian/projects/src/clang/lib/AST/CommentParser.cpp:736
#11 clang::comments::Parser::parseFullComment (this=<optimized out>) at
/home/milian/projects/src/clang/lib/AST/CommentParser.cpp:766
#12 0x00007f0c9df11e83 in clang::RawComment::parse (this=<optimized out>,
Context=..., PP=<optimized out>, D=<optimized out>) at
/home/milian/projects/src/clang/lib/AST/RawCommentList.cpp:162
#13 0x00007f0c9de42dfb in clang::ASTContext::getCommentForDecl
(this=0x7f0bcae29ff0, D=0x7f0ca06f3f00, PP=0x0) at
/home/milian/projects/src/clang/lib/AST/ASTContext.cpp:541
#14 0x00007f0c9de1c27e in clang_Cursor_getParsedComment (C=...) at
/home/milian/projects/src/clang/tools/libclang/CXComment.cpp:40
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150727/3d3b6af0/attachment.html>


More information about the llvm-bugs mailing list