Help to understand/fix Kdevelop Crash
david.nolden.kdevelop at art-master.de
Tue Mar 17 12:22:05 UTC 2015
Actually, the absolute limit on the size of the item repository is 4GB,
because the index is a 32 bit number, and there can be 1<<16 buckets, each
of size 1<<16, i.e. 1<<32=4.3GB. Maybe this limit is hit in your case. Can
you add some assertion which avoids "wrapping" of the bucket number
(especially of the buckets spanned by the "monster bucket extent")?
However, that limit applies to each item repository separately. In your
case it seems to be the persistent symbol table. IMO it should never become
that huge, not even for the linux kernel. So I guess this is a problem in
kdevelop-clang, which puts too much stuff in the symbol table (just a
2015-03-15 2:15 GMT+01:00 Lucas Tanure <tanure at linux.com>:
> I'm trying to use kdevelop for develop linux kernel, but it's crashing
> while parsing.
> I imported the main makefile from linux kernel source and after a few
> minutes the kdevelop crashes.
> Take a look at:
> *kdevelop* *binaries* :
> *llvm* *binaries* :
> *kdevelop* *log* : https://www.dropbox.com/s/ke4iovxx8alis9j/kdev.log?dl=0
> *gdb* *coredump* :
> I created the bug:
> and I thought it was the same as:
> https://bugs.kde.org/show_bug.cgi?id=272408 ( not enough memory ram ).
> But it's not, it's a real crash. I tested with a 24Gbytes of Ram, and
> kdevelop took like 5Gb to parse 50% of linux kernel.
> Please help.
> Lucas Tanure
> +55 (19) 988176559
> KDevelop-devel mailing list
> KDevelop-devel at kde.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel