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

List:       kdevelop-bugs
Subject:    C++ Parsing Infinite Loop [22:09,06.07.99]
From:       Alin Dobra <alin () avd4 ! resnet ! cornell ! edu>
Date:       1999-07-07 2:19:41
[Download RAW message or body]

> Bugreport ID : 22:09,06.07.99

> Originator	: Alin Dobra
> E-Mail	: dobra@cs.cornell.edu

> Subject : C++ Parsing Infinite Loop

> Error Class	: software bug
> Error Location: editor
> Priority	: high
> Severity	: serious

> Bug Description ---------------------------

If one of the source files contains an incomplete C++ source 
and the C++ scaner is activated (opening of the project for 
example) KDevelop may end up in an infinite loop. Restarting
KDevelop doesn't help, only writing corrnct C++ code in the 
respective file.

You probably have an algorithmic error in the parsing code.

> How to repeat the error -------------------

For example in one of my files I had the following at the end 
of XClusView.cpp file:

void XClusView::represent(bool flag, char*

in this moment the autosave+reparse were activated and 
KDevelop ended up in an infinite loop.

> Bugfix or Workaround ----------------------

Workarround:

Edit with something else the file that hase incorect C++ code
and restart KDevelop.



> System Information ------------------------

> KDevelop version	: 0.4
> KDE version		: 1.1.1
> QT version		: 1.44
> OS/Distribution	: Linux 2.2.9
> Compiler		: egcs 1.1.2

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

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