Welcome to the main channel on the development of MoarVM, a virtual machine for NQP and Rakudo (moarvm.org). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
01:29 nine left 01:30 nine joined 08:51 nine left, nine joined
SmokeMachine lizmat: Said I should be reporting it here... so, there we go: 10:42
m: m: \() ~~ Signature.new
camelia (signal SEGV)
lizmat additional info: in RakuAST, the AST builds ok 10:43
m: say Q|\() ~~ Signature.new|.AST
camelia RakuAST::StatementList.new(
RakuAST::Statement::Expression.new(
expression => RakuAST::ApplyInfix.new(
left => RakuAST::Term::Capture.new(
RakuAST::ArgList.new()
),
infix => RakuAST::Infix.new("~~"),
lizmat m: say Q|\() ~~ Signature.new|.AST.statements.head
camelia RakuAST::Statement::Expression.new(
expression => RakuAST::ApplyInfix.new(
left => RakuAST::Term::Capture.new(
RakuAST::ArgList.new()
),
infix => RakuAST::Infix.new("~~"),
right => RakuAST::ApplyPostfix.new(
lizmat m: say Q|\() ~~ Signature.new|.AST.EVAL 10:44
camelia (signal SEGV)
lizmat but an EVAL segfaults
m: Signature.new.ACCEPTS( \()
camelia ===SORRY!=== Error while compiling <tmp>
Unable to parse expression in argument list; couldn't find final ')' (corresponding starter was at line 1)
at <tmp>:1
------> Signature.new.ACCEPTS( \()<HERE><EOL>
lizmat m: Signature.new.ACCEPTS( \() ) 10:45
camelia (signal SEGV)
lizmat looks like it's in Signature.ACCEPTS
SmokeMachine it seems to be specific on Capture candidate... 10:47
m: say $_, " => ", Signature.new.ACCEPTS: $_ for 1, :(), Signature.new, \() 10:49
camelia (signal SEGV)1 => False
lizmat m: Signature.new.ACCEPTS( Capture.new ) 10:55
camelia (signal SEGV)
lizmat golfed to: 10:59
m: use nqp; nqp::p6isbindable(Signature.new,Capture.new) 11:00
camelia (signal SEGV)
lizmat the problem appears to be at: github.com/rakudo/rakudo/blob/main....nqp#L1210 11:08
lizmat is hoping someone will be taking it from here
github.com/rakudo/rakudo/issues/5909 11:18
timo m: use nqp; nqp::p6invokeunder("hi", "bye") for ^1000 11:54
camelia ===SORRY!===
No registered operation handler for 'p6invokeunder'
timo what did i do wrong? :) 11:56
> p6invokeunder first argument has to be a concrete MVMCode, got a concrete P6opaque (type ContainerDescriptor) 12:07
better than a segfault
16:53 nine left, nine joined