GPGMail: Mail crashes -> GPGMail for macOS 10.12 Sierra (Beta 1)

Lilly's Avatar


02 Jan, 2017 09:57 AM

Mail crashes instantly when I try to create a new email (e.g. when clicking the button for “new message”)

Mail should open a new window “empty message” when clicking the respective button

macOS           10.12.2     16C48b
GPG Suite       2016.12b1   26b 
GPGMail -
GPG Keychain    1.3.3b1     1249b
GPGServices     1.11        916 
MacGPG2         2.0.30      884 
GPGPreferences  2.0.2b1     908b
Libmacgpg       0.7         775 
pinentry        0.9.7       4
  1. Support Staff 1 Posted by Steve on 09 Jan, 2017 02:57 PM

    Steve's Avatar

    Hey Lilly,

    welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.

    Thanks for taking the time to file this report and sending in the crash logs.

    Are you able to reliably trigger the crash behavior or is it happen occasionally and rather random?

    All the best

  2. 2 Posted by Lilly on 11 Jan, 2017 02:20 PM

    Lilly's Avatar

    It happened all the time. I had to take the "GPGMail.mailbundle" out of
    the /Library/Mail/Bundles folder in order to get Mail working again and
    be able to write Mails.

    All the best

  3. Support Staff 3 Posted by Luke Le on 11 Jan, 2017 04:52 PM

    Luke Le's Avatar

    Hi Lilly,

    could you please elaborate a bit further on your mail setup and key setup.
    Do you only have one account setup in Mail or multiple?
    Do you have one key matching the email address of your Mail account or multiple keys matching the email address?

    Thanks for helping us debug this problem.

  4. 4 Posted by Lilly on 11 Jan, 2017 05:07 PM

    Lilly's Avatar

    Sure. I have 3 accounts set up in mail.
    One of these does not use a key.

    The other two accounts have one corresponding key each:

    Account Key
    [1] [1]
    [2] [2]
    [3] [-]

    Thanks for looking into this.

  5. Support Staff 5 Posted by Luke Le on 11 Jan, 2017 05:11 PM

    Luke Le's Avatar

    And the crash is happening immediately once you start composing an email?
    Could you please check if it makes a difference, if you select any of your other inboxes first? For some reason the sender address seems to be empty to GPGMail, and that's why it crashes.

  6. 6 Posted by Lilly on 11 Jan, 2017 05:27 PM

    Lilly's Avatar

    Now ... I reinstalled the Beta and tried: Mail crashes instantly when
    hitting the "compose" button, no matter if I select an account with or
    without key, as well as it crashes when I select the unified inbox.

  7. Support Staff 7 Posted by Luke Le on 11 Jan, 2017 06:13 PM

    Luke Le's Avatar

    Interesting. It appears that the problem is always the same. It should be an easy fix, but we'd love to find out more on how it occurs.

    I've attached a custom GPGMail build for you. This will still crash, but adds some more debugging info in the crash report.

    Could you please install it and let us know, when you've run it.

  8. 8 Posted by Lilly on 12 Jan, 2017 07:35 PM

    Lilly's Avatar

    Luke, with this bundle installed, I am not able to create a new message.
    Hitting the button or Command + N just does nothing ... in none of the
    Sorry for the bad news.

  9. Support Staff 9 Posted by Luke Le on 12 Jan, 2017 09:01 PM

    Luke Le's Avatar

    This is very interesting news.
    Could you try the following:

    1.) Open
    2.) Type in the search box "How can sender be nil"
    3.) Open and start composing a new message just as you did before when it always crashed.
    4.) Check to see if something is found.
    5.) Copy that and post it here


  10. Support Staff 10 Posted by Steve on 24 Feb, 2017 12:23 PM

    Steve's Avatar

    hey Lilly,

    could you please download and install our latest GPG Suite nightly build and see if the problem persists. That page also has sig and SHA1 to verify the download.

    Are you then still seeing those crashes?

    All the best,

    Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.

  11. 11 Posted by Lilly on 22 Mar, 2017 08:13 PM

    Lilly's Avatar

    Steve, so sorry to reply late, but I was quite busy, just couldn’t check on the topic. Now, with beta 3 it works, that I can say.

    Keep up the good work. Thanks a lot!

  12. Support Staff 12 Posted by Steve on 22 Mar, 2017 08:16 PM

    Steve's Avatar

    Hey Lilly,

    not a problem at all. Glad, this is solved for you. I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.

    Best, steve

  13. Steve closed this discussion on 22 Mar, 2017 08:16 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac