Follow-up to Crashes with gpg-agent 2.1.18

Matthew Summers matthew.summers at syapse.com
Mon Jun 5 06:00:32 CEST 2017


On Sun, Jun 4, 2017 at 10:41 PM, Matthew Summers
<matthew.summers at syapse.com> wrote:
> On Sun, Jun 4, 2017 at 10:35 PM, Matthew Summers
> <matthew.summers at syapse.com> wrote:
>> `--enable-large-secmem` so I assume it's at 64kb now.
>
> Ha, I wonder if this will take care of things
>
> diff --git a/configure b/configure
> index 61a111e..96850dd 100755
> --- a/configure
> +++ b/configure
> @@ -5536,7 +5536,7 @@ fi
> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $large_secmem" >&5
> $as_echo "$large_secmem" >&6; }
> if test "$large_secmem" = yes ; then
> -   SECMEM_BUFFER_SIZE=65536
> +   SECMEM_BUFFER_SIZE=262144
> else
>    SECMEM_BUFFER_SIZE=32768
> fi

Using SECMEM_BUFFER_SIZE=1048576 I can run 100 parallel decrypt
operations again without crashes!
(i.e. yes gpg.txt.asc | head -n 50 | xargs -n 1 -P 50 gpg -qd)



More information about the Gnupg-devel mailing list