From kdevelop-bugs Thu May 31 22:14:57 2012 From: Matthew Woehlke Date: Thu, 31 May 2012 22:14:57 +0000 To: kdevelop-bugs Subject: [Bug 293345] Simpy crashes after building an example of FastCGI / CGI C++ Library Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=133850273411787 https://bugs.kde.org/show_bug.cgi?id=293345 --- Comment #2 from Matthew Woehlke --- 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::findDeclarationsInternal(KDevelop::QualifiedIdentifier const&, KDevelop::CursorInRevision const&, TypePtr const&, KDevVarLengthArray&, KDevelop::TopDUContext const*, QFlags) const (cppducontext.h:109) ==6676== by 0x2E7E0D61: Cpp::CppDUContext::findDeclarationsInternal(KDevVarLengthArray, 256> const&, KDevelop::CursorInRevision const&, TypePtr const&, KDevVarLengthArray&, KDevelop::TopDUContext const*, QFlags, unsigned int) const (cppducontext.h:286) ==6676== by 0x3A656B9700: KDevelop::DUContext::findDeclarations(KDevelop::QualifiedIdentifier const&, KDevelop::CursorInRevision const&, TypePtr const&, KDevelop::TopDUContext const*, QFlags) 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