GPG4Win 3.1.10 crashes Outlook2013 at random intervals

On at least 3 clients, from the time of installation of GPG4win 3.1.10, the users suffer from random crashes of Outlook2013. This happens even at times where Outlook is not in use, perhaps when recieving mails, either encrypted or not.

Anyone has a solution?

This is what the logs tell me at the time of the crash:

10:31:52/6992/application-events.cpp:Invoke: ItemLoad event. Getting object.
10:31:52/6992/application-events.cpp:Invoke: Creating mail object for item: 21b32238
10:31:52/4916/windowmessages.cpp:do_async: Do async with type 1108 after 0 ms
10:31:52/6992/mapihelp.cpp:mapi_change_message_class: checking message class IPM.Note' 10:31:52/6992/mapihelp.cpp:change_message_class_ipm_note: content type is 'multipart/alternative' 10:31:52/6992/oomhelp.cpp:gpgol_openProperty: OpenProperty failed hr=0x8004010f MAPI_E_NOT_FOUND 10:31:52/6992/mapihelp.cpp:mapi_get_body_as_stream: OpenProperty tag=83fd0102 failed: hr=0x8004010f 10:31:52/6992/mapihelp.cpp:get_msgcls_from_pgp_lines: Detected non whitespace 0 before a PGP Marker 10:31:52/6992/mapihelp.cpp:mapi_change_message_class Message is not a crypto message or already in the right class. 10:31:52/6992/mail.cpp:preProcessMessage_m: Importing autocrypt header from unencrypted mail. 10:31:52/6992/keycache.cpp:import_pgp_key_data: Data does not look like PGP Keys 10:31:52/6992/mailitem-events.cpp:Invoke: Non crypto mail 0792c020 opened. Updating sigstatus. 10:31:52/6992/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1108 10:31:52/6992/windowmessages.cpp:gpgol_window_proc: clearing last mail 10:31:52/6240/windowmessages.cpp:do_in_ui_thread: Sending message of type 1101 10:31:52/6992/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1101 10:31:52/6992/windowmessages.cpp:gpgol_window_proc: Invalidating UI 10:31:52/6992/gpgoladdin.cpp:invalidateRibbons: Invalidating ribbon: 264b9b88 10:31:52/6992/gpgoladdin.cpp:invalidateRibbons: Invalidation done. 10:31:52/6992/windowmessages.cpp:gpgol_window_proc: Invalidation done 10:31:52/6992/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel 10:31:52/6992/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 10:31:52/6992/oomhelp.cpp:get_pa_string: Property http://schemas.microsoft.com/mapi/string/{31805AB8-3E92-11DC-879C-00061B031004}/GpgOL UID/0x0000001F’ is not a string (vt=0)
10:31:52/6992/oomhelp.cpp:get_unique_id: No uuid found in oom for ‘21b32b28’
10:31:52/6992/mapihelp.cpp:mapi_get_uid: Failed to get prop for ‘136d7b9c’
10:31:52/6992/ribbon-callbacks.cpp:get_mail_from_control: Failed to get uid for 21b32b28
10:31:52/6992/ribbon-callbacks.cpp:get_sig_label: No mail.
10:31:52/6992/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge
10:31:52/6992/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
10:31:52/6992/oomhelp.cpp:get_pa_string: Property http://schemas.microsoft.com/mapi/string/{31805AB8-3E92-11DC-879C-00061B031004}/GpgOL UID/0x0000001F' is not a string (vt=0) 10:31:52/6992/oomhelp.cpp:get_unique_id: No uuid found in oom for '21b324a0' 10:31:52/6992/mapihelp.cpp:mapi_get_uid: Failed to get prop for '136d7b9c' 10:31:52/6992/ribbon-callbacks.cpp:get_mail_from_control: Failed to get uid for 21b324a0 10:31:52/6992/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getIsDetailsEnabled 10:31:52/6992/ribbon-callbacks.cpp:getContext: contextObj: _Explorer 10:31:52/6992/oomhelp.cpp:get_pa_string: Property http://schemas.microsoft.com/mapi/string/{31805AB8-3E92-11DC-879C-00061B031004}/GpgOL UID/0x0000001F’ is not a string (vt=0)
10:31:52/6992/oomhelp.cpp:get_unique_id: No uuid found in oom for ‘21b32760’
10:31:52/6992/mapihelp.cpp:mapi_get_uid: Failed to get prop for ‘136d7b9c’
10:31:52/6992/ribbon-callbacks.cpp:get_mail_from_control: Failed to get uid for 21b32760
10:31:52/6992/mailitem-events.cpp:Invoke: Removing Mail for message: 2d685d08.
10:31:53/6992/application-events.cpp:Invoke: ItemLoad event. Getting object.
10:31:53/6992/oomhelp.cpp:gpgol_queryInterface: QueryInterface failed hr=0x80004002
10:31:53/6992/application-events.cpp:Invoke: ItemLoad is not for a mail.
10:31:53/6992/mailitem-events.cpp:Invoke: Removing Mail for message: 21b32238.

Hi,

thanks for the report. I recently had a similar log for a crash. I don’t yet understand why this call fails:

10:31:52/6992/oomhelp.cpp:gpgol_openProperty: OpenProperty failed hr=0x8004010f MAPI_E_NOT_FOUND

but the error handling for this was broken and it is fixed with:

https://dev.gnupg.org/rO72290f1edda08860ef180c55642dd1c7fab7654b

So the new Version which we will release very soon will no longer crash there. But the decryption / verify of that message would still fail.

A current development snapshot with this fix is available under:
https://files.gpg4win.org/Beta/gpg4win-3.1.11-beta42/gpg4win-3.1.11-beta42.exe

Best Regards,
Andre