Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Debugging graalsqueak via --inspect causes lots of error messages #64

Closed
janehmueller opened this issue Jun 26, 2019 · 2 comments
Closed
Assignees

Comments

@janehmueller
Copy link
Contributor

When starting graalsqueak with the flag --inspect and then using the Chrome debugger, lots of the following error messages appear. The function at the beginning (Heap>>downHeapSingle in this case) changes, but the error messages is always the same. This happens on graalsqueak 0.8 as well as 0.8.4

[truffle] opt fail         Heap>>downHeapSingle: <split-463685c6>                      |Reason org.graalvm.compiler.code.SourceStackTraceBailoutException$1: Object of type Lorg/graalvm/compiler/truffle/runtime/FrameWithoutBoxing; shoul
d not be materialized:                                                                                                                                                                                                                     
org.graalvm.compiler.code.SourceStackTraceBailoutException$1: Object of type Lorg/graalvm/compiler/truffle/runtime/FrameWithoutBoxing; should not be materialized:                                                                         
        at com.oracle.truffle.api.debug.DebuggerSession$SteppingNode.onEnter(DebuggerSession.java:1286)                                                                                                                                    
        at com.oracle.truffle.api.debug.DebuggerSession$RootSteppingDepthNode.onEnter(DebuggerSession.java:1378)                                                                                                                           
        at com.oracle.truffle.api.instrumentation.ProbeNode$EventProviderChainNode.innerOnEnter(ProbeNode.java:1449)                                                                                                                       
        at com.oracle.truffle.api.instrumentation.ProbeNode$EventChainNode.onEnter(ProbeNode.java:898)                                                                                                                                     
        at com.oracle.truffle.api.instrumentation.ProbeNode.onEnter(ProbeNode.java:156)                                                                                                                                                    
        at de.hpi.swa.graal.squeak.nodes.EnterCodeNodeWrapper.execute(EnterCodeNodeWrapper.java:44)                                                                                                                                        
        at de.hpi.swa.graal.squeak.nodes.EnterCodeNode$SqueakCodeRootNode.execute(EnterCodeNode.java:61)                                                                                                                                   
        at org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callProxy(OptimizedCallTarget.java:325)                                                                                                                                
        at org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.callRoot(OptimizedCallTarget.java:315)                                                                                                                                 
Caused by: org.graalvm.compiler.graph.VerificationError: Object of type Lorg/graalvm/compiler/truffle/runtime/FrameWithoutBoxing; should not be materialized:                                                                              
        at org.graalvm.compiler.nodes.virtual.EnsureVirtualizedNode.ensureVirtualFailure(EnsureVirtualizedNode.java:98)                                                                                                                    
        at org.graalvm.compiler.nodes.virtual.EnsureVirtualizedNode.lower(EnsureVirtualizedNode.java:82)                                                                                                                                   
        at org.graalvm.compiler.phases.common.LoweringPhase$Round.process(LoweringPhase.java:476)                                                                                                                                          
        at org.graalvm.compiler.phases.common.LoweringPhase$Round.access$200(LoweringPhase.java:352)                                                                                                                                       
        at org.graalvm.compiler.phases.common.LoweringPhase$Round$ProcessFrame.preprocess(LoweringPhase.java:416)                                                                                                                          
        at org.graalvm.compiler.phases.common.LoweringPhase.processBlock(LoweringPhase.java:575)                                                                                                                                           
        at org.graalvm.compiler.phases.common.LoweringPhase$Round.run(LoweringPhase.java:401)                                                                                                                                              
        at org.graalvm.compiler.phases.Phase.run(Phase.java:49)                                                                                                                                                                            
        at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)                                                                                                                                                                 
        at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)                                                                                                                                                                 
        at org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:212)                                                                                                                                                                 
        at org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:56)                                                                                                                     
        at org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.run(IncrementalCanonicalizerPhase.java:38)                                                                                                                     
        at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)                                                                                                                                                                 
        at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)                                                                                                                                                                 
        at org.graalvm.compiler.phases.common.LoweringPhase.lower(LoweringPhase.java:272)                                                                                                                                                  
        at org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:265)                                                                                                                                                    
        at org.graalvm.compiler.phases.common.LoweringPhase.run(LoweringPhase.java:95)                                                                                                                                                     
        at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)                                                                                                                                                                 
        at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)                                                                                                                                                                 
        at org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:212)                                                                                                                                                                 
        at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)                                                                                                                                                                 
        at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:139)                                                                                                                                                                 
        at org.graalvm.compiler.core.GraalCompiler.emitFrontEnd(GraalCompiler.java:220)                                                                                                                                                    
        at org.graalvm.compiler.core.GraalCompiler.compile(GraalCompiler.java:144)                                                                                                                                                         
        at org.graalvm.compiler.core.GraalCompiler.compileGraph(GraalCompiler.java:129)                                                                                                                                                    
        at org.graalvm.compiler.truffle.compiler.TruffleCompilerImpl.compilePEGraph(TruffleCompilerImpl.java:518)                                                                                                                          
        at org.graalvm.compiler.truffle.compiler.TruffleCompilerImpl.compileAST(TruffleCompilerImpl.java:452)                                                                                                                              
        at org.graalvm.compiler.truffle.compiler.TruffleCompilerImpl$TruffleCompilationWrapper.performCompilation(TruffleCompilerImpl.java:621)                                                                                            
        at org.graalvm.compiler.truffle.compiler.TruffleCompilerImpl$TruffleCompilationWrapper.performCompilation(TruffleCompilerImpl.java:568)                                                                                            
        at org.graalvm.compiler.core.CompilationWrapper.run(CompilationWrapper.java:177)                                                                                                                                                   
        at org.graalvm.compiler.truffle.compiler.TruffleCompilerImpl.doCompile(TruffleCompilerImpl.java:280)                                                                                                                               
        at org.graalvm.compiler.truffle.compiler.hotspot.libgraal.HotSpotToSVMEntryPoints.doCompile(HotSpotToSVMEntryPoints.java:251)   
@janehmueller janehmueller changed the title Debugging graalsqueak via --inspect causes lots of error messages Debugging graalsqueak via --inspect causes lots of error messages Jun 26, 2019
@fniephaus
Copy link
Member

I'm unable to explain this, so I've opened oracle/graal#1445.

@fniephaus
Copy link
Member

This should be fixed in the next release. Thanks!

@fniephaus fniephaus self-assigned this Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants