https://bugs.kde.org/show_bug.cgi?id=258314 Summary: Parser runs out of memory and crashes kdevelop on some files Product: kdevelop Version: 4.1.0 Platform: openSUSE RPMs OS/Version: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: cpp-parser AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: geneing@yahoo.com Created an attachment (id=53873) --> (http://bugs.kde.org/attachment.cgi?id=53873) example of file that causes crash Version: 4.1.0 (using KDE 4.4.5) OS: Linux LLVM/Clang library (http://clang.llvm.org) that is included in my project contains a file that crashes the parser and kdevelop. Basically while processing this file, parser uses all 8GB that I have on the system. It's a special case, but kdevelop should handle this case more gracefully. The file is attached. Reproducible: Always Steps to Reproduce: Include the attached file in a CMake project. Actual Results: Kdevelop uses all available memory and crashes. Expected Results: Ideally, parse the file correctly. Otherwise, abandon parsing the file when memory use becomes unreasonably high. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs