oracle / graalpython

GraalPy – A high-performance embeddable Python 3 runtime for Java
https://www.graalvm.org/python/
Other
1.25k stars 110 forks source link

Embedded Graal Python Context fails if Jython enabled, when the second context instance is created #186

Open fra-orolo opened 3 years ago

fra-orolo commented 3 years ago

Hi, we trying to use Graal Python as an embedded scripting language, to replace Jython (with something that speaks Python3). Whenever I create an Graal context for Python execution with : ` private Context createPythonContext() { Engine engine = Engine.newBuilder() .allowExperimentalOptions(true) .logHandler(new LogTranslationHandler()) // does not work, immediate crash .option("python.EmulateJython", "true") .build(); Context ctx = Context.newBuilder(PythonEvaluatorGraal.PYTHON) .allowAllAccess(true) .engine(engine) .build(); String dictConvertFun = PythonEvaluatorGraal.DICT_CONVERT_FUN; ctx.eval("python", "import java\n"

I get the following exception/assertion thrown, the code works if I omit the Jython mode.

` org.graalvm.polyglot.PolyglotException: java.lang.AssertionError at org.graalvm.truffle/com.oracle.truffle.polyglot.HostMethodDesc$SingleMethod$ReflectBase.invokeGuestToHost(HostMethodDesc.java:186) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode.doInvoke(HostExecuteNode.java:809) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode.doFixed(HostExecuteNode.java:129) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.executeAndSpecialize(HostExecuteNodeGen.java:138) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.execute(HostExecuteNodeGen.java:94) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostObject.invokeMember(HostObject.java:412) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostObjectGen$InteropLibraryExports$Cached.invokeMemberNode_AndSpecialize(HostObjectGen.java:1393) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostObjectGen$InteropLibraryExports$Cached.invokeMember(HostObjectGen.java:1365) at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibrary$Asserts.invokeMember(InteropLibrary.java:2667) at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibraryGen$CachedDispatch.invokeMember(InteropLibraryGen.java:6078) at com.oracle.graal.python.nodes.call.PythonCallNode$InvokeForeign.call(PythonCallNode.java:383) at com.oracle.graal.python.nodes.call.PythonCallNodeGen$InvokeForeignNodeGen.executeAndSpecialize(PythonCallNodeGen.java:434) at com.oracle.graal.python.nodes.call.PythonCallNodeGen$InvokeForeignNodeGen.execute(PythonCallNodeGen.java:414) at com.oracle.graal.python.nodes.call.PythonCallNode.call(PythonCallNode.java:407) at com.oracle.graal.python.nodes.call.PythonCallNodeGen.executeAndSpecialize(PythonCallNodeGen.java:104) at com.oracle.graal.python.nodes.call.PythonCallNodeGen.execute(PythonCallNodeGen.java:85) at com.oracle.graal.python.nodes.control.GetIteratorExpressionNodeGen.execute(GetIteratorExpressionNodeGen.java:41) at com.oracle.graal.python.nodes.function.GeneratorExpressionNode.execute(GeneratorExpressionNode.java:107) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:166) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:49) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at org.graalvm.sdk/org.graalvm.polyglot.Context.eval(Context.java:373) at genedata.screener.common.eval.PythonExecutionContextGraal.createPythonContext(PythonExecutionContextGraal.java:198) at genedata.screener.common.eval.PythonExecutionContextGraal.(PythonExecutionContextGraal.java:150) at genedata.screener.common.eval.PythonEvaluatorGraalTest.testBinding(PythonEvaluatorGraalTest.java:222) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Original Internal Error: java.lang.AssertionError at org.graalvm.truffle/com.oracle.truffle.polyglot.HostMethodDesc$SingleMethod$ReflectBase.invokeGuestToHost(HostMethodDesc.java:186) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode.doInvoke(HostExecuteNode.java:809) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode.doFixed(HostExecuteNode.java:129) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.executeAndSpecialize(HostExecuteNodeGen.java:138) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.execute(HostExecuteNodeGen.java:94) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostObject.invokeMember(HostObject.java:412) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostObjectGen$InteropLibraryExports$Cached.invokeMemberNode_AndSpecialize(HostObjectGen.java:1393) at org.graalvm.truffle/com.oracle.truffle.polyglot.HostObjectGen$InteropLibraryExports$Cached.invokeMember(HostObjectGen.java:1365) at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibrary$Asserts.invokeMember(InteropLibrary.java:2667) at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibraryGen$CachedDispatch.invokeMember(InteropLibraryGen.java:6078) at com.oracle.graal.python.nodes.call.PythonCallNode$InvokeForeign.call(PythonCallNode.java:383) at com.oracle.graal.python.nodes.call.PythonCallNodeGen$InvokeForeignNodeGen.executeAndSpecialize(PythonCallNodeGen.java:434) at com.oracle.graal.python.nodes.call.PythonCallNodeGen$InvokeForeignNodeGen.execute(PythonCallNodeGen.java:414) at com.oracle.graal.python.nodes.call.PythonCallNode.call(PythonCallNode.java:407) at com.oracle.graal.python.nodes.call.PythonCallNodeGen.executeAndSpecialize(PythonCallNodeGen.java:104) at com.oracle.graal.python.nodes.call.PythonCallNodeGen.execute(PythonCallNodeGen.java:85) at com.oracle.graal.python.nodes.control.GetIteratorExpressionNodeGen.execute(GetIteratorExpressionNodeGen.java:41) at com.oracle.graal.python.nodes.function.GeneratorExpressionNode.execute(GeneratorExpressionNode.java:107) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:166) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:49) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.executeAndSpecialize(CallTargetInvokeNodeGen.java:96) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:54) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeAndSpecialize(CallDispatchNodeGen.java:249) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:125) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeAndSpecialize(CallNodeGen.java:342) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:132) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeAndSpecialize(CallUnaryMethodNodeGen.java:2252) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:433) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.expression.CoerceToBooleanNodeFactory$YesNodeGen.executeBoolean_generic9(CoerceToBooleanNodeFactory.java:285) at com.oracle.graal.python.nodes.expression.CoerceToBooleanNodeFactory$YesNodeGen.executeBoolean(CoerceToBooleanNodeFactory.java:226) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:60) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:63) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:63) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callIndirect(OptimizedCallTarget.java:446) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedIndirectCallNode.call(OptimizedIndirectCallNode.java:73) at com.oracle.graal.python.nodes.call.GenericInvokeNode.doCall(GenericInvokeNode.java:135) at com.oracle.graal.python.nodes.call.GenericInvokeNode.invokeFunction(GenericInvokeNode.java:150) at com.oracle.graal.python.nodes.call.GenericInvokeNodeGen.executeInternal(GenericInvokeNodeGen.java:48) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionUncached(CallDispatchNode.java:138) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.methodCallDirect(CallNode.java:144) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:76) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallTernaryMethodNode.call(CallTernaryMethodNode.java:217) at com.oracle.graal.python.nodes.call.special.CallTernaryMethodNodeGen.execute(CallTernaryMethodNodeGen.java:305) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallTernary.execute(PythonCallNode.java:231) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:114) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:49) at com.oracle.graal.python.nodes.statement.WithNode.doBody(WithNode.java:151) at com.oracle.graal.python.nodes.statement.WithNode.executeVoid(WithNode.java:122) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ContinueTargetNode.executeVoid(ContinueTargetNode.java:51) at com.oracle.graal.python.nodes.control.ForRepeatingNode.executeRepeating(ForNode.java:80) at org.graalvm.truffle/com.oracle.truffle.api.nodes.RepeatingNode.executeRepeatingWithValue(RepeatingNode.java:107) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedOSRLoopNode.profilingLoop(OptimizedOSRLoopNode.java:165) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedOSRLoopNode.execute(OptimizedOSRLoopNode.java:123) at com.oracle.graal.python.nodes.control.ForNode.executeVoid(ForNode.java:198) at com.oracle.graal.python.nodes.control.ElseNode.executeVoid(ElseNode.java:51) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNode.call(CallBinaryMethodNode.java:480) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNodeGen.executeObject(CallBinaryMethodNodeGen.java:1076) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallBinary.execute(PythonCallNode.java:202) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNode.call(CallBinaryMethodNode.java:480) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNodeGen.executeObject(CallBinaryMethodNodeGen.java:1076) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallBinary.execute(PythonCallNode.java:202) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:61) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.WithNode.doBody(WithNode.java:151) at com.oracle.graal.python.nodes.statement.WithNode.executeVoid(WithNode.java:122) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNode.call(CallBinaryMethodNode.java:480) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNodeGen.executeObject(CallBinaryMethodNodeGen.java:1076) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallBinary.execute(PythonCallNode.java:202) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:61) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.executeAndSpecialize(CallTargetInvokeNodeGen.java:96) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:54) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeAndSpecialize(CallDispatchNodeGen.java:249) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:125) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.methodCallDirect(CallNode.java:144) at com.oracle.graal.python.nodes.call.CallNodeGen.executeAndSpecialize(CallNodeGen.java:207) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:132) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.statement.AbstractImportNode.import(AbstractImportNode.java:221) at com.oracle.graal.python.nodes.statement.AbstractImportNode.importModule(AbstractImportNode.java:202) at com.oracle.graal.python.nodes.statement.ImportFromNode.executeVoid(ImportFromNode.java:90) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:49) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionWithSideEffects.execute(ExpressionNode.java:207) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.ModuleRootNode.execute(ModuleRootNode.java:87) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callIndirect(OptimizedCallTarget.java:446) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedIndirectCallNode.call(OptimizedIndirectCallNode.java:73) at com.oracle.graal.python.nodes.call.GenericInvokeNode.doCall(GenericInvokeNode.java:135) at com.oracle.graal.python.nodes.call.GenericInvokeNode.invokeCallTarget(GenericInvokeNode.java:173) at com.oracle.graal.python.nodes.call.GenericInvokeNodeGen.executeInternal(GenericInvokeNodeGen.java:64) at com.oracle.graal.python.nodes.call.GenericInvokeNode.execute(GenericInvokeNode.java:102) at com.oracle.graal.python.builtins.modules.BuiltinFunctions$EvalNode.execCustomGlobalsGlobalLocals(BuiltinFunctions.java:667) at com.oracle.graal.python.builtins.modules.BuiltinFunctionsFactory$ExecNodeFactory$ExecNodeGen.executeInternal(BuiltinFunctionsFactory.java:2028) at com.oracle.graal.python.builtins.modules.BuiltinFunctions$ExecNode.execute(BuiltinFunctions.java:729) at com.oracle.graal.python.nodes.function.builtins.BuiltinCallNode$BuiltinAnyCallNode.execute(BuiltinCallNode.java:64) at com.oracle.graal.python.nodes.function.BuiltinFunctionRootNode.execute(BuiltinFunctionRootNode.java:331) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:42) at com.oracle.graal.python.nodes.call.CallDispatchNode.callBuiltinFunctionCachedCt(CallDispatchNode.java:132) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:65) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:83) at com.oracle.graal.python.nodes.call.CallNode.builtinMethodCallBuiltinDirect(CallNode.java:161) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:95) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.PythonCallNode.call(PythonCallNode.java:442) at com.oracle.graal.python.nodes.call.PythonCallNodeGen.execute(PythonCallNodeGen.java:81) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallTernaryMethodNode.call(CallTernaryMethodNode.java:217) at com.oracle.graal.python.nodes.call.special.CallTernaryMethodNodeGen.execute(CallTernaryMethodNodeGen.java:305) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallTernary.execute(PythonCallNode.java:231) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionStatementNode.executeVoid(ExpressionNode.java:138) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.methodCallDirect(CallNode.java:144) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:76) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionStatementNode.executeVoid(ExpressionNode.java:138) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:63) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:49) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:52) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:63) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNode.call(CallBinaryMethodNode.java:480) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNodeGen.executeObject(CallBinaryMethodNodeGen.java:1076) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallBinary.execute(PythonCallNode.java:202) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:61) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.WithNode.doBody(WithNode.java:151) at com.oracle.graal.python.nodes.statement.WithNode.executeVoid(WithNode.java:122) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNode.call(CallBinaryMethodNode.java:480) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNodeGen.executeObject(CallBinaryMethodNodeGen.java:1076) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallBinary.execute(PythonCallNode.java:202) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:61) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.executeAndSpecialize(CallTargetInvokeNodeGen.java:96) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:54) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeAndSpecialize(CallDispatchNodeGen.java:249) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:125) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.methodCallDirect(CallNode.java:144) at com.oracle.graal.python.nodes.call.CallNodeGen.executeAndSpecialize(CallNodeGen.java:207) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:132) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.statement.AbstractImportNode.import(AbstractImportNode.java:221) at com.oracle.graal.python.nodes.statement.AbstractImportNode.importModule(AbstractImportNode.java:202) at com.oracle.graal.python.nodes.statement.AbstractImportNode.importModule(AbstractImportNode.java:120) at com.oracle.graal.python.nodes.statement.ImportNode$ImportExpression.execute(ImportNode.java:59) at com.oracle.graal.python.nodes.frame.WriteNameNodeGen.executeVoid(WriteNameNodeGen.java:204) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionWithSideEffects.execute(ExpressionNode.java:207) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.ModuleRootNode.execute(ModuleRootNode.java:87) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callIndirect(OptimizedCallTarget.java:446) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedIndirectCallNode.call(OptimizedIndirectCallNode.java:73) at com.oracle.graal.python.nodes.call.GenericInvokeNode.doCall(GenericInvokeNode.java:135) at com.oracle.graal.python.nodes.call.GenericInvokeNode.invokeCallTarget(GenericInvokeNode.java:173) at com.oracle.graal.python.nodes.call.GenericInvokeNodeGen.executeInternal(GenericInvokeNodeGen.java:64) at com.oracle.graal.python.nodes.call.GenericInvokeNode.execute(GenericInvokeNode.java:102) at com.oracle.graal.python.builtins.modules.BuiltinFunctions$EvalNode.execCustomGlobalsGlobalLocals(BuiltinFunctions.java:667) at com.oracle.graal.python.builtins.modules.BuiltinFunctionsFactory$ExecNodeFactory$ExecNodeGen.executeInternal(BuiltinFunctionsFactory.java:2028) at com.oracle.graal.python.builtins.modules.BuiltinFunctions$ExecNode.execute(BuiltinFunctions.java:729) at com.oracle.graal.python.nodes.function.builtins.BuiltinCallNode$BuiltinAnyCallNode.execute(BuiltinCallNode.java:64) at com.oracle.graal.python.nodes.function.BuiltinFunctionRootNode.execute(BuiltinFunctionRootNode.java:331) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:42) at com.oracle.graal.python.nodes.call.CallDispatchNode.callBuiltinFunctionCachedCt(CallDispatchNode.java:132) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:65) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:83) at com.oracle.graal.python.nodes.call.CallNode.builtinMethodCallBuiltinDirect(CallNode.java:161) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:95) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.PythonCallNode.call(PythonCallNode.java:442) at com.oracle.graal.python.nodes.call.PythonCallNodeGen.execute(PythonCallNodeGen.java:81) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallTernaryMethodNode.call(CallTernaryMethodNode.java:217) at com.oracle.graal.python.nodes.call.special.CallTernaryMethodNodeGen.execute(CallTernaryMethodNodeGen.java:305) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallTernary.execute(PythonCallNode.java:231) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionStatementNode.executeVoid(ExpressionNode.java:138) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.methodCallDirect(CallNode.java:144) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:76) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionStatementNode.executeVoid(ExpressionNode.java:138) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:63) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:49) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:52) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:63) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNode.call(CallBinaryMethodNode.java:480) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNodeGen.executeObject(CallBinaryMethodNodeGen.java:1076) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallBinary.execute(PythonCallNode.java:202) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:61) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.WithNode.doBody(WithNode.java:151) at com.oracle.graal.python.nodes.statement.WithNode.executeVoid(WithNode.java:122) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNode.call(CallBinaryMethodNode.java:480) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNodeGen.executeObject(CallBinaryMethodNodeGen.java:1076) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallBinary.execute(PythonCallNode.java:202) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:61) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.executeAndSpecialize(CallTargetInvokeNodeGen.java:96) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:54) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeAndSpecialize(CallDispatchNodeGen.java:249) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:125) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.methodCallDirect(CallNode.java:144) at com.oracle.graal.python.nodes.call.CallNodeGen.executeAndSpecialize(CallNodeGen.java:207) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:132) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.statement.AbstractImportNode.import(AbstractImportNode.java:221) at com.oracle.graal.python.nodes.statement.AbstractImportNode.importModule(AbstractImportNode.java:202) at com.oracle.graal.python.nodes.statement.AbstractImportNode.importModule(AbstractImportNode.java:120) at com.oracle.graal.python.nodes.statement.ImportNode$ImportExpression.execute(ImportNode.java:59) at com.oracle.graal.python.nodes.frame.WriteNameNodeGen.executeVoid(WriteNameNodeGen.java:204) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionWithSideEffects.execute(ExpressionNode.java:207) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.ModuleRootNode.execute(ModuleRootNode.java:87) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callIndirect(OptimizedCallTarget.java:446) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedIndirectCallNode.call(OptimizedIndirectCallNode.java:73) at com.oracle.graal.python.nodes.call.GenericInvokeNode.doCall(GenericInvokeNode.java:135) at com.oracle.graal.python.nodes.call.GenericInvokeNode.invokeCallTarget(GenericInvokeNode.java:173) at com.oracle.graal.python.nodes.call.GenericInvokeNodeGen.executeInternal(GenericInvokeNodeGen.java:64) at com.oracle.graal.python.nodes.call.GenericInvokeNode.execute(GenericInvokeNode.java:102) at com.oracle.graal.python.builtins.modules.BuiltinFunctions$EvalNode.execCustomGlobalsGlobalLocals(BuiltinFunctions.java:667) at com.oracle.graal.python.builtins.modules.BuiltinFunctionsFactory$ExecNodeFactory$ExecNodeGen.executeInternal(BuiltinFunctionsFactory.java:2028) at com.oracle.graal.python.builtins.modules.BuiltinFunctions$ExecNode.execute(BuiltinFunctions.java:729) at com.oracle.graal.python.nodes.function.builtins.BuiltinCallNode$BuiltinAnyCallNode.execute(BuiltinCallNode.java:64) at com.oracle.graal.python.nodes.function.BuiltinFunctionRootNode.execute(BuiltinFunctionRootNode.java:331) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:42) at com.oracle.graal.python.nodes.call.CallDispatchNode.callBuiltinFunctionCachedCt(CallDispatchNode.java:132) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:65) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:83) at com.oracle.graal.python.nodes.call.CallNode.builtinMethodCallBuiltinDirect(CallNode.java:161) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:95) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.PythonCallNode.call(PythonCallNode.java:442) at com.oracle.graal.python.nodes.call.PythonCallNodeGen.execute(PythonCallNodeGen.java:81) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallTernaryMethodNode.call(CallTernaryMethodNode.java:217) at com.oracle.graal.python.nodes.call.special.CallTernaryMethodNodeGen.execute(CallTernaryMethodNodeGen.java:305) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallTernary.execute(PythonCallNode.java:231) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionStatementNode.executeVoid(ExpressionNode.java:138) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.methodCallDirect(CallNode.java:144) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:76) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionStatementNode.executeVoid(ExpressionNode.java:138) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:63) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:49) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:52) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:63) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNode.call(CallBinaryMethodNode.java:480) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNodeGen.executeObject(CallBinaryMethodNodeGen.java:1076) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallBinary.execute(PythonCallNode.java:202) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:61) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.WithNode.doBody(WithNode.java:151) at com.oracle.graal.python.nodes.statement.WithNode.executeVoid(WithNode.java:122) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNode.call(CallBinaryMethodNode.java:480) at com.oracle.graal.python.nodes.call.special.CallBinaryMethodNodeGen.executeObject(CallBinaryMethodNodeGen.java:1076) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallBinary.execute(PythonCallNode.java:202) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.ReturnNode$FrameReturnNode.executeVoid(ReturnNode.java:53) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:49) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:115) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.functionCall(CallNode.java:186) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:121) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNode.call(CallUnaryMethodNode.java:263) at com.oracle.graal.python.nodes.call.special.CallUnaryMethodNodeGen.executeObject(CallUnaryMethodNodeGen.java:429) at com.oracle.graal.python.nodes.call.PythonCallNode$PythonCallUnary.execute(PythonCallNode.java:174) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid_generic4(WriteLocalVariableNodeGen.java:115) at com.oracle.graal.python.nodes.frame.WriteLocalVariableNodeGen.executeVoid(WriteLocalVariableNodeGen.java:48) at com.oracle.graal.python.nodes.control.IfNode.executeVoid(IfNode.java:61) at com.oracle.graal.python.nodes.function.FunctionBodyNode.executeVoid(FunctionBodyNode.java:64) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.control.ReturnTargetNode.execute(ReturnTargetNode.java:58) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.function.FunctionRootNode.execute(FunctionRootNode.java:186) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callDirect(OptimizedCallTarget.java:459) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedDirectCallNode.call(OptimizedDirectCallNode.java:71) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doNoClosure(CallTargetInvokeNode.java:128) at com.oracle.graal.python.nodes.call.CallTargetInvokeNode.doGeneric(CallTargetInvokeNode.java:139) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.executeAndSpecialize(CallTargetInvokeNodeGen.java:96) at com.oracle.graal.python.nodes.call.CallTargetInvokeNodeGen.execute(CallTargetInvokeNodeGen.java:54) at com.oracle.graal.python.nodes.call.CallDispatchNode.callFunctionCachedCt(CallDispatchNode.java:118) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeAndSpecialize(CallDispatchNodeGen.java:249) at com.oracle.graal.python.nodes.call.CallDispatchNodeGen.executeInternal(CallDispatchNodeGen.java:125) at com.oracle.graal.python.nodes.call.CallDispatchNode.executeCall(CallDispatchNode.java:79) at com.oracle.graal.python.nodes.call.CallNode.methodCallDirect(CallNode.java:144) at com.oracle.graal.python.nodes.call.CallNodeGen.executeAndSpecialize(CallNodeGen.java:207) at com.oracle.graal.python.nodes.call.CallNodeGen.executeInternal(CallNodeGen.java:132) at com.oracle.graal.python.nodes.call.CallNode.execute(CallNode.java:107) at com.oracle.graal.python.nodes.statement.AbstractImportNode.import(AbstractImportNode.java:221) at com.oracle.graal.python.nodes.statement.AbstractImportNode.importModule(AbstractImportNode.java:202) at com.oracle.graal.python.nodes.statement.AbstractImportNode.importModule(AbstractImportNode.java:120) at com.oracle.graal.python.nodes.statement.ImportNode$ImportExpression.execute(ImportNode.java:59) at com.oracle.graal.python.nodes.frame.WriteNameNodeGen.executeVoid(WriteNameNodeGen.java:204) at com.oracle.graal.python.nodes.control.BlockNode.executeVoid(BlockNode.java:54) at com.oracle.graal.python.nodes.statement.TryExceptNode.executeVoid(TryExceptNode.java:88) at com.oracle.graal.python.nodes.statement.TryFinallyNode.executeVoid(TryFinallyNode.java:52) at com.oracle.graal.python.nodes.expression.ExpressionNode$ExpressionWithSideEffects.execute(ExpressionNode.java:207) at com.oracle.graal.python.nodes.function.InnerRootNode.execute(InnerRootNode.java:67) at com.oracle.graal.python.nodes.ModuleRootNode.execute(ModuleRootNode.java:87) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.executeRootNode(OptimizedCallTarget.java:591) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.profiledPERoot(OptimizedCallTarget.java:562) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callBoundary(OptimizedCallTarget.java:512) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.doInvoke(OptimizedCallTarget.java:496) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callIndirect(OptimizedCallTarget.java:446) at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.call(OptimizedCallTarget.java:434) at org.graalvm.truffle/com.oracle.truffle.api.nodes.IndirectCallNode$1.call(IndirectCallNode.java:91) at com.oracle.graal.python.nodes.call.GenericInvokeNode.doCall(GenericInvokeNode.java:128) at com.oracle.graal.python.nodes.call.GenericInvokeNode.invokeCallTarget(GenericInvokeNode.java:173) at com.oracle.graal.python.nodes.call.GenericInvokeNodeGen$Uncached.executeInternal(GenericInvokeNodeGen.java:215) at com.oracle.graal.python.nodes.call.GenericInvokeNode.execute(GenericInvokeNode.java:117) at com.oracle.graal.python.builtins.Python3Core.loadFile(Python3Core.java:751) at com.oracle.graal.python.builtins.Python3Core.initializePythonCore(Python3Core.java:533) at com.oracle.graal.python.builtins.Python3Core.initialize(Python3Core.java:519) at com.oracle.graal.python.runtime.PythonContext.initialize(PythonContext.java:438) at com.oracle.graal.python.PythonLanguage.initializeContext(PythonLanguage.java:272) at com.oracle.graal.python.PythonLanguage.initializeContext(PythonLanguage.java:107) at org.graalvm.truffle/com.oracle.truffle.api.TruffleLanguage$Env.postInit(TruffleLanguage.java:3397) at org.graalvm.truffle/com.oracle.truffle.api.LanguageAccessor$LanguageImpl.postInitEnv(LanguageAccessor.java:300) at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotLanguageContext.ensureInitialized(PolyglotLanguageContext.java:597) at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotContextImpl.eval(PolyglotContextImpl.java:939) at org.graalvm.sdk/org.graalvm.polyglot.Context.eval(Context.java:347) at org.graalvm.sdk/org.graalvm.polyglot.Context.eval(Context.java:373) at genedata.screener.common.eval.PythonExecutionContextGraal.createPythonContext(PythonExecutionContextGraal.java:198) at genedata.screener.common.eval.PythonExecutionContextGraal.(PythonExecutionContextGraal.java:150) at genedata.screener.common.eval.PythonEvaluatorGraalTest.testBinding(PythonEvaluatorGraalTest.java:222) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:542) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:770) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:464) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: Attached Guest Language Frames (35)

