whateverable
whateverable copied to clipboard
Malformed UTF-8
In some cases we get errors like this:
Unhandled exception in code scheduled on thread 20
Malformed UTF-8
The source of it seems to be a Proc::Async from get-output sub.
Logically, one would want to use $proc.stdout(:enc<utf8-c8>) to make it work, but it only corrupts memory.
So the issue is not in whateverable, as I believe. There's something wrong with rakudo and it has to be rakudobugged, but right now I don't know what exactly.
Again: https://irclog.perlgeek.de/perl6-dev/2017-06-26#i_14787712
Should be fixed with https://github.com/rakudo/rakudo/commit/49f555a2fb.
Probably not.
<AlexDaniel> greppable6: kill[^-']
*** greppable6 has quit: Remote host closed the connection
Unhandled exception in code scheduled on thread 20
Malformed UTF-8
link: https://github.com/perl6/whateverable/issues/24
Still present even after RT #131961, but this time I don't know if rakudo is at fault.
I think this was resolved in https://github.com/perl6/whateverable/commit/04beb801aba61ee10ba0e0630f406419e8b7c278, tests needed.
FWIW for tests, one of the examples that was failing:
greppable6:
\+\+\$[\W\s]No! It wasn't me! It was the one-armed man! Backtrace: https://gist.github.com/afcbfddf27d18f0aa684db062da7da52
I think the problem in that case was with some weird characters in a module.