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

GHC ghc-devs at haskell.org
Thu Aug 8 16:30:20 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
       Keywords:                  |  Operating System:  OpenBSD
   Architecture:  x86_64 (amd64)  |   Type of failure:  Runtime crash
     Difficulty:  Unknown         |         Test Case:
     Blocked By:                  |          Blocking:
Related Tickets:                  |
----------------------------------+----------------------------------
 I get the following error...
 {{{
 <stdout>: commitAndReleaseBuffer: invalid argument (invalid character)
 }}}

 When running following program:
 {{{#!haskell
    {-# LANGUAGE OverloadedStrings #-}

 import qualified Data.Text    as T
 import qualified Data.Text.IO as T

 main = T.putStrLn "čušpajž日本語"
 }}}

 Was tested in #haskell and I have all the UTF-8 Settings set and so forth.
 It compiles just fine, but crashes during runtime.

 gcc -v:
 {{{
 Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd5.4/4.2.1/specs
 Target: amd64-unknown-openbsd5.4
 Configured with: OpenBSD/amd64 system compiler
 Thread model: posix
 gcc version 4.2.1 20070719
 }}}

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




More information about the ghc-tickets mailing list