`

`

timfel commented 3 years ago

What are you trying to run, and on which version of Graal? The code you posted just defines a class but doesn't run anything. I don't see an error with that code, but I might have transcribed it wrong - I tried this:

import org.graalvm.polyglot.*;
import org.graalvm.polyglot.proxy.*;

public class Main {
    public static void main(String[] args) {
        Engine engine = null;
        engine = Engine.newBuilder()
            .allowExperimentalOptions(true)
            .option("python.EmulateJython", "true")
            .build();
        Context ctx = Context.newBuilder("python")
            .allowAllAccess(true) .engine(engine)
            .build();
        String dictConvertFun = "dictConvertFun";
        String SCOPE_CLASS = "ScopeClass";
        ctx.eval("python", "import java\n" +
                        "from java.util import LinkedHashMap\n" + "\n" +
                        "class "+SCOPE_CLASS+":\n" +
                        " def __init__(self):\n" +
                        "  pass\n" + "\n" +
                        "def "+dictConvertFun+"(pythonDict):\n" +
                        " javaMap = LinkedHashMap()\n" +
                        " for (k, v) in pythonDict.items():\n" +
                        "  javaMap.put(k, v)\n" +
                        " return javaMap" + "");

        ctx.eval("python", "print(" + dictConvertFun + "({1: 2}))");
    }
}

Running this works for me, what is it you're running to trigger the "convert function"?

timfel commented 3 years ago

As an aside, do you actually need the Jython emulation features? Because the performance is definitely worse when Jython emulation is enabled. Just an aside

fra-orolo commented 3 years ago

PythonGraalBugsTest.java.txt

Hi,

I am running this on Graal V21.0.0 on Linux 64, it failed on V20 as well.

bash-4.2$ ./graalvm-ce-java11-21.0.0/bin/java -version openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment GraalVM CE 21.0.0 (build 11.0.10+8-jvmci-21.0-b06) OpenJDK 64-Bit Server VM GraalVM CE 21.0.0 (build 11.0.10+8-jvmci-21.0-b06, mixed mode, sharing)

I picked out only the relevant method. The code above hits the assertion in the eval that defines the dictConvertFun() . I attached a unit test, it fails if the second context is created. [Why the hack is attaching java not allowed]

Best Martin

fra-orolo commented 3 years ago

As an aside, do you actually need the Jython emulation features? Because the performance is definitely worse when Jython emulation is enabled. Just an aside

We are using embedded Jython scripts for years, the old scripts need quite some code changes to make them work with Graal: using Java objects and methods needs more manual type conversion. Therefore I wanted to try the Jython emulation.

timfel commented 3 years ago

You're code works just fine for me :thinking:

@chumer do you have any idea from the looks of the top of the stacktrace above?

org.graalvm.polyglot.PolyglotException: java.lang.AssertionError
at
org.graalvm.truffle/com.oracle.truffle.polyglot.HostMethodDesc$SingleMethod$ReflectBase.invokeGuestToHost(HostMethodDesc.java:186)
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode.doInvoke(HostExecuteNode.java:809)
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNode.doFixed(HostExecuteNode.java:129)
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.executeAndSpecialize(HostExecuteNodeGen.java:138)
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostExecuteNodeGen.execute(HostExecuteNodeGen.java:94)
at org.graalvm.truffle/com.oracle.truffle.polyglot.HostObject.invokeMember(HostObject.java:412)
fra-orolo commented 3 years ago

So for me it always fails. The call in question, where the code in reflectionHostInvoke becomes inconsistent is java.lang.Package.getPackages() ... Just to be sure, Assertions (-ea) need to be enabled on the JRE commandline.

I also tried 3 different Graal versions (20.3.0, 21.0.0 in ce and ee flavours) it always behaves the same way. And I'm running the Test isolated with no other libs on the classpath, just Graal with Python installed.