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

[MONO][Interp] JIT/Methodical/eh/basics/throwinfilter_* failed on Android x64 with interpreter #54389

Closed
fanyang-mono opened this issue Jun 18, 2021 · 4 comments

Comments

@fanyang-mono
Copy link
Member

Failed tests list:

  • JIT/Methodical/eh/basics/throwinfilter_d/throwinfilter_d.sh
  • JIT/Methodical/eh/basics/throwinfilter_r/throwinfilter_r.sh

Full log

06-17 16:44:07.174  7253  7271 I DOTNET  : MonoRunner initialize,, entryPointLibName=throwinfilter_d.dll
      06-17 16:44:07.174  7253  7271 D DOTNET  : file_path: /data/user/0/net.dot.JIT_Methodical/files/runtimeconfig.bin
      06-17 16:44:07.176  7253  7271 D DOTNET  : Interp Enabled
      06-17 16:44:07.178  7253  7271 D DOTNET  : assembly_preload_hook: System.Private.CoreLib (null) /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.203  7253  7271 D DOTNET  : assembly_preload_hook: throwinfilter_d.dll (null) /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.203  7253  7271 D DOTNET  : Executable: throwinfilter_d.dll
      06-17 16:44:07.203  7253  7271 D DOTNET  : assembly_preload_hook: mscorlib  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.205  7253  7271 D DOTNET  : assembly_preload_hook: common  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.206  7253  7271 D DOTNET  : assembly_preload_hook: System.Runtime  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.206  7253  7271 D DOTNET  : assembly_preload_hook: System.Console  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.218  7253  7271 D DOTNET  : assembly_preload_hook: System.Threading  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.224  7253  7271 D DOTNET  : assembly_preload_hook: System.Runtime.InteropServices  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.228  7253  7271 I DOTNET  : In try, throwing the first obj
      06-17 16:44:07.228  7253  7271 I DOTNET  : 
      06-17 16:44:07.258  7253  7271 I DOTNET  : In filter
      06-17 16:44:07.258  7253  7271 I DOTNET  : 
      06-17 16:44:07.258  7253  7271 I DOTNET  : In handler, should be unreached
      06-17 16:44:07.258  7253  7271 I DOTNET  : 
      06-17 16:44:07.258  7253  7271 I DOTNET  : Done
      06-17 16:44:07.258  7253  7271 I DOTNET  : 
      06-17 16:44:07.263  7253  7271 I DOTNET  : 
      06-17 16:44:07.264  7253  7271 I DOTNET  : FAILED!
      06-17 16:44:07.264  7253  7271 I DOTNET  : 
      06-17 16:44:07.264  7253  7271 I DOTNET  : [EXPECTED OUTPUT]
      06-17 16:44:07.264  7253  7271 I DOTNET  : In try, throwing the first obj
      06-17 16:44:07.264  7253  7271 I DOTNET  : In filter
      06-17 16:44:07.264  7253  7271 I DOTNET  : In catch
      06-17 16:44:07.264  7253  7271 I DOTNET  : Done
      06-17 16:44:07.264  7253  7271 I DOTNET  : 
      06-17 16:44:07.264  7253  7271 I DOTNET  : [DIFF RESULT]
      06-17 16:44:07.264  7253  7271 I DOTNET  : < In catch
      06-17 16:44:07.264  7253  7271 I DOTNET  : ---
      06-17 16:44:07.264  7253  7271 I DOTNET  : > In handler, should be unreached
      06-17 16:44:07.264  7253  7271 I DOTNET  : 
      06-17 16:44:07.264  7253  7271 D DOTNET  : Exit code: 1.
      06-17 16:44:07.269  7253  7271 I DOTNET  : MonoRunner finished, return-code=1
      06-17 16:44:07.269  1787  2621 I ActivityManager: Force stopping net.dot.JIT_Methodical appid=10141 user=0: finished inst
      06-17 16:44:07.269  1787  2621 I ActivityManager: Killing 7253:net.dot.JIT_Methodical/u0a141 (adj 0): stop net.dot.JIT_Methodical
      06-17 16:44:07.270  1787  6702 W Binder  : Outgoing transactions from this process must be FLAG_ONEWAY
      06-17 16:44:07.270  1787  6702 W Binder  : java.lang.Throwable
      06-17 16:44:07.270  1787  6702 W Binder  : 	at android.os.BinderProxy.transact(BinderProxy.java:480)
      06-17 16:44:07.270  1787  6702 W Binder  : 	at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205)
      06-17 16:44:07.270  1787  6702 W Binder  : 	at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86)
      06-17 16:44:07.271  7243  7243 D AndroidRuntime: Shutting down VM
      06-17 16:44:07.288  7243  7274 E app_process: Thread attaching to non-existent runtime: Binder:7243_3
      06-17 16:44:07.288  7243  7274 I AndroidRuntime: NOTE: attach of thread 'Binder:7243_3' failed
      06-17 16:44:07.301  1533  1533 I Zygote  : Process 7253 exited due to signal 9 (Killed)
      06-17 16:44:07.309  1787  1814 I libprocessgroup: Successfully killed process cgroup uid 10141 pid 7253 in 39ms
@ghost
Copy link

ghost commented Jun 18, 2021

Tagging subscribers to this area: @BrzVlad
See info in area-owners.md if you want to be subscribed.

Issue Details

Failed tests list:

  • JIT/Methodical/eh/basics/throwinfilter_d/throwinfilter_d.sh
  • JIT/Methodical/eh/basics/throwinfilter_r/throwinfilter_r.sh

Full log

06-17 16:44:07.174  7253  7271 I DOTNET  : MonoRunner initialize,, entryPointLibName=throwinfilter_d.dll
      06-17 16:44:07.174  7253  7271 D DOTNET  : file_path: /data/user/0/net.dot.JIT_Methodical/files/runtimeconfig.bin
      06-17 16:44:07.176  7253  7271 D DOTNET  : Interp Enabled
      06-17 16:44:07.178  7253  7271 D DOTNET  : assembly_preload_hook: System.Private.CoreLib (null) /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.203  7253  7271 D DOTNET  : assembly_preload_hook: throwinfilter_d.dll (null) /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.203  7253  7271 D DOTNET  : Executable: throwinfilter_d.dll
      06-17 16:44:07.203  7253  7271 D DOTNET  : assembly_preload_hook: mscorlib  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.205  7253  7271 D DOTNET  : assembly_preload_hook: common  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.206  7253  7271 D DOTNET  : assembly_preload_hook: System.Runtime  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.206  7253  7271 D DOTNET  : assembly_preload_hook: System.Console  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.218  7253  7271 D DOTNET  : assembly_preload_hook: System.Threading  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.224  7253  7271 D DOTNET  : assembly_preload_hook: System.Runtime.InteropServices  /data/user/0/net.dot.JIT_Methodical/files
      06-17 16:44:07.228  7253  7271 I DOTNET  : In try, throwing the first obj
      06-17 16:44:07.228  7253  7271 I DOTNET  : 
      06-17 16:44:07.258  7253  7271 I DOTNET  : In filter
      06-17 16:44:07.258  7253  7271 I DOTNET  : 
      06-17 16:44:07.258  7253  7271 I DOTNET  : In handler, should be unreached
      06-17 16:44:07.258  7253  7271 I DOTNET  : 
      06-17 16:44:07.258  7253  7271 I DOTNET  : Done
      06-17 16:44:07.258  7253  7271 I DOTNET  : 
      06-17 16:44:07.263  7253  7271 I DOTNET  : 
      06-17 16:44:07.264  7253  7271 I DOTNET  : FAILED!
      06-17 16:44:07.264  7253  7271 I DOTNET  : 
      06-17 16:44:07.264  7253  7271 I DOTNET  : [EXPECTED OUTPUT]
      06-17 16:44:07.264  7253  7271 I DOTNET  : In try, throwing the first obj
      06-17 16:44:07.264  7253  7271 I DOTNET  : In filter
      06-17 16:44:07.264  7253  7271 I DOTNET  : In catch
      06-17 16:44:07.264  7253  7271 I DOTNET  : Done
      06-17 16:44:07.264  7253  7271 I DOTNET  : 
      06-17 16:44:07.264  7253  7271 I DOTNET  : [DIFF RESULT]
      06-17 16:44:07.264  7253  7271 I DOTNET  : < In catch
      06-17 16:44:07.264  7253  7271 I DOTNET  : ---
      06-17 16:44:07.264  7253  7271 I DOTNET  : > In handler, should be unreached
      06-17 16:44:07.264  7253  7271 I DOTNET  : 
      06-17 16:44:07.264  7253  7271 D DOTNET  : Exit code: 1.
      06-17 16:44:07.269  7253  7271 I DOTNET  : MonoRunner finished, return-code=1
      06-17 16:44:07.269  1787  2621 I ActivityManager: Force stopping net.dot.JIT_Methodical appid=10141 user=0: finished inst
      06-17 16:44:07.269  1787  2621 I ActivityManager: Killing 7253:net.dot.JIT_Methodical/u0a141 (adj 0): stop net.dot.JIT_Methodical
      06-17 16:44:07.270  1787  6702 W Binder  : Outgoing transactions from this process must be FLAG_ONEWAY
      06-17 16:44:07.270  1787  6702 W Binder  : java.lang.Throwable
      06-17 16:44:07.270  1787  6702 W Binder  : 	at android.os.BinderProxy.transact(BinderProxy.java:480)
      06-17 16:44:07.270  1787  6702 W Binder  : 	at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205)
      06-17 16:44:07.270  1787  6702 W Binder  : 	at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86)
      06-17 16:44:07.271  7243  7243 D AndroidRuntime: Shutting down VM
      06-17 16:44:07.288  7243  7274 E app_process: Thread attaching to non-existent runtime: Binder:7243_3
      06-17 16:44:07.288  7243  7274 I AndroidRuntime: NOTE: attach of thread 'Binder:7243_3' failed
      06-17 16:44:07.301  1533  1533 I Zygote  : Process 7253 exited due to signal 9 (Killed)
      06-17 16:44:07.309  1787  1814 I libprocessgroup: Successfully killed process cgroup uid 10141 pid 7253 in 39ms
