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
REPL: Internal error: unhandled encoding (Readline) #2759
Comments
|
Potentially related: https://gist.github.com/0racle/c7e65b6946a30479cf8493fbafc04f53. |
|
Also, in case anyone else hits this error: My current workaround is the following wrapper script ( #!/bin/sh
# workaround for https://github.com/rakudo/rakudo/issues/2759
RAKUDO_LINE_EDITOR='none' rlwrap perl6 "$@"—no need to uninstall |
|
I thought this was an OpenBSD exclusive thing since it uses its own version of Readline... huh. |
|
Does this still happen? I can't get the error to appear on HEAD |
|
Ping @cfa :) |
|
I also can't reproduce. Blocker label removed. If anybody stumbles upon this ticket in the future, just close it. |
The Problem
Intermittent internal errors from
Readline, e.g.Note how the same input triggers the exception in one run but not the next. This has occurred with a variety of input and seemingly at random—though frequently enough to make the REPL nigh unusable.
Also note that errors usually occur midway through a REPL session; the above was cherrypicked for clarity.
Expected Behavior
Handled encoding!
Actual Behavior
See above.
Following a discussion in
#perl6, I also tried withMVM_SPESH_DISABLE=1andMVM_JIT_DISABLE=1; neither helped:and
(Again, quite a few runs were required to reproduce the error at the beginning of the session.)
Environment
perl6 -v): 2019.03. Problem first noticed following upgrade from 2018.12.The text was updated successfully, but these errors were encountered: