[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 293345] Simpy crashes after building an example of FastCGI / CGI C++ Library
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2012-05-31 22:14:57
Message-ID: bug-293345-40295-TkFr1e7IOM () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=293345

--- Comment #2 from Matthew Woehlke <mw_triad@users.sourceforge.net> ---
More info... valgrind says:

==6676== Invalid read of size 8
==6676==    at 0x3A656B6F70: KDevelop::DUContext::type() const
(ducontext.cpp:1177)
==6676==    by 0x2E834237: Cpp::isTemplateDependent(KDevelop::Declaration
const*) (cppducontext.cpp:90)
==6676==    by 0x2E865965:
_ZN14NameASTVisitor20visitUnqualifiedNameEP18UnqualifiedNameAST.part.50
(name_visitor.cpp:139)
==6676==    by 0x2E865144: NameASTVisitor::run(NameAST*, bool)
(name_visitor.cpp:304)
==6676==    by 0x2E869070: TypeASTVisitor::visitName(NameAST*)
(type_visitor.cpp:308)
==6676==    by 0x2E868864:
_ZN14TypeASTVisitor24visitSimpleTypeSpecifierEP22SimpleTypeSpecifierAST.part.44
(type_visitor.cpp:299)
==6676==    by 0x2E867B96: TypeASTVisitor::run(TypeSpecifierAST*)
(type_visitor.cpp:113)
==6676==    by 0x2E855160:
Cpp::ExpressionVisitor::visitSimpleTypeSpecifier(SimpleTypeSpecifierAST*)
(expressionvisitor.cpp:1160)
==6676==    by 0x2E848944: Cpp::ExpressionVisitor::visit(AST*)
(expressionvisitor.cpp:2425)
==6676==    by 0x2E8488CD: Cpp::ExpressionVisitor::visitTypeId(TypeIdAST*)
(expressionvisitor.cpp:2222)
==6676==    by 0x2E848944: Cpp::ExpressionVisitor::visit(AST*)
(expressionvisitor.cpp:2425)
==6676==    by 0x2E84980C: Cpp::ExpressionVisitor::parse(AST*)
(expressionvisitor.cpp:246)
==6676==  Address 0x36798a38 is 8 bytes inside a block of size 128 free'd
==6676==    at 0x4A0763C: operator delete(void*) (vg_replace_malloc.c:457)
==6676==    by 0x3A656F2A33: KDevelop::Identifier::makeConstant() const
(identifier.cpp:511)
==6676==    by 0x3A656F2B78: KDevelop::Identifier::index() const
(identifier.cpp:438)
==6676==    by 0x3A656F2DCD:
KDevelop::IndexedIdentifier::IndexedIdentifier(KDevelop::Identifier const&)
(identifier.cpp:1083)
==6676==    by 0x3A656F3952:
KDevelop::QualifiedIdentifier::push(KDevelop::Identifier const&)
(identifier.cpp:850)
==6676==    by 0x2E7DE110:
Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal(KDevelop::QualifiedIdentifier
 const&, KDevelop::CursorInRevision const&, TypePtr<KDevelop::AbstractType>
const&, KDevVarLengthArray<KDevelop::Declaration*, 40>&, KDevelop::TopDUContext
const*, QFlags<KDevelop::DUContext::SearchFlag>) const (cppducontext.h:109)
==6676==    by 0x2E7E0D61:
Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal(KDevVarLengthArray<KSharedPtr<KDevelop::DUContext::SearchItem>,
 256> const&, KDevelop::CursorInRevision const&, TypePtr<KDevelop::AbstractType>
const&, KDevVarLengthArray<KDevelop::Declaration*, 40>&, KDevelop::TopDUContext
const*, QFlags<KDevelop::DUContext::SearchFlag>, unsigned int) const
(cppducontext.h:286)
==6676==    by 0x3A656B9700:
KDevelop::DUContext::findDeclarations(KDevelop::QualifiedIdentifier const&,
KDevelop::CursorInRevision const&, TypePtr<KDevelop::AbstractType> const&,
KDevelop::TopDUContext const*, QFlags<KDevelop::DUContext::SearchFlag>) const
(ducontext.cpp:857)
==6676==    by 0x2E80F891: TypeBuilder::openTypeFromName(NameAST*, unsigned
int, bool) (typebuilder.cpp:497)
==6676==    by 0x2E81063E:
TypeBuilder::visitSimpleTypeSpecifier(SimpleTypeSpecifierAST*)
(typebuilder.cpp:401)
==6676==    by 0x2EABB73D:
DefaultVisitor::visitParameterDeclaration(ParameterDeclarationAST*)
(default_visitor.cpp:311)
==6676==    by 0x2E80E49E:
TypeBuilder::visitParameterDeclaration(ParameterDeclarationAST*)
(typebuilder.cpp:822)

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic