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

List:       kde-bugs-dist
Subject:    [Bug 167283] Segfault during background parsing
From:       Manuel Nickschas <sputnick () gmx ! net>
Date:       2008-08-02 22:00:50
Message-ID: 20080802220050.23704.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=167283         




------- Additional Comments From sputnick gmx net  2008-08-03 00:00 -------
OK, compiling kdevplatform in debug mode, I seem to be able to start kdevelop most of \
the time and have a project open without crashing, whereas in release mode, \
apparently I can reproduce a segfault in smartRange() every time...

This is true even with background parsing enabled, i.e. with kdevplatform in debug \
mode, I can successfully open the project most of the time, including all features.

To make things more interesting, with this configuration and that same project, I \
still get regular crashes on startup that seem to be unrelated to above bug:

#0  0xb6493454 in _int_malloc () from /lib/libc.so.6
#1  0xb649498e in malloc_check () from /lib/libc.so.6
#2  0xb6495415 in malloc () from /lib/libc.so.6
#3  0xb664a1c9 in operator new () from \
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libstdc++.so.6 #4  0xb6359863 in \
QList<KDevelop::QualifiedIdentifier>::node_construct (this=0xb081da18, n=0xa143a9c, \
t= 0xb081d8d0)  at /usr/include/qt4/QtCore/qlist.h:338
#5  0xb6359aed in QList<KDevelop::QualifiedIdentifier>::append (this=0xb081da18, t= \
0xb081d8d0)  at /usr/include/qt4/QtCore/qlist.h:424
#6  0xb6359b19 in QList<KDevelop::QualifiedIdentifier>::operator<< (this=0xb081da18, \
t= 0xb081d8d0)  at /usr/include/qt4/QtCore/qlist.h:302
#7  0xb634a95b in KDevelop::DUContext::SearchItem::toList (this=0xb18ca50, prefix= \
0xb081da08)  at /var/tmp/portage/kde-base/kdevplatform-9999/work/kdevplatform-9999/language/duchain/ducontext.cpp:1519
 #8  0xb18ec65b in Cpp::CppDUContext<KDevelop::TopDUContext>::findDeclarationsInternal \
()  from /usr/kde/svn/lib/libkdev4cppduchain.so
#9  0xb193e103 in DelayedTypeResolver::exchange () from \
/usr/kde/svn/lib/libkdev4cppduchain.so #10 0xb1937cb8 in Cpp::resolveDelayedTypes () \
from /usr/kde/svn/lib/libkdev4cppduchain.so #11 0xb18ebe88 in \
Cpp::CppDUContext<KDevelop::TopDUContext>::findDeclarationsInternal ()  from \
/usr/kde/svn/lib/libkdev4cppduchain.so #12 0xb18ec713 in \
Cpp::CppDUContext<KDevelop::TopDUContext>::findDeclarationsInternal ()  from \
/usr/kde/svn/lib/libkdev4cppduchain.so #13 0xb634b869 in \
KDevelop::DUContext::findDeclarations (this=0xab162a8, identifier= 0xb081e958, \
position= 0xb081e950,  dataType= 0xb081e974, topContext=0xab162a8, flags= 0xb081e970)
    at /var/tmp/portage/kde-base/kdevplatform-9999/work/kdevplatform-9999/language/duchain/ducontext.cpp:704
 #14 0xb190bf6e in TypeBuilder::openTypeFromName () from \
/usr/kde/svn/lib/libkdev4cppduchain.so #15 0xb190cfbb in \
TypeBuilder::visitSimpleTypeSpecifier () from /usr/kde/svn/lib/libkdev4cppduchain.so \
#16 0xb187ef87 in Visitor::visit () from /usr/kde/svn/lib/libkdev4cppparser.so #17 \
0xb190b9e9 in TypeBuilder::visitSimpleDeclaration () from \
/usr/kde/svn/lib/libkdev4cppduchain.so #18 0xb18f0b6b in \
DeclarationBuilder::visitSimpleDeclaration () from \
/usr/kde/svn/lib/libkdev4cppduchain.so #19 0xb187ef87 in Visitor::visit () from \
/usr/kde/svn/lib/libkdev4cppparser.so #20 0xb187dee8 in visitNodes<DeclarationAST*> \
() from /usr/kde/svn/lib/libkdev4cppparser.so #21 0xb187ef87 in Visitor::visit () \
from /usr/kde/svn/lib/libkdev4cppparser.so #22 0xb18e14dc in \
ContextBuilder::startVisiting () from /usr/kde/svn/lib/libkdev4cppduchain.so #23 \
0xb18f8dc0 in KDevelop::AbstractTypeBuilder<AST, NameAST, \
ContextBuilder>::supportBuild () [...]


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

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