Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAST::Frame error encountered. #5800

Open
p6rt opened this issue Nov 14, 2016 · 8 comments
Open

MAST::Frame error encountered. #5800

p6rt opened this issue Nov 14, 2016 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Nov 14, 2016

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

Searchable as RT130095$

@p6rt
Copy link
Author

p6rt commented Nov 14, 2016

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​:<mainline>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:<entry>)

  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<use>)
from gen/moar/stage2/QRegex.nqp​:1371
(/home/cbwood/.rakudobrew/moar-nom/install/share/nqp/lib/QRegex.moarvm​:!protoregex)
from <unknown>​: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​:<mainline>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm​:<entry>)

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
Copy link
Author

p6rt commented Nov 14, 2016

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"?>
  <dromedaries>
  <species name="Camel">
  <humps>1 or 2</humps>
  <disposition>Cranky</disposition>
  </species>
  <species name="Llama">
  <humps>1 (sort of)</humps>
  <disposition>Aloof</disposition>
  </species>
  <species name="Alpaca">
  <humps>(see Llama)</humps>
  <disposition>Friendly</disposition>
  </species>
</dromedaries>
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="/">
  <html>
  <head><title>Know Your Dromedaries</title></head>
  <body>
  <table bgcolor="#eeeeee" border="1">
  <tr>
  <th>Species</th>
  <th>No of Humps</th>
  <th>Disposition</th>
  </tr>
  <xsl​:for-each select="dromedaries">
  <xsl​:apply-templates select="./species" />
  </xsl​:for-each>
  </table>
  </body>
  </html>
</xsl​:template>

<xsl​:template match="species">
  <tr>
  <td><xsl​:value-of select="@​name" /></td>
  <td><xsl​:value-of select="humps" /></td>
  <td><xsl​:value-of select="disposition" /></td>
  </tr>
</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
Copy link
Author

p6rt commented Nov 14, 2016

From clifton.wood@gmail.com

Subs.pm

@p6rt
Copy link
Author

p6rt commented Nov 14, 2016

From clifton.wood@gmail.com

Types.pm

@p6rt
Copy link
Author

p6rt commented Nov 14, 2016

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​:<mainline>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<entry>)

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<use>)
from gen/moar/stage2/QRegex.nqp​:1371
(/home/cbwood/.rakudobrew/moar-
nom/install/share/nqp/lib/QRegex.moarvm​:!protoregex)
from <unknown>​: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​:<mainline>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<entry>)

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
Copy link
Author

p6rt commented Nov 14, 2016

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

@p6rt
Copy link
Author

p6rt commented Nov 14, 2016

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​:<mainline>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<entry>)

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<use>)
from gen/moar/stage2/QRegex.nqp​:1371
(/home/cbwood/.rakudobrew/moar-
nom/install/share/nqp/lib/QRegex.moarvm​:!protoregex)
from <unknown>​: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​:<mainline>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<entry>)

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
Copy link
Author

p6rt commented Nov 17, 2016

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​:<mainline>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<entry>)

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<use>)
from gen/moar/stage2/QRegex.nqp​:1371
(/home/cbwood/.rakudobrew/moar-
nom/install/share/nqp/lib/QRegex.moarvm​:!protoregex)
from <unknown>​: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​:<mainline>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1
(/home/cbwood/.rakudobrew/moar-
nom/install/share/perl6/runtime/perl6.moarvm​:<entry>)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant