Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

MAST::Frame error encountered. #5800

Open p6rt opened 7 years ago

p6rt commented 7 years ago

Migrated from rt.perl.org#130095 (status was 'open')

Searchable as RT130095$

p6rt commented 7 years ago

From clifton.wood@gmail.com

While working on a Perl project, I ran into an odd error trying to create a test script.

You can find the entire project, here​: https://github.com/Xliff/p6-xslt

I have attached the relevant scripts to this message.

The error message follows​:

cbwood@​infinity​:\~/projects/p6-xml-xslt$ perl6 --ll-exception -I ../p6-XML-LibXML-work/lib -I lib t/01-basic.t Expected MAST​::Frame, but didn't get one   at gen/moar/stage2/QAST.nqp​:6644 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/QAST.moarvm​:assemble_to_file) from gen/moar/stage2/NQPHLL.nqp​:407 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:mbc) from gen/moar/stage2/NQPHLL.nqp​:1677 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:compile) from gen/moar/stage2/NQPHLL.nqp​:1410 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:eval) from gen/moar/stage2/NQPHLL.nqp​:1631 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:evalfiles) from gen/moar/stage2/NQPHLL.nqp​:1525 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:command_eval) from src/Perl6/Compiler.nqp​:27 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Compiler.moarvm​:command_eval) from gen/moar/stage2/NQPHLL.nqp​:1499 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:command_line) from gen/moar/m-main.nqp​:47 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:MAIN) from gen/moar/m-main.nqp​:38 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:\) from \​:1 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:\

) from \​:1 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:\)

  at gen/moar/m-CORE.setting​:26689 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm​:throw) from gen/moar/m-CORE.setting​:800 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm​:die) from gen/moar/m-CORE.setting​:788 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm​:die) from gen/moar/m-CORE.setting​:42965 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm​:precompile) from gen/moar/m-CORE.setting​:42887 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm​:precompile) from gen/moar/m-CORE.setting​:42727 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm​:try-load) from gen/moar/m-CORE.setting​:43668 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm​:) from gen/moar/m-CORE.setting​:43661 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm​:need) from gen/moar/m-CORE.setting​:43688 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm​:need) from src/Perl6/World.nqp​:1199 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/World.moarvm​:load_module) from src/Perl6/World.nqp​:1129 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/World.moarvm​:do_pragma_or_load_module) from src/Perl6/Grammar.nqp​:1565 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement_control​:sym\) from gen/moar/stage2/QRegex.nqp​:1371 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/QRegex.moarvm​:!protoregex) from \​:1 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement_control) from src/Perl6/Grammar.nqp​:1251 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement) from src/Perl6/Grammar.nqp​:1180 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statementlist) from gen/moar/stage2/NQPHLL.nqp​:1011 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:LANG) from src/Perl6/Grammar.nqp​:1579 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:FOREIGN_LANG) from src/Perl6/Grammar.nqp​:1164 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:comp_unit) from src/Perl6/Grammar.nqp​:467 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:TOP) from gen/moar/stage2/QRegex.nqp​:2093 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/QRegex.moarvm​:parse) from gen/moar/stage2/NQPHLL.nqp​:1718 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:parse) from gen/moar/stage2/NQPHLL.nqp​:1674 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:compile) from gen/moar/stage2/NQPHLL.nqp​:1410 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:eval) from gen/moar/stage2/NQPHLL.nqp​:1631 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:evalfiles) from gen/moar/stage2/NQPHLL.nqp​:1525 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:command_eval) from src/Perl6/Compiler.nqp​:27 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Compiler.moarvm​:command_eval) from gen/moar/stage2/NQPHLL.nqp​:1499 (/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm​:command_line) from gen/moar/m-main.nqp​:47 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:MAIN) from gen/moar/m-main.nqp​:38 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:\) from \​:1 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:\

) from \​:1 (/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:\)

The error message can be suppresed by commenting out XML​::LibXSLT​::Types in the 01-basic.t script.

Both Types.pm and Subs.pm compile without errors when checked with "perl6 -c".

If any more information is needed, please let me know.

p6rt commented 7 years ago

From clifton.wood@gmail.com

use v6.c;

use NativeCall;

#use XML​::LibXML​::CStructs; #use XML​::LibXML​::Parser; use XML​::LibXSLT​::Subs;

my $parser = XML​::LibXML​::Parser.new; my $doc = $parser.parse(qq​:to/XML/); \<?xml version="1.0"?>   \   \   \1 or 2\   \Cranky\   \   \   \1 (sort of)\   \Aloof\   \   \   \(see Llama)\   \Friendly\   \ \ XML

my $stylesheet_doc = $parser.parse(qq​:to/XSL/); \<xsl​:stylesheet version="1.0"   xmlns​:xsl="http://www.w3.org/1999/XSL/Transform"   xmlns​:fo="http://www.w3.org/1999/XSL/Format"> \<xsl​:template match="/">   \   \\Know Your Dromedaries\\   \   \

  \   \   \   \   \   \<xsl​:for-each select="dromedaries">   \<xsl​:apply-templates select="./species" />   \</xsl​:for-each>   \
Species\No of Humps\Disposition\
  \   \ \</xsl​:template>

\<xsl​:template match="species">   \   \\<xsl​:value-of select="@​name" />\   \\<xsl​:value-of select="humps" />\   \\<xsl​:value-of select="disposition" />\   \ \</xsl​:template>

\</xsl​:stylesheet> XSL

# -------------------------------------- # cw​: To add to XML​::LibXML!! # -------------------------------------- sub xmlAllocOutputBuffer(Pointer $encoder)   is native('xml')   returns xmlBuffer { * }

sub xmlOutputBufferGetContent(xmlBuffer $out)   is native('xml')   returns Str { * } # --------------------------------------

#my $stylesheet = xsltParseStylesheetDoc($stylesheet_doc); #my $transform = xsltApplyStylesheet($stylesheet, $doc, Str); #my $buffer = xmlAllocOutputBuffer(xmlCharEncodingHandler); #xsltSaveResultTo($buffer, $transform, $stylesheet); #my $output = xmlOutputBufferGetContent($buffer);

#say $buffer;

# cw​: XXX - Handle proper deallocation

p6rt commented 7 years ago

From clifton.wood@gmail.com

Subs.pm

p6rt commented 7 years ago

From clifton.wood@gmail.com

Types.pm

p6rt commented 7 years ago

From @zoffixznet

Thanks for the report.

Would you provide a working example we can reproduce with? For example, with the repo you linked, I'm getting "Could not find XML​::LibXML​::CStructs at line 5 in​:" and no such module in the ecosystem.

Also, what Perl 6 version are you using? (perl6 -v)

On Sun, 13 Nov 2016 23​:16​:43 -0800, clifton.wood@​gmail.com wrote​:

While working on a Perl project, I ran into an odd error trying to create a test script.

You can find the entire project, here​: https://github.com/Xliff/p6- xslt

I have attached the relevant scripts to this message.

The error message follows​:

cbwood@​infinity​:\~/projects/p6-xml-xslt$ perl6 --ll-exception -I ../p6-XML-LibXML-work/lib -I lib t/01-basic.t Expected MAST​::Frame, but didn't get one at gen/moar/stage2/QAST.nqp​:6644 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/QAST.moarvm​:assemble_to_file) from gen/moar/stage2/NQPHLL.nqp​:407 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:mbc) from gen/moar/stage2/NQPHLL.nqp​:1677 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:compile) from gen/moar/stage2/NQPHLL.nqp​:1410 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:eval) from gen/moar/stage2/NQPHLL.nqp​:1631 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:evalfiles) from gen/moar/stage2/NQPHLL.nqp​:1525 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_eval) from src/Perl6/Compiler.nqp​:27 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Compiler.moarvm​:command_eval) from gen/moar/stage2/NQPHLL.nqp​:1499 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_line) from gen/moar/m-main.nqp​:47 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:MAIN) from gen/moar/m-main.nqp​:38 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\

) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\)

at gen/moar/m-CORE.setting​:26689 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:throw) from gen/moar/m-CORE.setting​:800 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:die) from gen/moar/m-CORE.setting​:788 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:die) from gen/moar/m-CORE.setting​:42965 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:precompile) from gen/moar/m-CORE.setting​:42887 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:precompile) from gen/moar/m-CORE.setting​:42727 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:try-load) from gen/moar/m-CORE.setting​:43668 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:) from gen/moar/m-CORE.setting​:43661 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:need) from gen/moar/m-CORE.setting​:43688 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:need) from src/Perl6/World.nqp​:1199 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/World.moarvm​:load_module) from src/Perl6/World.nqp​:1129 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/World.moarvm​:do_pragma_or_load_module) from src/Perl6/Grammar.nqp​:1565 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement_control​:sym\) from gen/moar/stage2/QRegex.nqp​:1371 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/QRegex.moarvm​:!protoregex) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement_control) from src/Perl6/Grammar.nqp​:1251 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement) from src/Perl6/Grammar.nqp​:1180 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statementlist) from gen/moar/stage2/NQPHLL.nqp​:1011 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:LANG) from src/Perl6/Grammar.nqp​:1579 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:FOREIGN_LANG) from src/Perl6/Grammar.nqp​:1164 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:comp_unit) from src/Perl6/Grammar.nqp​:467 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:TOP) from gen/moar/stage2/QRegex.nqp​:2093 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/QRegex.moarvm​:parse) from gen/moar/stage2/NQPHLL.nqp​:1718 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:parse) from gen/moar/stage2/NQPHLL.nqp​:1674 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:compile) from gen/moar/stage2/NQPHLL.nqp​:1410 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:eval) from gen/moar/stage2/NQPHLL.nqp​:1631 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:evalfiles) from gen/moar/stage2/NQPHLL.nqp​:1525 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_eval) from src/Perl6/Compiler.nqp​:27 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Compiler.moarvm​:command_eval) from gen/moar/stage2/NQPHLL.nqp​:1499 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_line) from gen/moar/m-main.nqp​:47 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:MAIN) from gen/moar/m-main.nqp​:38 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\

) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\)

The error message can be suppresed by commenting out XML​::LibXSLT​::Types in the 01-basic.t script.

Both Types.pm and Subs.pm compile without errors when checked with "perl6 -c".

If any more information is needed, please let me know.

p6rt commented 7 years ago

The RT System itself - Status changed from 'new' to 'open'

p6rt commented 7 years ago

From clifton.wood@gmail.com

Zoffix,

You should be able to comment out all XML​::LibXML and still duplicate the bug. I tested that, this morning.

As to what version of Perl6 I am running​:

$ perl6 -v This is Rakudo version 2016.10-254-gd989d96 built on MoarVM version 2016.10-43-gb4cd2a6

Thanks.

On Mon, 14 Nov 2016 06​:33​:29 -0800, cpan@​zoffix.com wrote​:

Thanks for the report.

Would you provide a working example we can reproduce with? For example, with the repo you linked, I'm getting "Could not find XML​::LibXML​::CStructs at line 5 in​:" and no such module in the ecosystem.

Also, what Perl 6 version are you using? (perl6 -v)

On Sun, 13 Nov 2016 23​:16​:43 -0800, clifton.wood@​gmail.com wrote​:

While working on a Perl project, I ran into an odd error trying to create a test script.

You can find the entire project, here​: https://github.com/Xliff/p6- xslt

I have attached the relevant scripts to this message.

The error message follows​:

cbwood@​infinity​:\~/projects/p6-xml-xslt$ perl6 --ll-exception -I ../p6-XML-LibXML-work/lib -I lib t/01-basic.t Expected MAST​::Frame, but didn't get one at gen/moar/stage2/QAST.nqp​:6644 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/QAST.moarvm​:assemble_to_file) from gen/moar/stage2/NQPHLL.nqp​:407 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:mbc) from gen/moar/stage2/NQPHLL.nqp​:1677 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:compile) from gen/moar/stage2/NQPHLL.nqp​:1410 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:eval) from gen/moar/stage2/NQPHLL.nqp​:1631 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:evalfiles) from gen/moar/stage2/NQPHLL.nqp​:1525 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_eval) from src/Perl6/Compiler.nqp​:27 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Compiler.moarvm​:command_eval) from gen/moar/stage2/NQPHLL.nqp​:1499 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_line) from gen/moar/m-main.nqp​:47 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:MAIN) from gen/moar/m-main.nqp​:38 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\

) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\)

at gen/moar/m-CORE.setting​:26689 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:throw) from gen/moar/m-CORE.setting​:800 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:die) from gen/moar/m-CORE.setting​:788 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:die) from gen/moar/m-CORE.setting​:42965 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:precompile) from gen/moar/m-CORE.setting​:42887 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:precompile) from gen/moar/m-CORE.setting​:42727 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:try-load) from gen/moar/m-CORE.setting​:43668 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:) from gen/moar/m-CORE.setting​:43661 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:need) from gen/moar/m-CORE.setting​:43688 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:need) from src/Perl6/World.nqp​:1199 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/World.moarvm​:load_module) from src/Perl6/World.nqp​:1129 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/World.moarvm​:do_pragma_or_load_module) from src/Perl6/Grammar.nqp​:1565 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement_control​:sym\) from gen/moar/stage2/QRegex.nqp​:1371 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/QRegex.moarvm​:!protoregex) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement_control) from src/Perl6/Grammar.nqp​:1251 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement) from src/Perl6/Grammar.nqp​:1180 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statementlist) from gen/moar/stage2/NQPHLL.nqp​:1011 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:LANG) from src/Perl6/Grammar.nqp​:1579 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:FOREIGN_LANG) from src/Perl6/Grammar.nqp​:1164 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:comp_unit) from src/Perl6/Grammar.nqp​:467 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:TOP) from gen/moar/stage2/QRegex.nqp​:2093 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/QRegex.moarvm​:parse) from gen/moar/stage2/NQPHLL.nqp​:1718 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:parse) from gen/moar/stage2/NQPHLL.nqp​:1674 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:compile) from gen/moar/stage2/NQPHLL.nqp​:1410 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:eval) from gen/moar/stage2/NQPHLL.nqp​:1631 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:evalfiles) from gen/moar/stage2/NQPHLL.nqp​:1525 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_eval) from src/Perl6/Compiler.nqp​:27 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Compiler.moarvm​:command_eval) from gen/moar/stage2/NQPHLL.nqp​:1499 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_line) from gen/moar/m-main.nqp​:47 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:MAIN) from gen/moar/m-main.nqp​:38 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\

) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\)

The error message can be suppresed by commenting out XML​::LibXSLT​::Types in the 01-basic.t script.

Both Types.pm and Subs.pm compile without errors when checked with "perl6 -c".

If any more information is needed, please let me know.

p6rt commented 7 years ago

From clifton.wood@gmail.com

Zoffix,

You should be able to comment out all XML​::LibXML and still duplicate the bug. I tested that, this morning.

As to what version of Perl6 I am running​:

$ perl6 -v This is Rakudo version 2016.10-254-gd989d96 built on MoarVM version 2016.10-43-gb4cd2a6

Thanks.

On Mon, Nov 14, 2016 at 9​:33 AM, Zoffix Znet via RT \< perl6-bugs-followup@​perl.org> wrote​:

Thanks for the report.

Would you provide a working example we can reproduce with? For example, with the repo you linked, I'm getting "Could not find XML​::LibXML​::CStructs at line 5 in​:" and no such module in the ecosystem.

Also, what Perl 6 version are you using? (perl6 -v)

On Sun, 13 Nov 2016 23​:16​:43 -0800, clifton.wood@​gmail.com wrote​:

