Bug#1064470: barfs on superfluous environment variable
Zefram
zefram at fysh.org
Thu Feb 22 18:49:21 GMT 2024
Package: rakudo
Version: 2020.12+dfsg-1
Severity: normal
Here's an invocation of raku(1) to perform a trivial action:
$ raku -e 'say "hi"'
hi
$
And here's the same invocation with an irrelevant environment variable
added:
$ A=$'\xcc\x81'
$ for p in 0 1 2 3 4 5 6 7 8 9; do A=$A$A; done
$ export A
$ raku -e 'say "hi"'
Unhandled exception: Too many codepoints (1025) in grapheme
at src/vm/moar/ModuleLoader.nqp:11 (/usr/share/nqp/lib/ModuleLoader.moarvm:search_path)
from src/vm/moar/ModuleLoader.nqp:133 (/usr/share/nqp/lib/ModuleLoader.moarvm:)
from src/vm/moar/ModuleLoader.nqp:130 (/usr/share/nqp/lib/ModuleLoader.moarvm:load_setting)
from <unknown>:1 (/usr/lib/perl6/runtime/perl6.moarvm:<dependencies+deserialize>)
$
raku(1) should not be failing because of an environment variable that
isn't controlling anything and isn't being referenced.
-zefram
More information about the Pkg-rakudo-devel
mailing list