[GHC] #8097: internal error: getMBlock: mmap: Operation not permitted
GHC
ghc-devs
Thu Oct 10 19:58:46 UTC 2013
#8097: internal error: getMBlock: mmap: Operation not permitted
----------------------------------+------------------------------
Reporter: singpolyma | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone:
Component: Compiler | Version: 7.4.2
Resolution: | Keywords:
Operating System: Linux | Architecture: x86
Type of failure: Runtime crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
----------------------------------+------------------------------
Comment (by rwbarton):
Hmm, interesting. I couldn't reproduce with GHC 7.4.2 on Debian Linux
2.6.32-5-686 (mmap_min_addr = 65536). What kernel version are you running
(`uname -a`)? And can you run your program under strace:
{{{
strace -e trace=mmap2 -o log ./countUniques
}}}
and attach the last page or so of `log` to this ticket?
I'm 95% sure that in HEAD, you will get an out of memory error rather than
this "Operation not permitted" error, but I'd like to understand what's
going on here.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8097#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list