flexible-mmap breaks application