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

List:       kdevelop-bugs
Subject:    KDevelop hangs when parsing header file [14:40,01.07.99]
From:       Rubio Vaughan <rubio () adsl-145-99-71-131 ! snelnet ! nl>
Date:       1999-07-01 12:59:10
[Download RAW message or body]

> Bugreport ID : 14:40,01.07.99

> Originator	: Rubio Vaughan
> E-Mail	: rmvaughan@email.com

> Subject : KDevelop hangs when parsing header file

> Error Class	: software bug
> Error Location: I donīt know
> Priority	: high
> Severity	: critical

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

KDevelop Hangs when parsing a header file with 
an invalid syntax. This occurs at project load or
when saving the file.
The following code in a header file will reproduce 
the bug:

class MyClass
{
public:
	MyClass();
	~MyClass();
	MyPublicFunction(
}

note that the declaration of MyPublicFunction( 
has an invalid syntax.
KDevelop has to be killed when this occurs as
it doesn't respond to anything anymore.
When the project containing this file is loaded
at startup KDevelop will not start anymore.

The output at the console is as follows:
[rubio@adsl-<IP masked> rubio]$ kdevelop
CClassView::refresh( proj )
  parsing:[/home/rubio/projects/ufm/ufm/ufm.h]
  parsing:[/home/rubio/projects/ufm/ufm/ui.h]
Terminated
[rubio@adsl-<IP masked> rubio]$

The header file in question here is "ui.h"
Any questions to rmvaughan@email.com

Rubio Vaughan




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



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

Workaround:
Edit the file in an editor and correct the
syntax. KDevelop will work again :)

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

> KDevelop version	: 0.4
> KDE version		: 1.1.1
> QT version		: 1.44-6
> OS/Distribution	: Redhat 6.0
> Compiler		: egcs-2.91.66

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

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