bug: notmuch show --decrypt leads to SIGSEGV
Matt Armstrong
marmstrong at google.com
Tue Aug 15 12:10:28 PDT 2017
David Bremner <david at tethera.net> writes:
> Matt Armstrong <marmstrong at google.com> writes:
>
>> I've been able to diagnose a SIGSEGV, and I have a workaround that
>> satisfies me. I'm unsure how to fix it, so I'll describe the problem
>> and leave it at that.
>>
>> Repro:
>>
>> % notmuch --version
>> notmuch 0.25+22~g0967e46 (a recent git @HEAD)
>> % notmuch show --format=sexp --decrypt thread:000000000002ad2c
>> -> SIGSEGV
>
> Do you have a way for people other than you to reproduce it? I assume
> not all threads are a problem for you with --decrypt?
The times I have encountered this involve email I can't reveal, so a
repro would take some work. I'm happy to try to dig out specific
details, but I'm at a slight disadvantage here due to unfamiliarity.
I didn't this notice this before, but I am getting this on stderr:
"Failed to construct pkcs7 context."
So g_mime_gpg_context_new() is returning NULL.
I am running an old Ubuntu variant. My libgmime is libgmime-2.6-dev.
Looks like nothing in the API contract for g_mime_gpg_context_new()
states that it never returns NULL. Still, it appears that libgmime is
built with ENABLE_CRYPTOGRAPHY (when I download gmime source and
debbuild it, config.h sets that macro), so I'm at a loss for why that
function would return an error.
More information about the notmuch
mailing list