Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RyuJIT/ARM32] Unhandled Exception: System.ArgumentException: The output byte buffer is too small to contain the encoded data, encoding 'US-ASCII' fallback 'System.Text.EncoderReplacementFallback' #8721

Closed
hqueue opened this issue Aug 10, 2017 · 2 comments
Assignees
Labels
arch-arm32 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI bug
Milestone

Comments

@hqueue
Copy link
Member

hqueue commented Aug 10, 2017

With COMPlus_AltJit=*, following exception is observed from Release build of CoreCLR.

FAILED   - [6333][  54s]JIT/Performance/CodeQuality/BenchmarksGame/fasta/fasta/fasta.sh
               BEGIN EXECUTION
               /var/jenkins59/workspace/hqueue/Run_coreclr_tests_Checked_ryujit_nyi_all_pri2/runtime/tests/Tests/coreoverlay/corerun fasta.exe

               Unhandled Exception: System.ArgumentException: The output byte buffer is too small to contain the encoded data, encoding 'US-ASCII' fallback 'System.Text.EncoderReplacementFallback'.
               Parameter name: bytes
                  at System.Text.Encoding.ThrowBytesOverflow()
                  at System.Text.Encoding.ThrowBytesOverflow(EncoderNLS encoder, Boolean nothingEncoded)
                  at System.Text.ASCIIEncoding.GetBytes(Char* chars, Int32 charCount, Byte* bytes, Int32 byteCount, EncoderNLS encoder)
                  at System.Text.ASCIIEncoding.GetBytes(String chars, Int32 charIndex, Int32 charCount, Byte[] bytes, Int32 byteIndex)
                  at System.Text.Encoding.GetBytes(String s)
                  at BenchmarksGame.Fasta.MakeRepeatFasta(String id, String desc, Byte[] alu, Int32 n, Stream s)
                  at BenchmarksGame.Fasta.Main(String[] args)
               ./fasta.sh: line 243: 31482 Aborted                 $_DebuggerFullPath "$CORE_ROOT/corerun" $ExePath $CLRTestExecutionArguments
               Expected: 100
               Actual: 134
               END EXECUTION - FAILED

Related tests:

FAILED   - [6333][  54s]JIT/Performance/CodeQuality/BenchmarksGame/fasta/fasta/fasta.sh
FAILED   - [6334][  31s]JIT/Performance/CodeQuality/BenchmarksGame/fastaredux/fastaredux/fastaredux.sh
FAILED   - [6335][  31s]JIT/Performance/CodeQuality/BenchmarksGame/k-nucleotide/k-nucleotide/k-nucleotide.sh
@hqueue
Copy link
Member Author

hqueue commented Aug 10, 2017

@BruceForstall Please assign this to me.

@hqueue
Copy link
Member Author

hqueue commented Aug 16, 2017

With recent commit (fix bugs and regression), all three test passed.

@hqueue hqueue closed this as completed Aug 16, 2017
@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm32 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI bug
Projects
None yet
Development

No branches or pull requests

2 participants