[Pkg-kde-extras] Bug#477412: Fixed crash at exit

Raphael Geissert atomo64 at gmail.com
Sun Mar 29 00:33:01 UTC 2009


Hi,

2009/3/23 Cyril Deguet <cyril.deguet at via.ecp.fr>:
> Hello
> 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 account
> #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
>
> Regards
>

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net

Yogi Berra  - "A nickel ain't worth a dime anymore."





More information about the pkg-kde-extras mailing list