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

List:       kdevelop-devel
Subject:    Bug#39541: crash when entering pointer (code completion)
From:       stojan () aufbix ! org
Date:       2002-03-19 14:32:31
[Download RAW message or body]

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)


_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel


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

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