Skip to content

Instantly share code, notes, and snippets.

@chrisseaton
Created December 24, 2014 01:04
Show Gist options
  • Save chrisseaton/930ae8513cd53aff0632 to your computer and use it in GitHub Desktop.
Save chrisseaton/930ae8513cd53aff0632 to your computer and use it in GitHub Desktop.
=========================== JRuby+Truffle Debug Report ========================
Stopped because:
=========================== Ruby Bracktrace ===========================
at ../test.rb:1:in 'm'
method = m:../test.rb:1
declaring module = Object
declaration frame:
java.lang.Object@a1691c0 = *error*
java.lang.Object@7c5df615 = nil
self = main
block = null
arguments:
[0] = 1
frame:
a = []
b = nil
rubytruffle_temp_destructure_32 = nil
at ../test.rb:3:in '<main>'
method = null
declaration frame:
self = main
block = null
arguments:
frame:
java.lang.Object@a1691c0 = *error*
java.lang.Object@7c5df615 = nil
========================== AST Backtrace ==========================
-> m:../test.rb:1
-> ExceptionTranslatingNode@52ba685a
-> CatchRetryAsErrorNode@63d677f5
-> CatchNextNode@71d55b7e
-> CatchReturnNode@2997ddfc
-> SequenceNode@28ee882c
CheckArityNode@78d73b1b
WriteLocalVariableObjectNode@238291d4
ArrayCastObjectRubyBasicObjectNode@34edd065
DispatchHeadNode@681e913c
CachedBoxedReturnMissingDispatchRubyNilClassRubyBasicObjectObjectDispatchActionNode@29d070c7
UnresolvedDispatchNode@1eeb5818
ReadPreArgumentNode@44dfdd58
-> IfNode@58d4238e
BooleanCastBooleanNode@696fad31
IsNilNode@2c06b113
ReadLocalVariableObjectNode@7a64cb0c
-> SequenceNode@785ed99c
WriteLocalVariableObjectNode@6c4ce583
EmptyArrayLiteralNode@755b5f30
-> WriteLocalVariableObjectNode@29bbc63c
ReadPreArgumentNode@272778ae
SequenceNode@2cccf134
WriteLocalVariableUninitializedNode@68e2d03e
ArraySliceUninitializedNode@69a5c6be
ReadLocalVariableUninitializedNode@451e2fa9
WriteLocalVariableUninitializedNode@497ed877
ArrayIndexUninitializedNode@6650a6c
ReadLocalVariableUninitializedNode@64279ab
TraceNode@794240e2
UninitialisedArrayLiteralNode@74a820bf
ReadLocalVariableUninitializedNode@5a30722c
ReadLocalVariableUninitializedNode@4f2ac7e0
-> <main>:../test.rb:1
-> SequenceNode@48e41b5d
SetTopLevelBindingNode@51e8d066
-> TopLevelRaiseHandler@5333f08f
-> CatchRetryAsErrorNode@27898e13
-> CatchReturnAsErrorNode@4f5f474c
-> CatchNextNode@58a3d521
-> SetFrameVisibilityNode@14d8e132
-> SequenceNode@7f4a1cac
TraceNode@4a1a412e
AddMethodNode@c568f91
ObjectLiteralNode@5fd43e58
MethodDefinitionNode@70d4f672
-> TraceNode@68dfda77
-> RubyCallNode@50cdfafa
SelfNode@2e952845
DispatchHeadNode@79252c83
UnresolvedDispatchNode@6fbf5db2
DispatchHeadNode@509a6095
UnresolvedDispatchNode@57cabdc3
BooleanCastUninitializedNode@11810917
-> RubyCallNode@13278a41
SelfNode@4a31ed12
-> DispatchHeadNode@3ab595c8
-> CachedBoxedDispatchNode(:m, #<Class:#<Object:0xa>>@1c9fbb61, null, m:../test.rb:1)
UnresolvedDispatchNode@2365ea38
-> DefaultDirectCallNode(target=m:../test.rb:1)
DispatchHeadNode@cbf1997
UnresolvedDispatchNode@49232c6f
BooleanCastUninitializedNode@5faeeb56
IntegerFixnumLiteralNode@7781263c
TraceNode@5fdd97c1
RubyCallNode@3b5a19ed
SelfNode@15d236fd
DispatchHeadNode@6b9c42bd
UnresolvedDispatchNode@584ca390
DispatchHeadNode@33324c05
UnresolvedDispatchNode@37d3e140
BooleanCastUninitializedNode@3e53c4ad
RubyCallNode@33eb0d4
SelfNode@224d86d2
DispatchHeadNode@a3cba3a
UnresolvedDispatchNode@2aea717c
DispatchHeadNode@5ca4dce5
UnresolvedDispatchNode@1291aab5
BooleanCastUninitializedNode@7d133fb7
UninitialisedArrayLiteralNode@40bd0f8
IntegerFixnumLiteralNode@7eb27768
IntegerFixnumLiteralNode@6169be09
IntegerFixnumLiteralNode@5e3db14
=========================== Java Backtrace ============================
java.lang.Exception
at org.jruby.truffle.runtime.DebugOperations.panic(DebugOperations.java:95)
at org.jruby.truffle.nodes.methods.locals.WriteLocalVariableNode.doObject(WriteLocalVariableNode.java:57)
at org.jruby.truffle.nodes.methods.locals.WriteLocalVariableNodeFactory$WriteLocalVariableObjectNode.executeChained0(WriteLocalVariableNodeFactory.java:485)
at org.jruby.truffle.nodes.methods.locals.WriteLocalVariableNodeFactory$WriteLocalVariableUninitializedNode.executeUninitialized0(WriteLocalVariableNodeFactory.java:229)
at org.jruby.truffle.nodes.methods.locals.WriteLocalVariableNodeFactory$WriteLocalVariableUninitializedNode.execute(WriteLocalVariableNodeFactory.java:206)
at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:82)
at org.jruby.truffle.nodes.control.IfNode.execute(IfNode.java:56)
at org.jruby.truffle.nodes.RubyNode.executeVoid(RubyNode.java:193)
at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:79)
at org.jruby.truffle.nodes.methods.CatchReturnNode.execute(CatchReturnNode.java:41)
at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:37)
at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
at org.jruby.truffle.nodes.methods.ExceptionTranslatingNode.execute(ExceptionTranslatingNode.java:45)
at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:54)
at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:77)
at com.oracle.truffle.api.impl.DefaultDirectCallNode.call(DefaultDirectCallNode.java:65)
at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNode.dispatch(CachedBoxedDispatchNode.java:142)
at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNodeFactory$CachedBoxedDispatchRubyNilClassRubyBasicObjectObjectDispatchActionNode.executeChained0(CachedBoxedDispatchNodeFactory.java:404)
at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNodeFactory$CachedBoxedDispatchUninitializedNode.executeUninitialized0(CachedBoxedDispatchNodeFactory.java:325)
at org.jruby.truffle.nodes.dispatch.CachedBoxedDispatchNodeFactory$CachedBoxedDispatchUninitializedNode.executeDispatch(CachedBoxedDispatchNodeFactory.java:302)
at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.doRubyBasicObject(UnresolvedDispatchNode.java:192)
at org.jruby.truffle.nodes.dispatch.UnresolvedDispatchNode.executeDispatch(UnresolvedDispatchNode.java:68)
at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.dispatch(DispatchHeadNode.java:174)
at org.jruby.truffle.nodes.dispatch.DispatchHeadNode.call(DispatchHeadNode.java:64)
at org.jruby.truffle.nodes.RubyCallNode.execute(RubyCallNode.java:95)
at org.jruby.truffle.nodes.RubyCallNode.executeArguments(RubyCallNode.java:111)
at org.jruby.truffle.nodes.RubyCallNode.execute(RubyCallNode.java:92)
at org.jruby.truffle.nodes.RubyNode.executeVoid(RubyNode.java:193)
at org.jruby.truffle.nodes.control.WrapperNode.executeVoid(WrapperNode.java:595)
at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:79)
at org.jruby.truffle.nodes.methods.SetFrameVisibilityNode.execute(SetFrameVisibilityNode.java:39)
at org.jruby.truffle.nodes.methods.CatchNextNode.execute(CatchNextNode.java:37)
at org.jruby.truffle.nodes.methods.CatchReturnAsErrorNode.execute(CatchReturnAsErrorNode.java:36)
at org.jruby.truffle.nodes.methods.CatchRetryAsErrorNode.execute(CatchRetryAsErrorNode.java:32)
at org.jruby.truffle.nodes.TopLevelRaiseHandler.execute(TopLevelRaiseHandler.java:32)
at org.jruby.truffle.nodes.control.SequenceNode.execute(SequenceNode.java:82)
at org.jruby.truffle.nodes.RubyRootNode.execute(RubyRootNode.java:54)
at com.oracle.truffle.api.impl.DefaultCallTarget.call(DefaultCallTarget.java:77)
at org.jruby.truffle.runtime.RubyContext.execute(RubyContext.java:207)
at org.jruby.truffle.TruffleBridgeImpl.execute(TruffleBridgeImpl.java:164)
at org.jruby.Ruby.runInterpreter(Ruby.java:849)
at org.jruby.Ruby.runInterpreter(Ruby.java:863)
at org.jruby.Ruby.runNormally(Ruby.java:759)
at org.jruby.Ruby.runFromMain(Ruby.java:564)
at org.jruby.Main.doRunFromMain(Main.java:405)
at org.jruby.Main.internalRun(Main.java:300)
at org.jruby.Main.run(Main.java:227)
at org.jruby.Main.main(Main.java:199)
===============================================================================
Exception in thread "Thread-0" java.lang.AssertionError: SizedQueue has not been loaded
at org.jruby.ext.fiber.ThreadFiber.initRootFiber(ThreadFiber.java:35)
at org.jruby.internal.runtime.ThreadService.registerNewThread(ThreadService.java:289)
at org.jruby.RubyThread.adoptThread(RubyThread.java:526)
at org.jruby.RubyThread.adopt(RubyThread.java:518)
at org.jruby.internal.runtime.ThreadService.adoptCurrentThread(ThreadService.java:227)
at org.jruby.internal.runtime.ThreadService.getCurrentContext(ThreadService.java:202)
at org.jruby.Ruby.getCurrentContext(Ruby.java:2737)
at org.jruby.Ruby.tearDown(Ruby.java:3168)
at org.jruby.Ruby.tearDown(Ruby.java:3155)
at org.jruby.Main$1.run(Main.java:280)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment