[GHC] #8118: <stdout>: commitAndReleaseBuffer: invalid argument (invalid character)
GHC
ghc-devs at haskell.org
Tue Apr 10 12:54:45 UTC 2018
#8118: <stdout>: commitAndReleaseBuffer: invalid argument (invalid character)
-------------------------------------+-------------------------------------
Reporter: guest | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: #5666 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by nh2):
On Windows Server 2016 (as provisioned by AWS Windows instances, into
which I RDP'd), with the Locale set to Japanese (as described in
https://www.java.com/en/download/help/locale.xml -- this sets the code
page, as shown by `chcp`, to `932` in PowerShell and cmd.exe), when trying
to reproduce the bug with the code from the issue description, **I already
see GHC itself dying with the same error** during `stack setup`:
{{{
PS C:\Users\日\Desktop\ghc-bug-8118> stack setup
The GHC located at C:\Users\譌・
\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.2\bin\ghc.EXE failed
to compile a sanity check. Please see:
http://docs.haskellstack.org/en/stable/install_and_upgrade/
for more information. Exception was:
Running C:\Users\譌・
\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.2\bin\ghc.EXE
C:\Users\譌・\AppData\Local\Temp\4\stack-sanity-check32792\Main.hs -no-
user-package-db in directory C:\Users\譌・\AppData\Local\Temp\4\stac
k-sanity-check32792\ exited with ExitFailure 1
[1 of 1] Compiling Main ( C:\Users\・ス・ス\AppData\Local\Temp\4
\stack-sanity-check32792\Main.hs, C:\Users\・ス・ス\AppData\Local\Temp\4
\stack-sanity-check32792\Main.o )
Linking C:\Users\・ス・ス\AppData\Local\Temp\4\stack-sanity-
check32792\Main.exe ...
C:\Users\・ス・ス\AppData\Local\Temp\4\ghc34616_0\ghc_6.rsp: commitBuffer:
invalid argument (invalid character)
}}}
(Note that this is not how I see it in PowerShell, where all backslashes
are replaced by the Yen sign, but this is as I see it when I copy-paste
the output into Sublime Text 3 or a Firefox window).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8118#comment:22>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list