[Pkg-kde-extras] Bug#477412: Fixed crash at exit
Cyril Deguet
cyril.deguet at via.ecp.fr
Mon Mar 23 17:15:52 UTC 2009
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)
I defined the symbol in the .h, and there is no more crash
Regards
--
Cyril
More information about the pkg-kde-extras
mailing list