|
From: Marcin Ś. <mar...@gm...> - 2014-09-30 07:34:26
|
On Mon, Sep 29, 2014 at 06:00:46PM -0500, Rich Coe wrote: > Marcin > Check the return value of mmap() and if -1, print out the > value of errno. Indeed, it returns MAP_FAILED and sets errno to 22 (EINVAL). > Also, what hardware platform is this? amd64 (Intel Core i5) sw is Linux 3.15/glibc 2.19. > I'm guessing valgrind may be inforcing an alignment that system > mmap is not. Yeah, sounds right. Marcin |