niner / Inline-Perl5

Use Perl 5 code in a Raku program
Artistic License 2.0
94 stars 30 forks source link

Attempt to free unreferenced scalar (with Chart::Clicker) #153

Closed moritz closed 4 years ago

moritz commented 4 years ago

This short program (which loads tons of Perl 5 code under the hood):

    use v6.d;
    use Chart::Clicker::Axis::DateTime:from<Perl5>;

    my $axis = Chart::Clicker::Axis::DateTime.new(
        format => '%Y',
        position => 'bottom',
        orientation => 'horizontal'
    );

produces the message

Attempt to free unreferenced scalar: SV 0x557f0170e188, Perl interpreter: 0x557efd4ad2b0.

This with with

This is Rakudo version 2020.01 built on MoarVM version 2020.01.1
implementing Perl 6.d.

and

This is perl 5, version 28, subversion 1 (v5.28.1) built for x86_64-linux-gnu-thread-multi
(with 61 registered patches, see perl -V for more detail)

on Debian Buster.

niner commented 4 years ago

Fixed in commit f4473114a296a7ab61e6cfb7e1fe540fe931ec6b

Thanks for the report!