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

List:       kdevelop-bugs
Subject:    [Bug 258314] New: Parser runs out of memory and crashes kdevelop on
From:       Gene <geneing () yahoo ! com>
Date:       2010-11-29 21:00:38
Message-ID: bug-258314-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

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