[Bug 269808] Kontact crashes when viewing a signed E-Mail (Kmail standalone does not)

Patrick Spendrin ps_ml at gmx.de
Sun Jan 1 17:56:46 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=269808





--- Comment #11 from Patrick Spendrin <ps_ml gmx de>  2012-01-01 17:56:45 ---
ok, I played around with this bug (I tried the kmymoney one, but it is
essentially the same). The problem does *not* happen because of the gpgme
stack, but instead it is a compiler bug: if you hand over a std::string over
dll boundaries, a heap corruption will take place. I talked to the mingw-w64
people and they pointed me to the --enable-fully-dynamic-string option when
building the compiler (check gcc -v to see the build flags). That one is
definitely missing from the sezero build we use at the moment (it is a heavily
backported gcc 4.4.7). I tried out the 4.5 build from sezero which doesn't seem
to set this flag as well. A small test program compiles fine and doesn't crash
anymore, I cannot try out with kdepim nor with mymoney since my build fails in
phonon due to a cxx_abi* linker issue. I'll add an updated test program for the
heap corruption in a minute.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list