[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 193114] New: Infinite recursive loop in duchain while parsing c++
From: cedric <cedric.borgese () gmail ! com>
Date: 2009-05-18 12:19:27
Message-ID: bug-193114-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=193114
Summary: Infinite recursive loop in duchain while parsing c++
Product: kdevelop
Version: unspecified
Platform: Compiled Sources
OS/Version: unspecified
Status: NEW
Severity: crash
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: cedric.borgese@gmail.com
Version: (using Devel)
Installed from: Compiled sources
kdevelop crash in an infinite recursive call in duchain.
the crash is a recent regression, I got it when I updated last friday (15 may)
but it didn't crash before (last update roughly 2 weeks before)
I try to update and recompile kdevplatform+kdevelop today but the crash is
still here.
Let me know if I can help fixing the problem (give more information, apply
patches and retest, ...)
here a portion of the stack :
#2 0x00007ffff189c290 in KDevelop::DUContext::findDeclarationsInternal
(this=0xbc59dc0, baseIdentifiers=@0x7fffd1758310, position=@0x7fffd17593d0,
dataType=@0x7fffd1f365a0, ret=@0x7fffd1f358f0,
source=0xbaff480, flags={i = -780828208}) at
/lhome/cborgese/Sources/kde4/src/kdevplatform/language/duchain/ducontext.cpp:826
#3 0x00007fffd45ee375 in
Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal
(this=0xbc59dc0, identifiers=@0x7fffd1758310, position=@0x7fffd17593d0,
dataType=@0x7fffd1f365a0, ret=
@0x7fffd1f358f0, source=0xbaff480, basicFlags={i = -780823616}) at
/lhome/cborgese/Sources/kde4/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:238
#4 0x00007ffff189c749 in KDevelop::DUContext::findDeclarationsInternal
(this=0xbc92510, baseIdentifiers=@0x7fffd1759900, position=@0x7fffd175a9c0,
dataType=@0x7fffd1f365a0, ret=@0x7fffd1f358f0,
source=0xbaff480, flags={i = -780822592}) at
/lhome/cborgese/Sources/kde4/src/kdevplatform/language/duchain/ducontext.cpp:865
#5 0x00007fffd45ee375 in
Cpp::CppDUContext<KDevelop::DUContext>::findDeclarationsInternal
(this=0xbc92510, identifiers=@0x7fffd1759900, position=@0x7fffd175a9c0,
dataType=@0x7fffd1f365a0, ret=
@0x7fffd1f358f0, source=0xbaff480, basicFlags={i = -780818000}) at
/lhome/cborgese/Sources/kde4/src/kdevelop/languages/cpp/cppduchain/cppducontext.h:238
#6 0x00007ffff189c749 in KDevelop::DUContext::findDeclarationsInternal
(this=0xbc59dc0, baseIdentifiers=@0x7fffd175aef0, position=@0x7fffd175bfb0,
dataType=@0x7fffd1f365a0, ret=@0x7fffd1f358f0,
source=0xbaff480, flags={i = -780816976}) at
/lhome/cborgese/Sources/kde4/src/kdevplatform/language/duchain/ducontext.cpp:865
here the last 2 lines in the terminal before the crash :
kdevelop(28313)/kdevelop (cpp support) CPPInternalParseJob::run: building
duchain for "[...]/priorityq.hpp"
kdevelop(28313)/kdevelop (cpp support) ContextBuilder::buildContexts:
ContextBuilder::buildContexts: compiling
I don't know if it is related, but priorityq.hpp is the implementation of a
template class defined in priorityq.h and priorityq.h include in its last line
(just before the multiple inclusion safeguard) priorityq.hpp
this is the default code guidline in our project for template and before the
crash, kdevelop could not parse priorityq.hpp correctly (I guess because it
doesn't include anything, so I doesn't parse correctly the defintions)
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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