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] Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/interp.c:3285 with interpreter #54396

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

Comments

@fanyang-mono
Copy link
Member

Failed tests list:

  • JIT/jit64/verif/sniff/fg/ver_fg_13/ver_fg_13.sh

Full log

      06-17 16:46:22.310 14810 14827 I DOTNET  : MonoRunner initialize,, entryPointLibName=ver_fg_13.dll
      06-17 16:46:22.311 14810 14827 D DOTNET  : file_path: /data/user/0/net.dot.JIT_jit64/files/runtimeconfig.bin
      06-17 16:46:22.311 14810 14827 D DOTNET  : Interp Enabled
      06-17 16:46:22.312 14810 14827 D DOTNET  : assembly_preload_hook: System.Private.CoreLib (null) /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.333 14810 14827 D DOTNET  : assembly_preload_hook: ver_fg_13.dll (null) /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.333 14810 14827 D DOTNET  : Executable: ver_fg_13.dll
      06-17 16:46:22.333 14810 14827 D DOTNET  : assembly_preload_hook: mscorlib  /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.333 14810 14827 D DOTNET  : assembly_preload_hook: System.Console  /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.333 14810 14827 D DOTNET  : assembly_preload_hook: System.Runtime  /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.372 14810 14827 D DOTNET  : ((null) error) * Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/interp.c:3285
      06-17 16:46:22.372 14810 14827 E DOTNET  : Exit code: 1.
      06-17 16:46:22.428  1792  2648 I ActivityManager: Process net.dot.JIT_jit64 (pid 14810) has died: fore FGS 
      06-17 16:46:22.431  1792  2648 W ActivityManager: Crash of app net.dot.JIT_jit64 running instrumentation ComponentInfo{net.dot.JIT_jit64/net.dot.MonoRunner}
      06-17 16:46:22.432  1792 13884 W Binder  : Outgoing transactions from this process must be FLAG_ONEWAY
      06-17 16:46:22.432  1792 13884 W Binder  : java.lang.Throwable
      06-17 16:46:22.432  1792 13884 W Binder  : 	at android.os.BinderProxy.transact(BinderProxy.java:480)
      06-17 16:46:22.432  1792 13884 W Binder  : 	at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205)
      06-17 16:46:22.432  1792 13884 W Binder  : 	at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86)
      06-17 16:46:22.435  1792  2648 I ActivityManager: Force stopping net.dot.JIT_jit64 appid=10128 user=0: finished inst
      06-17 16:46:22.436  1536  1536 I Zygote  : Process 14810 exited cleanly (1)
      06-17 16:46:22.439 14799 14799 D AndroidRuntime: Shutting down VM
      06-17 16:46:22.458  1792 13884 I ActivityManager: Failure reporting to instrumentation watcher: comp=ComponentInfo{net.dot.JIT_jit64/net.dot.MonoRunner} results=Bundle[{shortMsg=Process crashed.}]
      06-17 16:46:22.473  1792  1819 I libprocessgroup: Successfully killed process cgroup uid 10128 pid 14810 in 43ms
      Expected: True
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jun 18, 2021
@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/jit64/verif/sniff/fg/ver_fg_13/ver_fg_13.sh

