2009/3/23 Cyril Deguet <cyril.deg...@via.ecp.fr>:
> I had the same crash at exit here (Debian Lenny kcheckgmail 0.5.7.7)
> After investigation with valgrind, it appears that there is a memory
> corruption (invalid write) when instantiating the GMailParser object
> This is because of the following line in gmailparser.cpp:
> // define this symbol if you want to try to detect the language of your
> #define DETECT_GLANGUAGE
> this symbol should be defined in gmailparser.h (or in the makefile),
> and not in the cpp, otherwise the object size seen from
> kcheckgmailtray.cpp is incorrect (hence the memory corruption)
You are indeed right, thanks a lot!
The language detection part is pretty outdated and no longer accurate,
so it will all probably go away (hopefully the translated strings will
be preserved in the vcs :).
> I defined the symbol in the .h, and there is no more crash
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net
Yogi Berra - "A nickel ain't worth a dime anymore."
pkg-kde-extras mailing list