> mmap(0x802001000, 4194304, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0, 0) = -1 EINVAL (Invalid argument)
What is SHMLBA for this configuration? [grep -sr SHMLBA /usr/include] And on the same topic, what is the page size? [grep -sr PAGE_SIZE /usr/include] Every successful mmap() return value happens to be a multiple of 0x2000 (8KiB); there are no odd multiples of 0x1000 (4KiB). [Some ARM machines have an SHMLBA of 0x4000 (16KiB) even though the page size is 0x1000 (4KiB).] Construct a standalone test program whose sole action is that call to mmap(). Does the mmap() succeed there? -- ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users