Summary: | KCachegrind crashes when big file gets opened. | ||
---|---|---|---|
Product: | [Developer tools] kcachegrind | Reporter: | Gerrit Addiks <kdebugs> |
Component: | general | Assignee: | Josef Weidendorfer <josef.weidendorfer> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | adaptee |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Gerrit Addiks
2013-01-02 10:45:33 UTC
> #12 0xb6027c58 in qFatal (msg=0x80f8e84 "ERROR: Out of memory. Sorry. KCachegrind has to terminate.\n\nYou probably tried to load a profile data file too huge forthis system. You could try loading this file on a 64-bit OS.") at global/qglobal.cpp:2519 > #13 0x080905e8 in ensureSpace (this=<optimized out>, size=<optimized out>) at ../../../kcachegrind/libcore/pool.cpp:107 Looking at pool.cpp:107, the call to qFatal is triggered because of malloc returning null, so definitly this is a out-of-memory condition. > It is not a RAM overflow (there are 8GB installed, not even one fully used). A process running out-of-memory does not require running out of physical memory: E.g. malloc returns null of the address space is exhausted. And this makes sense in your case: > Operating System: Linux 3.5.0-21-generic i686 If I interpret this correctly, you are running on arch i686, i.e. a 32-bit kernel, thus kcachegrind also runs as 32bit process, with perhaps 2-3GB address space available. With 8GB physical memory, I strongly would suggest to run a 64-bit Linux installation. This may be enough in your case to load the file. Neverless, it is a known bug (tracked by 232470) that kcachegrind needs space linear in the size of the profile file even if the measurements point to the same source (the endless loop in your case). There is a workaround, setting a flag (USE_FIXCOST) to 0 and recompile (see other bug). Marking as duplicate. *** This bug has been marked as a duplicate of bug 232470 *** |