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

[Truffle] Bad frame descriptor args in module_exec #2942

Closed
nirvdrum opened this issue May 15, 2015 · 2 comments
Closed

[Truffle] Bad frame descriptor args in module_exec #2942

nirvdrum opened this issue May 15, 2015 · 2 comments
Milestone

Comments

@nirvdrum
Copy link
Contributor

While trying to get rspec-core running, I ran into an issue with module_exec. I don't yet have a small reproduction case, but the line that triggers the issue in rspec looks like subclass.module_exec(&example_group_block) if example_group_block.

Backtrace:

java.lang.IllegalArgumentException: The frame slot '[4,the_caller,Object]' is not known by the frame descriptor.
    at com.oracle.truffle.api.impl.DefaultVirtualFrame.getSlotIndexChecked(DefaultVirtualFrame.java:161)
    at com.oracle.truffle.api.impl.DefaultVirtualFrame.verifyGet(DefaultVirtualFrame.java:173)
    at com.oracle.truffle.api.impl.DefaultVirtualFrame.getBoolean(DefaultVirtualFrame.java:88)
    at org.jruby.truffle.nodes.locals.ReadFrameSlotNode.readBoolean(ReadFrameSlotNode.java:31)
    at org.jruby.truffle.nodes.locals.ReadFrameSlotNodeGen$ReadBooleanNode_.execute(ReadFrameSlotNodeGen.java:132)
    at org.jruby.truffle.nodes.locals.ReadFrameSlotNodeGen$BaseNode_.acceptAndExecute(ReadFrameSlotNodeGen.java:79)
    at com.oracle.truffle.api.dsl.internal.SpecializationNode.uninitialized(SpecializationNode.java:390)
    at org.jruby.truffle.nodes.locals.ReadFrameSlotNodeGen$UninitializedNode_.execute(ReadFrameSlotNodeGen.java:114)
    at org.jruby.truffle.nodes.locals.ReadFrameSlotNodeGen.executeRead(ReadFrameSlotNodeGen.java:45)
    at org.jruby.truffle.nodes.locals.ReadLocalVariableNode.execute(ReadLocalVariableNode.java:33)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:109)
    at org.jruby.truffle.nodes.core.array.ArrayLiteralNode$UninitialisedArrayLiteralNode.executeRubyArray(ArrayLiteralNode.java:236)
    at org.jruby.truffle.nodes.core.array.ArrayLiteralNode.execute(ArrayLiteralNode.java:64)
    at org.jruby.truffle.nodes.core.array.ArrayConcatNode.executeRubyArray(ArrayConcatNode.java:70)
    at org.jruby.truffle.nodes.core.array.ArrayConcatNode.execute(ArrayConcatNode.java:45)
    at org.jruby.truffle.nodes.core.array.ArrayConcatNode.execute(ArrayConcatNode.java:23)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.executeArguments(RubyCallNode.java:163)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:142)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.RedoableNode.execute(RedoableNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchReturnPlaceholderNode.execute(CatchReturnPlaceholderNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:61)
    at org.jruby.truffle.nodes.yield.UninitializedYieldDispatchNode.dispatchWithSelfAndBlock(UninitializedYieldDispatchNode.java:70)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.UninitializedYieldDispatchNode.dispatchWithSelfAndBlock(UninitializedYieldDispatchNode.java:70)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.YieldDispatchHeadNode.dispatchWithModifiedSelf(YieldDispatchHeadNode.java:52)
    at org.jruby.truffle.nodes.core.ModuleNodes$ClassExecNode.classExec(ModuleNodes.java:655)
    at org.jruby.truffle.nodes.core.ModuleNodesFactory$ClassExecNodeFactory$ClassExecNodeGen.execute(ModuleNodesFactory.java:2851)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:58)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.control.IfNode.execute(IfNode.java:53)
    at org.jruby.truffle.nodes.RubyNode.executeVoid(RubyNode.java:58)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:82)
    at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:39)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:58)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:109)
    at org.jruby.truffle.nodes.methods.CatchBreakFromCallNode.execute(CatchBreakFromCallNode.java:42)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.exceptions.EnsureNode.execute(EnsureNode.java:34)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.RedoableNode.execute(RedoableNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchReturnPlaceholderNode.execute(CatchReturnPlaceholderNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:39)
    at org.jruby.truffle.nodes.methods.CatchBreakAsReturnNode.execute(CatchBreakAsReturnNode.java:36)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.methods.CatchBreakFromCallNode.execute(CatchBreakFromCallNode.java:42)
    at org.jruby.truffle.nodes.locals.WriteLocalVariableNode.execute(WriteLocalVariableNode.java:32)
    at org.jruby.truffle.nodes.RubyNode.executeVoid(RubyNode.java:58)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:82)
    at org.jruby.truffle.nodes.methods.RedoableNode.execute(RedoableNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchReturnPlaceholderNode.execute(CatchReturnPlaceholderNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:39)
    at org.jruby.truffle.nodes.methods.CatchBreakAsReturnNode.execute(CatchBreakAsReturnNode.java:36)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.RubyNode.executeVoid(RubyNode.java:58)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:82)
    at org.jruby.truffle.nodes.methods.RedoableNode.execute(RedoableNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchReturnPlaceholderNode.execute(CatchReturnPlaceholderNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:61)
    at org.jruby.truffle.nodes.yield.UninitializedYieldDispatchNode.dispatchWithSelfAndBlock(UninitializedYieldDispatchNode.java:70)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.UninitializedYieldDispatchNode.dispatchWithSelfAndBlock(UninitializedYieldDispatchNode.java:70)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.YieldDispatchHeadNode.dispatchWithModifiedSelf(YieldDispatchHeadNode.java:52)
    at org.jruby.truffle.nodes.core.ModuleNodes$ClassExecNode.classExec(ModuleNodes.java:655)
    at org.jruby.truffle.nodes.core.ModuleNodesFactory$ClassExecNodeFactory$ClassExecNodeGen.execute(ModuleNodesFactory.java:2851)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:58)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.control.IfNode.execute(IfNode.java:53)
    at org.jruby.truffle.nodes.RubyNode.executeVoid(RubyNode.java:58)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:82)
    at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:39)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:58)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:109)
    at org.jruby.truffle.nodes.methods.CatchBreakFromCallNode.execute(CatchBreakFromCallNode.java:42)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.exceptions.EnsureNode.execute(EnsureNode.java:34)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.RedoableNode.execute(RedoableNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchReturnPlaceholderNode.execute(CatchReturnPlaceholderNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:39)
    at org.jruby.truffle.nodes.methods.CatchBreakAsReturnNode.execute(CatchBreakAsReturnNode.java:36)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.methods.CatchBreakFromCallNode.execute(CatchBreakFromCallNode.java:42)
    at org.jruby.truffle.nodes.RubyNode.executeVoid(RubyNode.java:58)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:82)
    at org.jruby.truffle.nodes.methods.RedoableNode.execute(RedoableNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchReturnPlaceholderNode.execute(CatchReturnPlaceholderNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:61)
    at org.jruby.truffle.nodes.yield.UninitializedYieldDispatchNode.dispatchWithSelfAndBlock(UninitializedYieldDispatchNode.java:70)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.UninitializedYieldDispatchNode.dispatchWithSelfAndBlock(UninitializedYieldDispatchNode.java:70)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.CachedYieldDispatchNode.dispatchWithSelfAndBlock(CachedYieldDispatchNode.java:63)
    at org.jruby.truffle.nodes.yield.YieldDispatchHeadNode.dispatchWithModifiedSelf(YieldDispatchHeadNode.java:52)
    at org.jruby.truffle.nodes.core.ModuleNodes$ClassExecNode.classExec(ModuleNodes.java:655)
    at org.jruby.truffle.nodes.core.ModuleNodesFactory$ClassExecNodeFactory$ClassExecNodeGen.execute(ModuleNodesFactory.java:2851)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:58)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.control.IfNode.execute(IfNode.java:53)
    at org.jruby.truffle.nodes.RubyNode.executeVoid(RubyNode.java:58)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:82)
    at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:39)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:58)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:109)
    at org.jruby.truffle.nodes.methods.CatchBreakFromCallNode.execute(CatchBreakFromCallNode.java:42)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.exceptions.EnsureNode.execute(EnsureNode.java:34)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.RedoableNode.execute(RedoableNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchReturnPlaceholderNode.execute(CatchReturnPlaceholderNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:39)
    at org.jruby.truffle.nodes.methods.CatchBreakAsReturnNode.execute(CatchBreakAsReturnNode.java:36)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.core.BasicObjectNodes$SendNode.send(BasicObjectNodes.java:289)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen$Send1Node_.execute_(BasicObjectNodesFactory.java:2344)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen$Send0Node_.execute_(BasicObjectNodesFactory.java:2324)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen$PolymorphicNode_.execute_(BasicObjectNodesFactory.java:2302)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen$BaseNode_.execute(BasicObjectNodesFactory.java:2240)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen.execute(BasicObjectNodesFactory.java:2195)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:58)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.executeArguments(RubyCallNode.java:163)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:142)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.RedoableNode.execute(RedoableNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchReturnPlaceholderNode.execute(CatchReturnPlaceholderNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:39)
    at org.jruby.truffle.nodes.methods.CatchBreakAsReturnNode.execute(CatchBreakAsReturnNode.java:36)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:109)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.core.BasicObjectNodes$SendNode.send(BasicObjectNodes.java:289)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen$Send1Node_.execute_(BasicObjectNodesFactory.java:2344)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen$Send0Node_.execute_(BasicObjectNodesFactory.java:2324)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen$PolymorphicNode_.execute_(BasicObjectNodesFactory.java:2302)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen$BaseNode_.execute(BasicObjectNodesFactory.java:2240)
    at org.jruby.truffle.nodes.core.BasicObjectNodesFactory$SendNodeFactory$SendNodeGen.execute(BasicObjectNodesFactory.java:2195)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:58)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.RedoableNode.execute(RedoableNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchReturnPlaceholderNode.execute(CatchReturnPlaceholderNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:39)
    at org.jruby.truffle.nodes.methods.CatchBreakAsReturnNode.execute(CatchBreakAsReturnNode.java:36)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
    at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.executeDispatch(CachedBoxedDispatchNode.java:144)
    at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:113)
    at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:50)
    at org.jruby.truffle.nodes.dispatch.CallDispatchHeadNode.call(CallDispatchHeadNode.java:35)
    at org.jruby.truffle.nodes.dispatch.RubyCallNode.execute(RubyCallNode.java:147)
    at org.jruby.truffle.nodes.methods.CatchBreakFromCallNode.execute(CatchBreakFromCallNode.java:42)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:36)
    at org.jruby.truffle.nodes.methods.CatchReturnAsErrorNode.execute(CatchReturnAsErrorNode.java:35)
    at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
    at org.jruby.truffle.nodes.methods.SetMethodDeclarationContext.execute(SetMethodDeclarationContext.java:46)
    at org.jruby.truffle.nodes.exceptions.TopLevelRaiseHandler.execute(TopLevelRaiseHandler.java:33)
    at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:85)
    at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:57)
    at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:76)
    at org.jruby.truffle.runtime.RubyContext.execute(RubyContext.java:345)
    at org.jruby.truffle.runtime.RubyContext.execute(RubyContext.java:334)
    at org.jruby.truffle.runtime.RubyContext.load(RubyContext.java:278)
    at org.jruby.truffle.runtime.RubyContext.execute(RubyContext.java:656)
    at org.jruby.Ruby.runInterpreter(Ruby.java:871)
    at org.jruby.Ruby.runInterpreter(Ruby.java:885)
    at org.jruby.Ruby.runNormally(Ruby.java:757)
    at org.jruby.Ruby.runFromMain(Ruby.java:574)
    at org.jruby.Main.doRunFromMain(Main.java:401)
    at org.jruby.Main.internalRun(Main.java:296)
    at org.jruby.Main.run(Main.java:225)
    at org.jruby.Main.main(Main.java:197)
/home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/example_group.rb:363:in `module_exec': internal implementation error - IllegalArgumentException The frame slot '[4,the_caller,Object]' is not known by the frame descriptor. com.oracle.truffle.api.impl.DefaultVirtualFrame.getSlotIndexChecked(DefaultVirtualFrame.java:161) (RubyTruffleError)
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/example_group.rb:363:in `subclass'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/example_group.rb:253:in `block in define_example_group_method'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/example_group.rb:307:in `block in define_nested_shared_group_method'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb:72:in `block in <main>'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/example_group.rb:363:in `subclass'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/example_group.rb:253:in `block in define_example_group_method'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb:58:in `block in <main>'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/example_group.rb:363:in `subclass'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/example_group.rb:253:in `block in define_example_group_method'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/dsl.rb:43:in `block in expose_example_group_alias'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/bundle/bundler/../gems/rspec-core-3.2.3/lib/rspec/core/dsl.rb:82:in `block in expose_example_group_alias_globally'
    from /home/nirvdrum/dev/workspaces/oracle/tester/workdir/treetop/spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb:23:in `<main>'
@chrisseaton
Copy link
Contributor

Do you have a command I can run to reproduce this at all? I don't mind no small test case but I need something to run.

@nirvdrum
Copy link
Contributor Author

I forgot I opened this and subsequently opened a duplicate issue (#3001). Since that one has more detail, I'm closing this one.

@nirvdrum nirvdrum added this to the truffle-dev milestone May 29, 2015
@enebo enebo added this to the Non-Release milestone Dec 7, 2017
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

3 participants