While working on a Perl project, I ran into an odd error trying to create a test script.

You can find the entire project, here​: https://github.com/Xliff/p6- xslt

I have attached the relevant scripts to this message.

The error message follows​:

cbwood@​infinity​:\~/projects/p6-xml-xslt$ perl6 --ll-exception -I ../p6-XML-LibXML-work/lib -I lib t/01-basic.t Expected MAST​::Frame, but didn't get one at gen/moar/stage2/QAST.nqp​:6644 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/QAST.moarvm​:assemble_to_file) from gen/moar/stage2/NQPHLL.nqp​:407 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:mbc) from gen/moar/stage2/NQPHLL.nqp​:1677 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:compile) from gen/moar/stage2/NQPHLL.nqp​:1410 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:eval) from gen/moar/stage2/NQPHLL.nqp​:1631 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:evalfiles) from gen/moar/stage2/NQPHLL.nqp​:1525 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_eval) from src/Perl6/Compiler.nqp​:27 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Compiler.moarvm​:command_eval) from gen/moar/stage2/NQPHLL.nqp​:1499 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_line) from gen/moar/m-main.nqp​:47 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:MAIN) from gen/moar/m-main.nqp​:38 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\

) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\)

at gen/moar/m-CORE.setting​:26689 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:throw) from gen/moar/m-CORE.setting​:800 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:die) from gen/moar/m-CORE.setting​:788 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:die) from gen/moar/m-CORE.setting​:42965 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:precompile) from gen/moar/m-CORE.setting​:42887 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:precompile) from gen/moar/m-CORE.setting​:42727 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:try-load) from gen/moar/m-CORE.setting​:43668 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:) from gen/moar/m-CORE.setting​:43661 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:need) from gen/moar/m-CORE.setting​:43688 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/CORE.setting.moarvm​:need) from src/Perl6/World.nqp​:1199 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/World.moarvm​:load_module) from src/Perl6/World.nqp​:1129 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/World.moarvm​:do_pragma_or_load_module) from src/Perl6/Grammar.nqp​:1565 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​: statement_control​:sym\) from gen/moar/stage2/QRegex.nqp​:1371 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/QRegex.moarvm​:!protoregex) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement_control) from src/Perl6/Grammar.nqp​:1251 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statement) from src/Perl6/Grammar.nqp​:1180 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:statementlist) from gen/moar/stage2/NQPHLL.nqp​:1011 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:LANG) from src/Perl6/Grammar.nqp​:1579 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:FOREIGN_LANG) from src/Perl6/Grammar.nqp​:1164 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:comp_unit) from src/Perl6/Grammar.nqp​:467 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Grammar.moarvm​:TOP) from gen/moar/stage2/QRegex.nqp​:2093 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/QRegex.moarvm​:parse) from gen/moar/stage2/NQPHLL.nqp​:1718 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:parse) from gen/moar/stage2/NQPHLL.nqp​:1674 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:compile) from gen/moar/stage2/NQPHLL.nqp​:1410 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:eval) from gen/moar/stage2/NQPHLL.nqp​:1631 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:evalfiles) from gen/moar/stage2/NQPHLL.nqp​:1525 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_eval) from src/Perl6/Compiler.nqp​:27 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/Perl6/Compiler.moarvm​:command_eval) from gen/moar/stage2/NQPHLL.nqp​:1499 (/home/cbwood/.rakudobrew/moar- nom/install/share/nqp/lib/NQPHLL.moarvm​:command_line) from gen/moar/m-main.nqp​:47 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:MAIN) from gen/moar/m-main.nqp​:38 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\

) from \​:1 (/home/cbwood/.rakudobrew/moar- nom/install/share/perl6/runtime/perl6.moarvm​:\)

The error message can be suppresed by commenting out XML​::LibXSLT​::Types in the 01-basic.t script.

Both Types.pm and Subs.pm compile without errors when checked with "perl6 -c".

If any more information is needed, please let me know.