#3865: On amd64, reading attached file gives "hGetContents: invalid argument
(Invalid or incomplete multibyte or wide character)"
-------------------------------+--------------------------------------------
    Reporter:  dsf             |       Owner:              
        Type:  bug             |      Status:  new         
    Priority:  normal          |   Component:  Compiler    
     Version:  6.13            |    Keywords:              
          Os:  Linux           |    Testcase:              
Architecture:  x86_64 (amd64)  |     Failure:  None/Unknown
-------------------------------+--------------------------------------------
 This error seems to be related somehow to locale, but it never happens on
 the i386 so I'm a bit mystified.  I had another file which got the error
 in a build environment that didn't have any files in /usr/lib/locales, but
 worked when those files were there.  The attached file fails whether the
 files are in /usr/lib/locales or not.  Just read it to get the error:

 readFile "testinput" >>= putStr

 Hopefully it is reproducible out there and isn't related to our build.  We
 are using ghc 6.13-20091231.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3865>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to