Skip to content

<stdout>: commitAndReleaseBuffer: invalid argument (invalid character)

I get the following error...

<stdout>: commitAndReleaseBuffer: invalid argument (invalid character)

When running following program:

   {-# 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
Trac metadata
Trac field Value
Version 7.6.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC teodor_spaeren@riseup.net
Operating system OpenBSD
Architecture x86_64 (amd64)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information