[GHC] #8118: <stdout>: commitAndReleaseBuffer: invalid argument (invalid character)

GHC ghc-devs at haskell.org
Thu Aug 8 16:41:02 CEST 2013


#8118: <stdout>: commitAndReleaseBuffer: invalid argument (invalid character)
----------------------------------+----------------------------------
        Reporter:  guest          |            Owner:
            Type:  bug            |           Status:  new
        Priority:  normal         |        Milestone:
       Component:  Compiler       |          Version:  7.6.3
      Resolution:                 |         Keywords:
Operating System:  OpenBSD        |     Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |       Difficulty:  Unknown
       Test Case:                 |       Blocked By:
        Blocking:                 |  Related Tickets:
----------------------------------+----------------------------------

Comment (by YitzGale):

 This seems to be a problem with iconv in 7.6.3 on OpenBSD.

 When this was run at the GHCi prompt:

 {{{
 putStrLn . Data.Text.unpack . Data.Text.Encoding.decodeUtf8 $
 Data.ByteString.pack
 [0xc4,0x8d,0x75,0xc5,0xa1,0x70,0x61,0x6a,0xc5,0xbe,0xe6,0x97,0xa5,0xe6,0x9c,0xac,0xe8,0xaa,0x9e]
 }}}

 The result was:

 {{{
 *** Exception: <stdout>: hPutChar: invalid argument (invalid character)
 }}}

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




More information about the ghc-tickets mailing list