Bug#2272: CClassView::refresh [parsing] -> segfault

Jan Reutimann jan.reutimann at cns.unibe.ch
Wed Nov 10 16:48:11 UTC 1999


Package: kdevelop
Version: 1.0beta4.1
Severity: normal

Bugreport ID : 17:27,10.11.99

Originator	: Jan Reutimann
E-Mail		: jan.reutimann at cns.unibe.ch

Subject : CClassView::refresh [parsing] -> segfault

Error Class	: software bug
Error Location	: I don´t know
Priority	: low
Bug Description ---------------------------

KDevelop crashes (segfault) when a headerfile contains a 'class' 
statement and nothing follows, like :

class

The error msg is:
CClassView::refresh( proj )
  parsing:[./bug/bug.h]
Segmentation fault      


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

Consider headerfile bug.h:
$ cat bug/bug.h
class
      
$

If bug.h is a project file of bug.kdevprj, this is what happens:
$ kdevelop bug.kdevprj
Path: /opt/users/.../bug/bug
File: bug.h
CClassView::refresh( proj )
  parsing:[./bug/bug.h]
Segmentation fault      
$


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

nop

System Information ------------------------

KDevelop version	: 1.0beta4.1
KDE version		: 1.2
QT version		: 1.44
OS/Distribution		: RedHat6.0
Compiler		: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)     

misc :




More information about the KDevelop-devel mailing list