Full log

      06-17 16:46:22.310 14810 14827 I DOTNET  : MonoRunner initialize,, entryPointLibName=ver_fg_13.dll
      06-17 16:46:22.311 14810 14827 D DOTNET  : file_path: /data/user/0/net.dot.JIT_jit64/files/runtimeconfig.bin
      06-17 16:46:22.311 14810 14827 D DOTNET  : Interp Enabled
      06-17 16:46:22.312 14810 14827 D DOTNET  : assembly_preload_hook: System.Private.CoreLib (null) /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.333 14810 14827 D DOTNET  : assembly_preload_hook: ver_fg_13.dll (null) /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.333 14810 14827 D DOTNET  : Executable: ver_fg_13.dll
      06-17 16:46:22.333 14810 14827 D DOTNET  : assembly_preload_hook: mscorlib  /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.333 14810 14827 D DOTNET  : assembly_preload_hook: System.Console  /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.333 14810 14827 D DOTNET  : assembly_preload_hook: System.Runtime  /data/user/0/net.dot.JIT_jit64/files
      06-17 16:46:22.372 14810 14827 D DOTNET  : ((null) error) * Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/interp.c:3285
      06-17 16:46:22.372 14810 14827 E DOTNET  : Exit code: 1.
      06-17 16:46:22.428  1792  2648 I ActivityManager: Process net.dot.JIT_jit64 (pid 14810) has died: fore FGS 
      06-17 16:46:22.431  1792  2648 W ActivityManager: Crash of app net.dot.JIT_jit64 running instrumentation ComponentInfo{net.dot.JIT_jit64/net.dot.MonoRunner}
      06-17 16:46:22.432  1792 13884 W Binder  : Outgoing transactions from this process must be FLAG_ONEWAY
      06-17 16:46:22.432  1792 13884 W Binder  : java.lang.Throwable
      06-17 16:46:22.432  1792 13884 W Binder  : 	at android.os.BinderProxy.transact(BinderProxy.java:480)
      06-17 16:46:22.432  1792 13884 W Binder  : 	at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205)
      06-17 16:46:22.432  1792 13884 W Binder  : 	at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86)
      06-17 16:46:22.435  1792  2648 I ActivityManager: Force stopping net.dot.JIT_jit64 appid=10128 user=0: finished inst
      06-17 16:46:22.436  1536  1536 I Zygote  : Process 14810 exited cleanly (1)
      06-17 16:46:22.439 14799 14799 D AndroidRuntime: Shutting down VM
      06-17 16:46:22.458  1792 13884 I ActivityManager: Failure reporting to instrumentation watcher: comp=ComponentInfo{net.dot.JIT_jit64/net.dot.MonoRunner} results=Bundle[{shortMsg=Process crashed.}]
      06-17 16:46:22.473  1792  1819 I libprocessgroup: Successfully killed process cgroup uid 10128 pid 14810 in 43ms
      Expected: True
Author: fanyang-mono
Assignees: -
Labels:

area-Codegen-Interpreter-mono, os-android

Milestone: -

@fanyang-mono fanyang-mono changed the title [MONO][Android][Interp] Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/interp.c:3285 [MONO][Android][Interp] Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/interp.c:3285 on Android x64 with interpreter Jun 18, 2021
@fanyang-mono fanyang-mono changed the title [MONO][Android][Interp] Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/interp.c:3285 on Android x64 with interpreter [MONO][Interp] Assertion: should not be reached at /__w/1/s/src/mono/mono/mini/interp/interp.c:3285 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
Copy link
Member

Seems like a malformed IL test

@SamMonoRT
Copy link
Member

Assigning for accurate tracking and triaging

@BrzVlad BrzVlad modified the milestones: 7.0.0, 8.0.0 Aug 1, 2022
@kotlarmilos kotlarmilos self-assigned this Dec 5, 2022
@kotlarmilos
Copy link
Member

kotlarmilos commented Dec 5, 2022

Test intentionally have invalid IL with explicit relative IL offset IL_0022: leave.s IL_000e, where IL_000e is not a valid branch.

Such IL results in one BB with a throw and other dead BBs.

IL_0000 newobj    , sp 0,                
IL_0005 throw     , sp 1, O  DivideByZeroException
SKIPPING DEAD OP at 6
SKIPPING DEAD OP at b
SKIPPING DEAD OP at c
SKIPPING DEAD OP at 11
SKIPPING DEAD OP at 16
SKIPPING DEAD OP at 1b
SKIPPING DEAD OP at 1c
SKIPPING DEAD OP at 21
SKIPPING DEAD OP at 22
SKIPPING DEAD OP at 24
SKIPPING DEAD OP at 29
SKIPPING DEAD OP at 2e
SKIPPING DEAD OP at 33

#79246 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants