Page MenuHome GnuPG

GPGOL crashes on Windows 10 / Outlook 2016
Closed, ResolvedPublic

Description

GPGOL is not usable for me. Each try to send a signed message ends up in a crash.

The Windows event log shows the following entries:

Add-in execution error. Outlook crashed during the 'AfterWrite' callback of the 'ItemEvents_10' interface while calling into the 'GpgOL - The GnuPG Outlook Plugin' add-in.
Add-in execution error. Outlook crashed during the 'Send' callback of the 'ItemEvents_10' interface while calling into the 'GpgOL - The GnuPG Outlook Plugin' add-in.

This is reproducible and renders the plugin unusable. FYI: Kleopatra and all other tools work perfectly fine.

GPG4Win version: 3.0.1

Event Timeline

stashimi_frank created this object in space S1 Public.
stashimi_frank added a project: Bug Report.
stashimi_frank updated the task description. (Show Details)
aheinecke added a subscriber: aheinecke.

Strange, do you have any other addons? Maybe some interference.

Could you please enable the GpgOL log (Described in https://www.gpg4win.org/doc/en/gpg4win-compendium_29.html ) and Post the result here.

Thanks!

Here you are

The only other plugin I'm running is the Google Sync plugin to synchronize my mails from GoogleApps.

12:33:04/13972/enabled debug flags:
12:33:04/13972/gpgoladdin.cpp:OnConnection: this is GpgOL 2.0.3
12:33:04/13972/gpgoladdin.cpp:OnConnection:   using GPGME 1.10.0-beta80
12:33:04/13972/gpgoladdin.cpp:OnConnection:   in Outlook 16.0.0.8625
12:33:04/13972/gpgoladdin.cpp:OnStartupComplete:423: tracepoint
12:33:04/9012/engine-assuan.c:spawn_background: Initial uiserver connect
12:33:04/9012/engine-assuan.c:connect_uiserver: Connecting
12:33:04/13972/Ensure category exists called for GpgOL: Encrypted Message, 8
12:33:04/9012/engine-assuan.c:connect_uiserver: initial try
12:33:04/13972/oomhelp.cpp:ensure_category_exists: Found category 'GpgOL: Encrypted Message'
12:33:04/13972/Ensure category exists called for GpgOL: Trusted Sender Address, 5
12:33:04/13972/oomhelp.cpp:ensure_category_exists: Found category 'GpgOL: Trusted Sender Address'
12:33:04/9012/engine-assuan.c:connect_uiserver: initial try succeded
12:33:04/9012/engine-assuan.c:connect_uiserver: About to send options
12:33:04/9012/engine-assuan.c:send_options: transacting
12:33:04/9012/engine-assuan.c:send_options: transaction done
12:33:04/9012/engine-assuan.c:send_options: Returning.
12:33:04/9012/engine-assuan.c:connect_uiserver: Options sent to uiserver
12:33:04/9012/engine-assuan.c:spawn_background: Sending noop
12:33:04/13972/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol.cfg' installed
12:33:04/13972/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-ms.cfg' installed
12:33:04/13972/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-cs.cfg' installed
12:33:04/13972/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-form-signed.cfg' installed
12:33:04/13972/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-form-encrypted.cfg' installed
12:33:04/13972/storing option `enableSmime' value=`1'
12:33:04/13972/storing option `encryptDefault' value=`0'
12:33:04/13972/storing option `signDefault' value=`1'
12:33:04/13972/storing option `previewDecrypt' value=`0'
12:33:04/13972/storing option `encodingFormat' value=`1'
12:33:04/13972/storing option `logFile' value=`c:\tmp\gpgol.log'
12:33:04/13972/storing option `defaultKey' value=`'
12:33:04/13972/storing option `enableDefaultKey' value=`0'
12:33:04/13972/storing option `gitCommit' value=`0x0'
12:33:04/13972/storing option `formsRevision' value=`335'
12:33:04/13972/storing option `announceNumber' value=`0'
12:33:04/13972/storing option `bodyAsAttachment' value=`0'
12:33:04/13972/storing option `mimeUI' value=`1'
12:33:04/13972/storing option `inlinePGP' value=`0'
12:33:04/13972/storing option `autoresolve' value=`1'
12:33:04/13972/storing option `replyCrypt' value=`1'
12:33:04/13972/storing option `deprecationShown' value=`0'
12:33:04/13972/gpgoladdin.cpp:check_html_preferred: no mail options under Software\Microsoft\Office\16.0\Outlook\Options\Mail
12:33:04/13972/gpgoladdin.cpp:GetCustomUI_MIME: GetCustomUI_MIME for id: Microsoft.Outlook.Mail.Read
12:33:04/13972/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: ribbonLoaded
12:33:04/13972/gpgoladdin.cpp:Invoke: enter with dispid: 11
12:33:04/13972/gpgoladdin.cpp:GetCustomUI_MIME: GetCustomUI_MIME for id: Microsoft.Outlook.Explorer
12:33:04/13972/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel
12:33:04/13972/gpgoladdin.cpp:Invoke: enter with dispid: 1b
12:33:04/13972/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
12:33:04/13972/oomhelp.cpp:get_oom_object:       error: no object
12:33:04/13972/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Inspector
12:33:04/13972/ribbon-callbacks.cpp:get_sig_label: No mail.
12:33:04/13972/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge
12:33:04/13972/gpgoladdin.cpp:Invoke: enter with dispid: 1d
12:33:04/13972/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
12:33:04/13972/oomhelp.cpp:get_oom_object:       error: no object
12:33:04/13972/ERROR/ribbon-callbacks.cpp:get_mail_from_control: Failed to get mailitem. From _Inspector
12:33:20/13972/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getIsDetailsEnabled
12:33:20/13972/gpgoladdin.cpp:Invoke: enter with dispid: 13
12:33:20/13972/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
12:33:20/13972/oomhelp.cpp:get_pa_variant: error: invoking GetProperty p=00000000 vt=0 hr=0x80020009 argErr=0x0
12:33:20/13972/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The property "http://schemas.microsoft.com/mapi/string/{31805AB8-3E92-11DC-879C-00061B031004}/GpgOL UID/0x0000001F" is unknown or cannot be found.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x8004010f
12:33:20/13972/oomhelp.cpp:get_unique_id: No uuid found in oom for '1E89ADB8'
12:33:20/13972/mapihelp.cpp:mapi_get_uid: Failed to get prop for '1F1F1594'
12:33:20/13972/ribbon-callbacks.cpp:get_mail_from_control: Failed to get uid for 1E89ADB8
12:33:20/13972/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel
12:33:20/13972/gpgoladdin.cpp:Invoke: enter with dispid: 1b
12:33:20/13972/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
12:33:20/13972/oomhelp.cpp:get_pa_variant: error: invoking GetProperty p=00000000 vt=0 hr=0x80020009 argErr=0x0
12:33:20/13972/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The property "http://schemas.microsoft.com/mapi/string/{31805AB8-3E92-11DC-879C-00061B031004}/GpgOL UID/0x0000001F" is unknown or cannot be found.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x8004010f
12:33:20/13972/oomhelp.cpp:get_unique_id: No uuid found in oom for '1E95A960'
12:33:20/13972/mapihelp.cpp:mapi_get_uid: Failed to get prop for '1F1F1594'
12:33:20/13972/ribbon-callbacks.cpp:get_mail_from_control: Failed to get uid for 1E95A960
12:33:20/13972/ribbon-callbacks.cpp:get_sig_label: No mail.
12:33:20/13972/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge
12:33:20/13972/gpgoladdin.cpp:Invoke: enter with dispid: 1d
12:33:20/13972/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
12:33:20/13972/oomhelp.cpp:get_pa_variant: error: invoking GetProperty p=00000000 vt=0 hr=0x80020009 argErr=0x0
12:33:20/13972/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The property "http://schemas.microsoft.com/mapi/string/{31805AB8-3E92-11DC-879C-00061B031004}/GpgOL UID/0x0000001F" is unknown or cannot be found.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x8004010f
12:33:20/13972/oomhelp.cpp:get_unique_id: No uuid found in oom for '1E95ACD0'
12:33:20/13972/mapihelp.cpp:mapi_get_uid: Failed to get prop for '1F1F1594'
12:33:20/13972/ribbon-callbacks.cpp:get_mail_from_control: Failed to get uid for 1E95ACD0
12:33:22/13972/application-events.cpp:Invoke: ItemLoad event. Getting object.
12:33:22/13972/application-events.cpp:Invoke: Creating mail object for item: 1F3672A8
12:33:22/13972/gpgoladdin.cpp:GetCustomUI_MIME: GetCustomUI_MIME for id: Microsoft.Outlook.Mail.Compose
12:33:22/13972/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSignEncryptLarge
12:33:22/13972/gpgoladdin.cpp:Invoke: enter with dispid: 6075
12:33:22/13972/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSignEncryptPressed
12:33:22/13972/gpgoladdin.cpp:Invoke: enter with dispid: 1e
12:33:22/13972/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
12:33:25/13972/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 3
12:33:25/8516/mail.cpp:do_locate searching key for recipient: "fschmid740@googlemail.com"
12:33:30/13972/mail.cpp:update_oom_data
12:33:30/13972/mailitem-events.cpp:Invoke: Passing write event.
12:33:30/13972/mail.cpp:update_oom_data
12:33:30/13972/oomhelp.cpp:get_oom_int: Property 'BodyFormat' not found: 0x80040108
12:33:30/13972/oomhelp.cpp:get_oom_string: Property 'HTMLBody' not found: 0x80040108

12:33:30/13972/oomhelp.cpp:get_oom_int: Property 'BodyFormat' not found: 0x80040108
12:33:30/13972/oomhelp.cpp:get_oom_string: Property 'HTMLBody' not found: 0x80040108

Outlook never seizes to surprise me. Not finding the HTMLBody property (its usually also there for Plain Text mails) is surprising and resulted in a bug in GpgOL that might have lead to a crash.

If you have the time it would be great if you could replace your gpgol.dll with the beta10 uploaded to: https://files.gpg4win.org/Beta/gpgol/ and try again? This version contains a fix for handling the case that HTMLBody property is not found.

Thanks in advance.

Done. Now Outlook does not crash anymore, but GPGOL emits an error dialog:

Here's the corresponding log:

13:14:18/8300/enabled debug flags:
13:14:18/8300/gpgoladdin.cpp:OnConnection: this is GpgOL 2.0.4-beta10
13:14:18/8300/gpgoladdin.cpp:OnConnection:   using GPGME 1.10.0
13:14:18/8300/gpgoladdin.cpp:OnConnection:   in Outlook 16.0.0.8625
13:14:18/10404/engine-assuan.c:spawn_background: Initial uiserver connect
13:14:18/10404/engine-assuan.c:connect_uiserver: Connecting
13:14:18/10404/engine-assuan.c:connect_uiserver: initial try
13:14:18/10404/engine-assuan.c:connect_uiserver: initial try succeded
13:14:18/10404/engine-assuan.c:connect_uiserver: About to send options
13:14:18/10404/engine-assuan.c:send_options: transacting
13:14:18/8300/gpgoladdin.cpp:OnStartupComplete:423: tracepoint
13:14:18/8300/Ensure category exists called for GpgOL: Encrypted Message, 8
13:14:18/8300/oomhelp.cpp:ensure_category_exists: Found category 'GpgOL: Encrypted Message'
13:14:18/8300/Ensure category exists called for GpgOL: Trusted Sender Address, 5
13:14:18/8300/oomhelp.cpp:ensure_category_exists: Found category 'GpgOL: Trusted Sender Address'
13:14:18/8300/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol.cfg' installed
13:14:18/8300/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-ms.cfg' installed
13:14:18/10404/engine-assuan.c:send_options: transaction done
13:14:18/10404/engine-assuan.c:send_options: Returning.
13:14:18/10404/engine-assuan.c:connect_uiserver: Options sent to uiserver
13:14:18/10404/engine-assuan.c:spawn_background: Sending noop
13:14:18/8300/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-cs.cfg' installed
13:14:18/8300/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-form-signed.cfg' installed
13:14:18/8300/olflange.cpp:install_forms: form `C:\Program Files (x86)\Gpg4win\share\gpgol\gpgol-form-encrypted.cfg' installed
13:14:18/8300/storing option `enableSmime' value=`1'
13:14:18/8300/storing option `encryptDefault' value=`0'
13:14:18/8300/storing option `signDefault' value=`1'
13:14:18/8300/storing option `previewDecrypt' value=`0'
13:14:18/8300/storing option `encodingFormat' value=`1'
13:14:18/8300/storing option `logFile' value=`c:\tmp\gpgol.log'
13:14:18/8300/storing option `defaultKey' value=`'
13:14:18/8300/storing option `enableDefaultKey' value=`0'
13:14:18/8300/storing option `gitCommit' value=`0x0'
13:14:18/8300/storing option `formsRevision' value=`335'
13:14:18/8300/storing option `announceNumber' value=`0'
13:14:18/8300/storing option `bodyAsAttachment' value=`0'
13:14:18/8300/storing option `mimeUI' value=`1'
13:14:18/8300/storing option `inlinePGP' value=`0'
13:14:18/8300/storing option `autoresolve' value=`1'
13:14:18/8300/storing option `replyCrypt' value=`0'
13:14:18/8300/storing option `deprecationShown' value=`0'
13:14:18/8300/gpgoladdin.cpp:check_html_preferred: no mail options under Software\Microsoft\Office\16.0\Outlook\Options\Mail
13:14:18/14472/windowmessages.cpp:delayed_invalidate_ui: Invalidation canceled as it is in progress.
13:14:18/8300/application-events.cpp:Invoke: ItemLoad event. Getting object.
13:14:18/8300/application-events.cpp:Invoke: Creating mail object for item: 031479A8
13:14:18/8300/mapihelp.cpp:mapi_change_message_class: checking message class `IPM.Note'
13:14:18/8300/mapihelp.cpp:change_message_class_ipm_note: content type is 'text/html'
13:14:18/8300/ERROR/mail.cpp:pre_process_message: Failed to find moss attachment.
13:14:18/4276/windowmessages.cpp:delayed_invalidate_ui: Invalidation canceled as it is in progress.
13:14:19/8300/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 1
13:14:19/8300/windowmessages.cpp:gpgol_window_proc: Invalidating UI
13:14:19/8300/windowmessages.cpp:gpgol_window_proc: Invalidation done
13:14:19/8300/gpgoladdin.cpp:GetCustomUI_MIME: GetCustomUI_MIME for id: Microsoft.Outlook.Explorer
13:14:19/8300/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: ribbonLoaded
13:14:19/8300/gpgoladdin.cpp:Invoke: enter with dispid: 11
13:14:19/8300/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getIsDetailsEnabled
13:14:19/8300/gpgoladdin.cpp:Invoke: enter with dispid: 13
13:14:19/8300/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
13:14:19/8300/oomhelp.cpp:get_pa_variant: error: invoking GetProperty p=00000000 vt=0 hr=0x80020009 argErr=0x0
13:14:19/8300/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The property "http://schemas.microsoft.com/mapi/string/{31805AB8-3E92-11DC-879C-00061B031004}/GpgOL UID/0x0000001F" is unknown or cannot be found.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x8004010f
13:14:19/8300/oomhelp.cpp:get_unique_id: No uuid found in oom for '1F2B38F0'
13:14:19/8300/mapihelp.cpp:mapi_get_uid: Failed to get prop for '169E7BBC'
13:14:19/8300/ribbon-callbacks.cpp:get_mail_from_control: Failed to get uid for 1F2B38F0
13:14:19/8300/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSigLabel
13:14:19/8300/gpgoladdin.cpp:Invoke: enter with dispid: 1b
13:14:19/8300/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
13:14:19/8300/oomhelp.cpp:get_pa_variant: error: invoking GetProperty p=00000000 vt=0 hr=0x80020009 argErr=0x0
13:14:19/8300/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The property "http://schemas.microsoft.com/mapi/string/{31805AB8-3E92-11DC-879C-00061B031004}/GpgOL UID/0x0000001F" is unknown or cannot be found.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x8004010f
13:14:19/8300/oomhelp.cpp:get_unique_id: No uuid found in oom for '1F3A47A8'
13:14:19/8300/mapihelp.cpp:mapi_get_uid: Failed to get prop for '169E7BBC'
13:14:19/8300/ribbon-callbacks.cpp:get_mail_from_control: Failed to get uid for 1F3A47A8
13:14:19/8300/ribbon-callbacks.cpp:get_sig_label: No mail.
13:14:19/8300/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSigstateLarge
13:14:19/8300/gpgoladdin.cpp:Invoke: enter with dispid: 1d
13:14:19/8300/ribbon-callbacks.cpp:getContext: contextObj: _Explorer
13:14:19/8300/oomhelp.cpp:get_pa_variant: error: invoking GetProperty p=00000000 vt=0 hr=0x80020009 argErr=0x0
13:14:19/8300/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The property "http://schemas.microsoft.com/mapi/string/{31805AB8-3E92-11DC-879C-00061B031004}/GpgOL UID/0x0000001F" is unknown or cannot be found.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x8004010f
13:14:19/8300/oomhelp.cpp:get_unique_id: No uuid found in oom for '1F3D2C80'
13:14:19/8300/mapihelp.cpp:mapi_get_uid: Failed to get prop for '169E7BBC'
13:14:19/8300/ribbon-callbacks.cpp:get_mail_from_control: Failed to get uid for 1F3D2C80
13:14:25/8300/application-events.cpp:Invoke: ItemLoad event. Getting object.
13:14:25/8300/application-events.cpp:Invoke: Creating mail object for item: 1F66F120
13:14:25/8300/gpgoladdin.cpp:GetCustomUI_MIME: GetCustomUI_MIME for id: Microsoft.Outlook.Mail.Compose
13:14:25/8300/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: btnSignEncryptLarge
13:14:25/8300/gpgoladdin.cpp:Invoke: enter with dispid: 6075
13:14:25/8300/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: getSignEncryptPressed
13:14:25/8300/gpgoladdin.cpp:Invoke: enter with dispid: 1e
13:14:25/8300/ribbon-callbacks.cpp:getContext: contextObj: _Inspector
13:14:28/8300/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 3
13:14:28/7204/mail.cpp:do_locate searching key for recipient: "fschmid740@googlemail.com"
13:14:32/8300/mail.cpp:update_oom_data
13:14:32/8300/mail.cpp:update_oom_data: Is html alternative mail.
13:14:32/8300/mailitem-events.cpp:Invoke: Passing write event.
13:14:32/8300/mail.cpp:update_oom_data
13:14:32/8300/oomhelp.cpp:get_oom_int: Property 'BodyFormat' not found: 0x80040108
13:14:32/8300/oomhelp.cpp:get_oom_object:       error: 'SendUsingAccount' p=00000000 vt=0 hr=0x80020009 argErr=0x0
13:14:32/8300/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The item's properties and methods cannot be used inside this event procedure.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x80040108
13:14:32/8300/oomhelp.cpp:get_oom_object:       error: 'Sender' p=00000000 vt=0 hr=0x80020009 argErr=0x0
13:14:32/8300/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The item's properties and methods cannot be used inside this event procedure.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x80040108
13:14:32/8300/oomhelp.cpp:get_oom_object:       error: 'Session' p=00000000 vt=0 hr=0x80020009 argErr=0x0
13:14:32/8300/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The item's properties and methods cannot be used inside this event procedure.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x80040108
13:14:32/8300/mail.cpp:update_oom_data: All fallbacks failed.
13:14:32/8300/mapihelp.cpp:mapi_create_attach_table: message has 0 attachments
13:14:32/8300/engine-assuan.c:connect_uiserver: Connecting
13:14:32/8300/engine-assuan.c:connect_uiserver: initial try
13:14:32/8300/engine-assuan.c:connect_uiserver: initial try succeded
13:14:32/8300/engine-assuan.c:connect_uiserver: About to send options
13:14:32/8300/engine-assuan.c:send_options: transacting
13:14:32/8300/engine-assuan.c:send_options: transaction done
13:14:32/8300/engine-assuan.c:send_options: Returning.
13:14:32/8300/engine-assuan.c:connect_uiserver: Options sent to uiserver
13:14:32/8300/engine.c:engine_cancel: filter 22D82068: canceled
13:14:32/8300/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 3
13:14:32/8300/oomhelp.cpp:get_oom_object:       error: 'Recipients' p=00000000 vt=0 hr=0x80020009 argErr=0x0
13:14:32/8300/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The item's properties and methods cannot be used inside this event procedure.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x80040108
13:14:32/8300/mail.cpp:get_recipients:1293: tracepoint
13:14:32/8300/mail.cpp:locate_keys:2197: tracepoint
13:14:32/8300/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 3
13:14:32/8300/oomhelp.cpp:get_oom_object:       error: 'Recipients' p=00000000 vt=0 hr=0x80020009 argErr=0x0
13:14:32/8300/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The item's properties and methods cannot be used inside this event procedure.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x80040108
13:14:32/8300/mail.cpp:get_recipients:1293: tracepoint
13:14:32/8300/mail.cpp:locate_keys:2197: tracepoint
13:14:32/8300/windowmessages.cpp:gpgol_window_proc: Recieved user msg: 3
13:14:32/8300/oomhelp.cpp:get_oom_object:       error: 'Recipients' p=00000000 vt=0 hr=0x80020009 argErr=0x0
13:14:32/8300/oomhelp.cpp:dump_excepinfo: Exception: 
              wCode: 0x1000
              wReserved: 0x0
              source: Microsoft Outlook
              desc: The item's properties and methods cannot be used inside this event procedure.
              help: null
              helpCtx: 0x0
              deferredFill: 00000000
              scode: 0x80040108
13:14:32/8300/mail.cpp:get_recipients:1293: tracepoint
13:14:32/8300/mail.cpp:locate_keys:2197: tracepoint
13:14:35/8300/mail.cpp:encrypt_sign: Status: -1
13:14:35/8300/mailitem-events.cpp:Invoke: Message 1F66F120 cancelling send - crypto failed.
13:14:39/8300/mailitem-events.cpp:Invoke: Removing Mail for message: 1F66F120.

Thanks.
So GpgOL can neither figure out the sender's address nor the recpients. It then fails to do crypto because kleo does not know who it should encrypt to.

I'm installing Google App Sync myself now to test with a gmail account. I need to reproduce such a state to do some introspection where the sender / recipients are available in this case.

I'm using the same Outlook 16.0.0.8625 on Windows 10 with a Gmail Account over IMAP and I have the Google Apps Sync plugin enabled. Everything works fine :-(
What is your senders account? Is that also GMail or something different. In the log I only see that the recipient is GMail.

Do you have your account configured through the google apps sync thingy or just as an imap account?

I can't seem to run the G Sync setup tools as they immediately crash for me, so I don't really know what this is supposed to do. :-/

I use the Google Sync plugin to connect with our company Google Apps account. It also synchronizes the calendar entries as well as all other special stuff.
I'm quite sure that the standard POP/IMAP mechanisms in Outlook might not deliver the sender's address (however the receipient's address is contained in the logs above - my googlemail.com address).

Although the sender's field in the Outlook send email dialog shows my sender address correctly.
The G Suite plugin installs a Windows MAPI provider that is the one showing up under email profiles in the control panel.

Ok I'm pretty sure that the Google MAPI provider is the problem because it likely has some different Data structures.
For Sender we already have three fallbacks as it's saved differently for Exchange over MAPI, Exchange Active Sync and IMAP. So we probably need another fallback for Google Sync >.<

aheinecke raised the priority of this task from Normal to High.Nov 28 2017, 8:02 AM

I put it at high priority because i want to check / fix this before the next release.

aheinecke added a project: Duplicate.

Oops I just noticed that this was already reported in T3424 which I somehow overlooked. Let's handle it there as there are more subscribers in that report and it's older.

Thanks for the efforts. I will subscribe there to be up to date :-)