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]classloader tests failed with SEGV with interpreter #54560

Closed
fanyang-mono opened this issue Jun 22, 2021 · 2 comments
Closed

[MONO][Interp]classloader tests failed with SEGV with interpreter #54560

fanyang-mono opened this issue Jun 22, 2021 · 2 comments
Assignees
Labels
area-Codegen-Interpreter-mono disabled-test The test is disabled in source code against the issue
Milestone

Comments

@fanyang-mono
Copy link
Member

fanyang-mono commented Jun 22, 2021

Failed tests list:

  • Loader/classloader/Statics/Misc/LiteralStatic/LiteralStatic.sh

Loader/classloader/* full log

--------- beginning of crash
      06-17 16:49:34.099  9894  9911 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 9911 (.dot.MonoRunner), pid 9894 (der_classloader)
      06-17 16:49:34.149  9916  9916 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
      06-17 16:49:34.149  1591  1591 I /system/bin/tombstoned: received crash request for pid 9911
      06-17 16:49:34.150  9916  9916 I crash_dump64: performing dump of process 9894 (target tid = 9911)
      06-17 16:49:34.154  9916  9916 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      06-17 16:49:34.154  9916  9916 F DEBUG   : Build fingerprint: 'Android/sdk_phone_x86_64/generic_x86_64:10/QPP6.190730.005.B1/5775370:userdebug/test-keys'
      06-17 16:49:34.154  9916  9916 F DEBUG   : Revision: '0'
      06-17 16:49:34.154  9916  9916 F DEBUG   : ABI: 'x86_64'
      06-17 16:49:34.155  9916  9916 F DEBUG   : Timestamp: 2021-06-17 16:49:34+0000
      06-17 16:49:34.155  9916  9916 F DEBUG   : pid: 9894, tid: 9911, name: .dot.MonoRunner  >>> net.dot.Loader_classloader <<<
      06-17 16:49:34.155  9916  9916 F DEBUG   : uid: 10128
      06-17 16:49:34.155  9916  9916 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
      06-17 16:49:34.155  9916  9916 F DEBUG   : Cause: null pointer dereference
      06-17 16:49:34.155  9916  9916 F DEBUG   :     rax 0000000000000000  rbx 0000767d6fed6050  rcx 0000000000000001  rdx 0000000000000008
      06-17 16:49:34.155  9916  9916 F DEBUG   :     r8  0000767e4c787be8  r9  0000767d6fbd802e  r10 0000767e4c787c10  r11 0000000000000000
      06-17 16:49:34.155  9916  9916 F DEBUG   :     r12 0000767e4c787be8  r13 0000767e4c787c10  r14 0000767d719f8950  r15 0000767d6fbd802e
      06-17 16:49:34.155  9916  9916 F DEBUG   :     rdi 0000767d6fc24908  rsi 0000000000000000
      06-17 16:49:34.155  9916  9916 F DEBUG   :     rbp 0000767d719f8ae0  rsp 0000767d719f8950  rip 0000767d71cb27ff
      06-17 16:49:34.279  9916  9916 F DEBUG   : 
      06-17 16:49:34.279  9916  9916 F DEBUG   : backtrace:
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #00 pc 00000000002567ff  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/lib/x86_64/libmonosgen-2.0.so (BuildId: b8502093d5cbaaad2c56b78a2971bae3d39fed99)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #01 pc 000000000024d6a7  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/lib/x86_64/libmonosgen-2.0.so (BuildId: b8502093d5cbaaad2c56b78a2971bae3d39fed99)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #02 pc 0000000000164acc  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/lib/x86_64/libmonosgen-2.0.so (BuildId: b8502093d5cbaaad2c56b78a2971bae3d39fed99)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #03 pc 0000000000093aa7  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/lib/x86_64/libmonosgen-2.0.so (BuildId: b8502093d5cbaaad2c56b78a2971bae3d39fed99)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #04 pc 0000000000099b9a  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/lib/x86_64/libmonosgen-2.0.so (BuildId: b8502093d5cbaaad2c56b78a2971bae3d39fed99)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #05 pc 00000000001b675b  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/lib/x86_64/libmonosgen-2.0.so (mono_jit_exec+331) (BuildId: b8502093d5cbaaad2c56b78a2971bae3d39fed99)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #06 pc 0000000000001d7f  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/lib/x86_64/libmonodroid.so (mono_droid_runtime_init+540) (BuildId: fe77d42b65eddb4d787d5caa705e079f15611d57)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #07 pc 0000000000002421  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/lib/x86_64/libmonodroid.so (Java_net_dot_MonoRunner_initRuntime+426) (BuildId: fe77d42b65eddb4d787d5caa705e079f15611d57)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #08 pc 0000000000002183  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/oat/x86_64/base.odex (art_jni_trampoline+371)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #09 pc 00000000001696b6  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+806) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #10 pc 0000000000179c61  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+305) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #11 pc 0000000000340ffc  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+380) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #12 pc 000000000033b20f  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1151) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #13 pc 000000000066c545  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+677) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #14 pc 0000000000162999  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+25) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #15 pc 0000000000000aba  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/oat/x86_64/base.vdex (net.dot.MonoRunner.initialize+98)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #16 pc 000000000066c86d  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1485) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #17 pc 0000000000162999  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+25) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #18 pc 0000000000000d60  /data/app/net.dot.Loader_classloader-MY4qbyBQtiofFE-Ndbq8Ng==/oat/x86_64/base.vdex (net.dot.MonoRunner.onStart+60)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #19 pc 00000000006692dd  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1789) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #20 pc 0000000000162819  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+25) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #21 pc 00000000001edea6  /system/framework/framework.jar (android.app.Instrumentation$InstrumentationThread.run+94)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #22 pc 000000000030dcad  /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.13960599661070883162+253) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #23 pc 000000000065854a  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1210) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #24 pc 00000000001747cc  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+140) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #25 pc 0000000000169354  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+756) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #26 pc 0000000000179c50  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+288) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #27 pc 0000000000549d29  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+89) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #28 pc 000000000054afc5  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+437) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #29 pc 00000000005a0a7e  /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1438) (BuildId: 8bb3225e7c408f2ca23abac3db0417f2)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #30 pc 0000000000100fce  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+30) (BuildId: a08a19770d6696739c847e29c3f5f650)
      06-17 16:49:34.279  9916  9916 F DEBUG   :       #31 pc 0000000000098fe7  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+55) (BuildId: a08a19770d6696739c847e29c3f5f650)
      06-17 16:49:35.150  1591  1591 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_00
      06-17 16:49:35.174  1792  1823 I BootReceiver: Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
      06-17 16:49:35.175  1792  1823 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
      06-17 16:49:35.183  1792  9924 I DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2
      06-17 16:49:35.191  1535  1535 I Zygote  : Process 9894 exited due to signal 11 (Segmentation fault)
      06-17 16:49:35.191  1792  1939 I ActivityManager: Process net.dot.Loader_classloader (pid 9894) has died: fore FGS 
      06-17 16:49:35.192  1792  1819 I libprocessgroup: Successfully killed process cgroup uid 10128 pid 9894 in 0ms
      06-17 16:49:35.192  1792  1939 W ActivityManager: Crash of app net.dot.Loader_classloader running instrumentation ComponentInfo{net.dot.Loader_classloader/net.dot.MonoRunner}
      06-17 16:49:35.192  1792  1939 I ActivityManager: Force stopping net.dot.Loader_classloader appid=10128 user=0: finished inst
      06-17 16:49:35.192  1792  8406 W Binder  : Outgoing transactions from this process must be FLAG_ONEWAY
      06-17 16:49:35.192  1792  8406 W Binder  : java.lang.Throwable
      06-17 16:49:35.192  1792  8406 W Binder  : 	at android.os.BinderProxy.transact(BinderProxy.java:480)
      06-17 16:49:35.192  1792  8406 W Binder  : 	at android.app.IInstrumentationWatcher$Stub$Proxy.instrumentationFinished(IInstrumentationWatcher.java:205)
      06-17 16:49:35.192  1792  8406 W Binder  : 	at com.android.server.am.InstrumentationReporter$MyThread.run(InstrumentationReporter.java:86)
      06-17 16:49:35.193  9883  9883 D AndroidRuntime: Shutting down VM
@ghost
Copy link

ghost commented Jun 22, 2021

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

Issue Details

Failed tests list:

  • Loader/classloader/Statics/Misc/LiteralStatic/LiteralStatic.sh

Loader/classloader/* full log

Author: fanyang-mono
Assignees: -
Labels:

area-Codegen-Interpreter-mono

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jun 22, 2021
@lambdageek
Copy link
Member

yea this is another bad IL test

@lambdageek lambdageek removed the untriaged New issue has not been triaged by the area owner label Jun 22, 2021
@lambdageek lambdageek added this to the 7.0.0 milestone Jun 22, 2021
@fanyang-mono fanyang-mono added the disabled-test The test is disabled in source code against the issue label Jul 7, 2021
@BrzVlad BrzVlad self-assigned this Jun 20, 2022
@BrzVlad BrzVlad modified the milestones: 7.0.0, 8.0.0 Aug 1, 2022
@kotlarmilos kotlarmilos self-assigned this Nov 23, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jan 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Codegen-Interpreter-mono disabled-test The test is disabled in source code against the issue
Projects
None yet
Development

No branches or pull requests

4 participants