Bug#39541: marked as done (crash when entering pointer (code completion)) by "F at lk Brettschneider" <falk.brettschneider at gmx.de>

Stephan Kulow owner at bugs.kde.org
Sat Jun 22 13:34:37 UTC 2002


Your message with subj: meanwhile fixed



has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

(Complete bug history is available at http://bugs.kde.org/db/39/39541.html)

Received: (at submit) by bugs.kde.org; 19 Mar 2002 14:32:31 +0000
Received: (qmail 18544 invoked by uid 33); 19 Mar 2002 14:32:31 -0000
Date: 19 Mar 2002 14:32:31 -0000
Message-ID: <20020319143231.18543.qmail at mail.kde.org>
To: submit at bugs.kde.org
Subject: crash when entering pointer (code completion)
From: stojan at aufbix.org
X-KDE-Received: -194.249.36.65

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