]> git.ipfire.org Git - thirdparty/valgrind.git/commit
none/tests/amd64-linux/map_32bits.vgtest fails too easily
authorMark Wielaard <mark@klomp.org>
Thu, 11 Apr 2019 16:06:34 +0000 (18:06 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 11 Apr 2019 16:08:08 +0000 (18:08 +0200)
commit535d2ff4f2f755faa8b1a9e467833eca455bd2d7
treecd62c4220af9cc3831a3d6a0cdd4af7a7388c588
parenteacf885df231037fd6a02ada7a7cafb44ce6b89c
none/tests/amd64-linux/map_32bits.vgtest fails too easily

On various systems none/tests/amd64-linux/map_32bits.vgtest fails with:
first mmap: Cannot allocate memory.

The problem is that the --aspace-minaddr is too tight. Newer glibc seem
to mmap some memory and so even our first mmap with MMAP_32BIT will fail.

The solution is to make a bit more memory < 2GB available.
If there is 16MB available the test always seems to succeed without
needing too many tries. The original 256K is too low.

https://bugs.kde.org/show_bug.cgi?id=406422
NEWS
none/tests/amd64-linux/map_32bits.vgtest