[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: KDevelop crashes while parsing sources [13:00,17.06.99]
From: Marko Grönroos <magi () magi ! yok ! utu ! fi>
Date: 1999-06-17 10:11:57
[Download RAW message or body]
> Bugreport ID : 13:00,17.06.99
> Originator : Marko Grönroos
> E-Mail : magi@iki.fi
> Subject : KDevelop crashes while parsing sources
> Error Class : software bug
> Error Location: logical file tree
> Priority : high
> Severity : critical
> Bug Description ---------------------------
KDevelop crashes while parsing source files (at startup and otherwise)
if there are syntactic errors in the source:
[magi@magi ~]$ kdevelop
CClassView::refresh( proj )
parsing:[/home/magi/c/testiprojekti/testiprojekti/testiprojekti.h]
parsing:[/home/magi/c/testiprojekti/testiprojekti/testiprojektidoc.h]
parsing:[/home/magi/c/testiprojekti/testiprojekti/testiprojektiview.h]
Virtual memory exceeded in `new'
(Crashing takes actually about a minute, as the machine starts swapping a lot)
This was caused because of erroneous line in the code, more specifically:
...
protected:
virtual
public:
}
You may ask why does it read "virtual" there.
I was trying to write a method declaration, and tried to
copy&paste the declaration from elsewhere. When I hit
the Paste-button, the kdevelop reserved lots of memory, until it crashed. But
apparently it had saved the file, so it then crashed every time at
startup until I removed the word "virtual" from there.
> How to repeat the error -------------------
> Bugfix or Workaround ----------------------
Workaround: don't write erroneous code.
> System Information ------------------------
> KDevelop version : 0.4
> KDE version : 1.1.1
> QT version : 1.42
> OS/Distribution : Linux 2.2.3 / Redhat 5.2
> Compiler : egcs-2.90.29 980515 (egcs-1.0.3 release)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic