Application Started!
Connecting to application server ...
Connection lost ...
Kill your app or re-plug USB cable and try again.
看logcat有crash:
r0q:/ $ logcat -b crash
--------- beginning of crash
08-16 15:49:11.424 30326 30326 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x763b736be6bbfc in tid 30326 (problemtestdemo), pid 30326 (problemtestdemo)
08-16 15:49:11.687 30443 30443 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-16 15:49:11.687 30443 30443 F DEBUG : Build fingerprint: 'samsung/r0qzcx/r0q:13/TP1A.220624.014/S9010ZCU3CWCF:user/release-keys'
08-16 15:49:11.687 30443 30443 F DEBUG : Revision: '14'
08-16 15:49:11.687 30443 30443 F DEBUG : ABI: 'arm64'
08-16 15:49:11.687 30443 30443 F DEBUG : Processor: '4'
08-16 15:49:11.687 30443 30443 F DEBUG : Timestamp: 2024-08-16 15:49:11.477058389+0800
08-16 15:49:11.687 30443 30443 F DEBUG : Process uptime: 17s
08-16 15:49:11.687 30443 30443 F DEBUG : Cmdline: com.example.memoryproblemtestdemo
08-16 15:49:11.687 30443 30443 F DEBUG : pid: 30326, tid: 30326, name: problemtestdemo >>> com.example.memoryproblemtestdemo <<<
08-16 15:49:11.687 30443 30443 F DEBUG : uid: 10373
08-16 15:49:11.687 30443 30443 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
08-16 15:49:11.687 30443 30443 F DEBUG : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
08-16 15:49:11.687 30443 30443 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00763b736be6bbfc
08-16 15:49:11.687 30443 30443 F DEBUG : x0 00000000d2801168 x1 00763b736be6bbfc x2 0000007ff6ec78e0 x3 00763b736be6bbfb
08-16 15:49:11.687 30443 30443 F DEBUG : x4 000000706157fae8 x5 000000706157fa58 x6 0000007061411200 x7 0000007061411000
08-16 15:49:11.687 30443 30443 F DEBUG : x8 0000000000000001 x9 0000000000007676 x10 0000000000007676 x11 00000070614110b0
08-16 15:49:11.687 30443 30443 F DEBUG : x12 0000000000000000 x13 0000000000000001 x14 ffffffffffffffff x15 000004de3f2ed8b7
08-16 15:49:11.687 30443 30443 F DEBUG : x16 0000000000000001 x17 000000739d6534f8 x18 000000739ca7a000 x19 0000007ff6ec7e00
08-16 15:49:11.687 30443 30443 F DEBUG : x20 0000007ff6ec7a40 x21 0000000000000000 x22 000000706149d568 x23 0000007ff6ec8488
08-16 15:49:11.687 30443 30443 F DEBUG : x24 b40000719b8b2140 x25 000000000000017a x26 000000739c46a000 x27 00000000000007d3
08-16 15:49:11.687 30443 30443 F DEBUG : x28 b40000714b8cab90 x29 0000007ff6ec7910
08-16 15:49:11.687 30443 30443 F DEBUG : lr 000000706151c32c sp 0000007ff6ec7910 pc 000000706151c340 pst 0000000080001000
08-16 15:49:11.687 30443 30443 F DEBUG : backtrace:
08-16 15:49:11.687 30443 30443 F DEBUG : NOTE: Function names and BuildId information is missing for some frames due
08-16 15:49:11.687 30443 30443 F DEBUG : NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
08-16 15:49:11.687 30443 30443 F DEBUG : NOTE: found under the lib/ directory are readable.
08-16 15:49:11.687 30443 30443 F DEBUG : NOTE: On this device, run setenforce 0 to make the libraries readable.
08-16 15:49:11.687 30443 30443 F DEBUG : NOTE: Unreadable libraries:
08-16 15:49:11.687 30443 30443 F DEBUG : NOTE: /data/data/com.example.memoryproblemtestdemo/libloli.so
08-16 15:49:11.687 30443 30443 F DEBUG : #00 pc 000000000010b340 /data/data/com.example.memoryproblemtestdemo/libloli.so
08-16 15:49:11.687 30443 30443 F DEBUG : #1 pc 000000000010c754 /data/data/com.example.memoryproblemtestdemo/libloli.so
08-16 15:49:11.687 30443 30443 F DEBUG : #2 pc 000000000008c534 /data/data/com.example.memoryproblemtestdemo/libloli.so
08-16 15:49:11.687 30443 30443 F DEBUG : #3 pc 0000000000082c90 /data/data/com.example.memoryproblemtestdemo/libloli.so
08-16 15:49:11.687 30443 30443 F DEBUG : #4 pc 00000000000834c4 /data/data/com.example.memoryproblemtestdemo/libloli.so
08-16 15:49:11.687 30443 30443 F DEBUG : #5 pc 000000000006b980 /system/lib64/libbinder.so (android::Parcel::continueWrite(unsigned long)+1020) (BuildId: b856eb1854000ff13fc66d2f822fcb0a)
08-16 15:49:11.687 30443 30443 F DEBUG : #6 pc 000000000006abf8 /system/lib64/libbinder.so (android::Parcel::writeObject(flat_binder_object const&, bool)+152) (BuildId: b856eb1854000ff13fc66d2f822fcb0a)
08-16 15:49:11.687 30443 30443 F DEBUG : #7 pc 000000000006aa3c /system/lib64/libbinder.so (android::Parcel::flattenBinder(android::spandroid::IBinder const&)+916) (BuildId: b856eb1854000ff13fc66d2f822fcb0a)
08-16 15:49:11.687 30443 30443 F DEBUG : #8 pc 0000000000169520 /system/lib64/libandroid_runtime.so (android::android_os_Parcel_writeStrongBinder(_JNIEnv*, _jclass*, long, _jobject*)+72) (BuildId: a34fb35e38cbccfd38d422e9a88ec8e8)
08-16 15:49:11.687 30443 30443 F DEBUG : #9 pc 00000000001cdedc /system/framework/arm64/boot-framework.oat (art_jni_trampoline+108) (BuildId: 5f59674d21f4a72e20c0f2175204a7f8c6806a3e)
08-16 15:49:11.687 30443 30443 F DEBUG : #10 pc 0000000000209a9c /apex/com.android.art/lib64/libart.so (nterp_helper+1948) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #11 pc 000000000020666c /system/framework/framework.jar (android.os.Parcel.writeStrongBinder+4)
08-16 15:49:11.687 30443 30443 F DEBUG : #12 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #13 pc 0000000000206694 /system/framework/framework.jar (android.os.Parcel.writeStrongInterface+16)
08-16 15:49:11.687 30443 30443 F DEBUG : #14 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #15 pc 0000000000232e7e /system/framework/framework.jar (android.app.INotificationManager$Stub$Proxy.enqueueTextToastForDex+78)
08-16 15:49:11.687 30443 30443 F DEBUG : #16 pc 000000000020be84 /apex/com.android.art/lib64/libart.so (nterp_helper+11140) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #17 pc 000000000038300e /system/framework/framework.jar (android.widget.Toast.show+1302)
08-16 15:49:11.687 30443 30443 F DEBUG : #18 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #19 pc 00000000000008c8 /data/data/com.example.memoryproblemtestdemo/code_cache/.overlay/base.apk/classes3.dex (com.example.memoryproblemtestdemo.MainActivity.onResume+20)
08-16 15:49:11.687 30443 30443 F DEBUG : #20 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #21 pc 0000000000246906 /system/framework/framework.jar (android.app.Instrumentation.callActivityOnResume+6)
08-16 15:49:11.687 30443 30443 F DEBUG : #22 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #23 pc 00000000001d145a /system/framework/framework.jar (android.app.Activity.performResume+150)
08-16 15:49:11.687 30443 30443 F DEBUG : #24 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #25 pc 00000000001c0544 /system/framework/framework.jar (android.app.ActivityThread.performResumeActivity+184)
08-16 15:49:11.687 30443 30443 F DEBUG : #26 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #27 pc 00000000001c71c4 /system/framework/framework.jar (android.app.ActivityThread.handleResumeActivity+12)
08-16 15:49:11.687 30443 30443 F DEBUG : #28 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #29 pc 00000000002f0850 /system/framework/framework.jar (android.app.servertransaction.ResumeActivityItem.execute+24)
08-16 15:49:11.687 30443 30443 F DEBUG : #30 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #31 pc 00000000002eda30 /system/framework/framework.jar (android.app.servertransaction.ActivityTransactionItem.execute+8)
08-16 15:49:11.687 30443 30443 F DEBUG : #32 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #33 pc 00000000002f1970 /system/framework/framework.jar (android.app.servertransaction.TransactionExecutor.executeLifecycleState+64)
08-16 15:49:11.687 30443 30443 F DEBUG : #34 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.687 30443 30443 F DEBUG : #35 pc 00000000002f181a /system/framework/framework.jar (android.app.servertransaction.TransactionExecutor.execute+158)
08-16 15:49:11.688 30443 30443 F DEBUG : #36 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #37 pc 00000000001bc9f2 /system/framework/framework.jar (android.app.ActivityThread$H.handleMessage+298)
08-16 15:49:11.688 30443 30443 F DEBUG : #38 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #39 pc 00000000001cad72 /system/framework/framework.jar (android.os.Handler.dispatchMessage+38)
08-16 15:49:11.688 30443 30443 F DEBUG : #40 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #41 pc 00000000001faee6 /system/framework/framework.jar (android.os.Looper.loopOnce+346)
08-16 15:49:11.688 30443 30443 F DEBUG : #42 pc 0000000000209334 /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #43 pc 00000000001fb654 /system/framework/framework.jar (android.os.Looper.loop+164)
08-16 15:49:11.688 30443 30443 F DEBUG : #44 pc 0000000000209334 /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #45 pc 00000000001c88ae /system/framework/framework.jar (android.app.ActivityThread.main+214)
08-16 15:49:11.688 30443 30443 F DEBUG : #46 pc 0000000000457e00 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #47 pc 000000000048c038 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1560) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #48 pc 000000000048b9f8 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+48) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #49 pc 0000000000099148 /system/framework/arm64/boot.oat (art_jni_trampoline+120) (BuildId: c1e4535ad118667c012bcf950ce15dd7736d7b04)
08-16 15:49:11.688 30443 30443 F DEBUG : #50 pc 000000000020a2b0 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #51 pc 0000000000500d1a /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
08-16 15:49:11.688 30443 30443 F DEBUG : #52 pc 0000000000516cfc /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3404) (BuildId: 5f59674d21f4a72e20c0f2175204a7f8c6806a3e)
08-16 15:49:11.688 30443 30443 F DEBUG : #53 pc 0000000000457e00 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #54 pc 000000000058bbc4 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+912) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #55 pc 0000000000609af8 /apex/com.android.art/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+172) (BuildId: 289d75599f6112d5757113220599e90b)
08-16 15:49:11.688 30443 30443 F DEBUG : #56 pc 00000000000c1c04 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: a34fb35e38cbccfd38d422e9a88ec8e8)
08-16 15:49:11.688 30443 30443 F DEBUG : #57 pc 00000000000ce470 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+856) (BuildId: a34fb35e38cbccfd38d422e9a88ec8e8)
08-16 15:49:11.688 30443 30443 F DEBUG : #58 pc 0000000000002570 /system/bin/app_process64 (main+1304) (BuildId: df8ee709f77c2e3b9fca33b5a3ced970)
08-16 15:49:11.688 30443 30443 F DEBUG : #59 pc 000000000004b900 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+100) (BuildId: 54071c506231d1ab2d3653b44eddcea5)
^C
请问这是什么问题呢?windows端loliProfile,手机是三星S22