Bug 63086 - r++ hangs and leaks memory until killed by system.
Summary: r++ hangs and leaks memory until killed by system.
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-21 21:37 UTC by Peter Antonius
Modified: 2013-03-31 00:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The include files that provokes the problem (210.68 KB, application/octet-stream)
2003-08-21 21:40 UTC, Peter Antonius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Antonius 2003-08-21 21:37:00 UTC
Version:           Gideon CVS 2003-08-21 (using KDE KDE 3.1.1)
Installed from:    SuSE RPMs
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux) 
OS:          Linux

I have tried to run r++ on  /usr/include. When it tries to parse /usr/include/ptlib it starts to use all avaiable memory (2GB) and r++ is killed by the system. 

generate tags for ptlib/array.h
ptlib/array.h:699:185: Syntax Error before 'public'
ptlib/array.h:699:1090: Syntax Error before '['
ptlib/array.h:699:1109: Syntax Error before ')'
ptlib/array.h:699:1117: Syntax Error before '{'
ptlib/array.h:699:1144: Syntax Error before 'return'
Killed

I have seen the problem before in another include file that used #pragma interface (unfortnatly i forgot which one).
Comment 1 Peter Antonius 2003-08-21 21:40:50 UTC
Created attachment 2290 [details]
The include files that provokes the problem
Comment 2 Alexander Dymo 2003-09-13 12:38:50 UTC
Can not reproduce with KDevelop HEAD. 
Please update. If your problem persists, reopen this bug. 
Comment 3 Aleix Pol 2013-03-31 00:48:37 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively