Bug#39541: crash when entering pointer (code completion)
stojan at aufbix.org
stojan at aufbix.org
Tue Mar 19 15:34:02 UTC 2002
Package: kdevelop
Version: 2.1RC2 (KDE 2.97 (3.0 RC1)) (using KDE 2.9.2 CVS/CVSup/Snapshot)
Severity: normal
Installed from: Compiled sources
Compiler: gcc 2.95.4 Debian Prerelease
OS: Linux
OS/Compiler notes: Not Specified
Using KDevelop from KDE3 RC1 I noticed the following:
I have the "Code completion" turned on. This is how the code looks like :
struct pred {
voz *pred;
pred *next;
}
void graf::dropTail() {
pred *tmp
tmp=cyc
if (cyc->next !=NULL) {
while(tmp->next->next!=NULL) {tmp=tmp->next;)
tmp->
There is an obvious error at the last closing brace, it should be a curly brace, not the normal one.. as I enter the '>' character after 'tmp-', KDevelop crashes without any notices or anything. When I fix the closing brace (I replace the normal one with a curly brace) it works ok and gives me the options on what I can use.
I get the following in the console:
kdevelop: ---------------------------> complete (enabled by robe :-)
kdevelop: CppCodeCompletion::getMethodBody()
kdevelop: contents = ;
graf::dropCycTail() { predhodniki *tmp; tmp=cyc; (cyc->next !=NULL) { (tmp->next->next!=NULL) {tmp=tmp->next;) tmp->
kdevelop: classname = graf
ctx = 0x8494f90 - lev = 1 - type = predhodniki - vars = tmp
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = kdevelop path = <unknown> pid = 5035
Unable to start dr. konqi
DCOP: unregister 'kdevelop-5035'
DCOPServer : slotTerminate() -> sending terminateKDE signal.
klauncher: KLauncher::process ---> terminateKDE
kdeinit: terminate KDE.
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
(Submitted via bugs.kde.org)
More information about the KDevelop-devel
mailing list