[GHC] #8097: internal error: getMBlock: mmap: Operation not permitted

GHC ghc-devs
Fri Oct 11 08:25:23 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 SirReal):

 Replying to [comment:4 rwbarton]:
 > Hmm, interesting. I couldn't reproduce with GHC 7.4.2 on Debian Linux
 2.6.32-5-686 (mmap_min_addr = 65536). How are you building your program
 (e.g., are you using `-O2`)? 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.

 The build was: {{{ghc -Werror -Wall -O2}}}
 I've attached the end of the log.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8097#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list