[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Kontact crash
From: Ingo =?iso-8859-1?q?Kl=F6cker?= <kloecker () kde ! org>
Date: 2005-10-11 22:41:16
Message-ID: 200510120041.27784 () erwin ! ingo-kloecker ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Tuesday 11 October 2005 02:26, Craig Howard wrote:
> >> The crash seems to have occurred during autosaving. The
> >> corresponding code that leads to the crash is in
> >> kmail/keyresolver.h:
> >> Item( const QString & a,
> >> EncryptionPreference e, SigningPreference s,
> >> CryptoMessageFormat f )
> >>
> >> : KeyApprovalDialog::Item( a, std::vector<GpgME::Key>(), e ),
> >>
> >> signPref( s ), format( f ), needKeys( true ) {}
> >>
> >> I have no idea why this could lead to a crash. Marc? Maybe a
> >> compiler bug? Which exact version of gcc are you using?
> >
> > Debian just updated libgpgme, so I'm going to rebuild and try
> > again.
>
> Still crashes.
Please try whether the following patch helps.
Index: kmail/keyresolver.cpp
===================================================================
--- kmail/keyresolver.cpp (revision 466519)
+++ kmail/keyresolver.cpp (working copy)
@@ -692,7 +692,8 @@
QString addr = canonicalAddress( *it ).lower();
const ContactPreferences pref = lookupContactPreferences( addr );
- items.push_back( Item( *it, /*getEncryptionKeys( *it, true ),*/
+ std::vector<GpgME::Key> dummy;
+ items.push_back( Item( *it, dummy,
pref.encryptionPreference,
pref.signingPreference,
pref.cryptoMessageFormat ) );
Regards,
Ingo
[Attachment #5 (application/pgp-signature)]
_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic