The Haskell code expects to get NULL if mmap() does not allocate at the
requested address. But instead mmap() seems to return an address below 8
GiB. This is expected behavior according to the mmap.2 manpage.

It is unclear why Haskell does not simply accept the allocation but
retries endlessly. Haskell should not expect that the next call to
mmap() with the same parameters yields a different result.

We should open an upstream bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2111581

Title:
  Haskell's default behaviour of using large-address-space is causing
  pandoc to stuck in an infinite loop on QEMU 10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghc/+bug/2111581/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to