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

GHC ghc-devs at haskell.org
Sat Jul 27 17:20:28 CEST 2013


#8097: internal error: getMBlock: mmap: Operation not permitted
------------------------------+----------------------------------
       Reporter:  singpolyma  |             Owner:
           Type:  bug         |            Status:  new
       Priority:  normal      |         Milestone:
      Component:  Compiler    |           Version:  7.4.2
       Keywords:              |  Operating System:  Linux
   Architecture:  x86         |   Type of failure:  Runtime crash
     Difficulty:  Unknown     |         Test Case:
     Blocked By:              |          Blocking:
Related Tickets:              |
------------------------------+----------------------------------
 I get the following:

 {{{
 <interactive>: internal error: getMBlock: mmap: Operation not permitted
     (GHC version 7.4.2 for i386_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Aborted (core dumped)
 }}}

 when running

 {{{parseOnly queryKeyParse (Data.Text.pack "hello")}}}

 where:

 {{{
 queryKeyParse :: Attoparsec.Parser [T.Text]
 queryKeyParse = do
    top <- Attoparsec.takeTill (=='[')
    keys <- many key
    return (top:keys)
    where
    key = many (Attoparsec.char '[') *>
       Attoparsec.takeTill (==']') <* many (Attoparsec.char ']')
 }}}

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




More information about the ghc-tickets mailing list