Author: fanyang-mono
Assignees: -
Labels:

area-Codegen-Interpreter-mono, os-android

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jun 18, 2021
@fanyang-mono fanyang-mono changed the title [MONO][Android][Interp] JIT/Methodical/eh/basics/throwinfilter_* failed on Android x64 with interpreter [MONO][Interp] JIT/Methodical/eh/basics/throwinfilter_* failed on Android x64 with interpreter Jun 18, 2021
@SamMonoRT SamMonoRT added this to the 7.0.0 milestone Jun 21, 2021
@SamMonoRT SamMonoRT removed the untriaged New issue has not been triaged by the area owner label Jun 21, 2021
@lambdageek lambdageek modified the milestones: 7.0.0, 6.0.0 Jun 22, 2021
@lambdageek
Copy link
Member

This one is worth investigating deeper - we're relying on exception filters to work correctly in the interpreter for some scenarios (e.g. browser-wasm with hybrid AOT/interp), so it's important to get right.

@BrzVlad
Copy link
Member

BrzVlad commented Jun 23, 2021

Throws from filters are incorrect on mono, both on jit and interp. This might be a duplicate of #47624.

@BrzVlad
Copy link
Member

BrzVlad commented Jul 1, 2021

Closing as duplicate. The issue is that we don't catch all exception thrown from filters so they bubble up.

@BrzVlad BrzVlad closed this as completed Jul 1, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants