Valgrind: mmap (0x600000, 8192) failed in UME with error 12 (cannot allocate memory)

I followed this exercise . There are installation instructions for Valgrind 3.6.1 on this page, but this version of Valgrind is not supported by my current version of the Linux kernel. So, I installed Valgrind 3.11.0 and followed the instructions after running this command:

  $ valgrind ./ex4

got this error:

valgrind: mmap(0x600000, 8192) failed in UME with error 12 (Cannot allocate memory).

How to do it?

I am using Ubuntu 14.04 LTS with kernel version 4.4.0

+4
source share
1 answer

, , , ​​ . :
https://bugzilla.redhat.com/show_bug.cgi?id=1301093

, .
. Ubuntu 14.04 3.16.0-67, - .

. OP, ​​ 4.5.2.

+2

All Articles