On Fri, 12 May 2017 20:15:41 -0700, c...@zoffix.com wrote: > Doesn't affect Perl 6-level code, but perhaps a SEGV is too bad and > should be fixed? > > perl6 -Mnqp -e 'nqp::closedir(my $fh := nqp::opendir(".")); > nqp::nextfiledir($fh)' > Segmentation fault
Thank you for the report. This is now fixed. Fix: https://github.com/MoarVM/MoarVM/commit/22fb8e49c02a8a3cae33333faa18106815c8e526 https://github.com/perl6/nqp/commit/de324a2d0f94449f43c7c0a48dbf8257e3631f9e https://github.com/rakudo/rakudo/commit/902fac5cec Test: https://github.com/perl6/nqp/commit/9c4d4586c0