error: can't mmap pool

Werner Koch wk@gnupg.org
Wed May 15 20:31:02 2002


On Wed, 15 May 2002 09:53:53 -0500, Callaghan, Brian said:

> Whatever I do with GnuPG i get the following error: gpg: can't mmap pool of
> 16384 bytes: Invalid argument - using malloc I have just upgraded from 1.0.6
> to 1.0.7. Because of this "Invalid argument" I guess there must be something

Something is wrong with the detection of a working mmap or we are
using it wrongly in gpg.  Malloc is used as a fallback.

The problem _might_ be that MAP_ANONYMOUS is not supported nut defined
in the header file.  An strace should help to investigate this.

Did it work with 1.0.6?

  Werner