luoyesiqiu / dpt-shell

An android Dex protects shell implementation
MIT License
519 stars 190 forks source link

发现1例crash问题 #32

Closed kitty22520 closed 6 months ago

kitty22520 commented 6 months ago

当点击一个activity页面后加固后的app crash

2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A 2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A Build fingerprint: 'google/sdk_gphone_x86/generic_x86:8.1.0/OSM1.180201.007/4586646:user/release-keys' 2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A Revision: '0' 2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A ABI: 'x86' 2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A pid: 29943, tid: 29943, name: g.example >>> org.example <<< 2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x9d892f60 2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A eax 00005af4 ebx 84fd2000 ecx 062303bc edx 089950ed 2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A esi 84fd2070 edi 84fd68ac 2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b 2023-12-11 09:50:03.221 30192-30192 DEBUG pid-30192 A eip aa40737d ebp bff63ea8 esp bff63e70 flags 00210202 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A
backtrace: 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #00 pc 0007b37d /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #01 pc 00001f00 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #02 pc 00000498 /system/lib/libart.so (offset 0x168000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #03 pc 00172e9c /system/lib/libart.so (art::ClassLinker::FindClassInBaseDexClassLoader(art::ScopedObjectAccessAlreadyRunnable&, art::Thread, char const, unsigned int, art::Handle, art::ObjPtr)+636) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #04 pc 0000126c /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #05 pc 0015dcb2 /system/lib/libart.so (art::ClassLinker::ResolveType(art::DexFile const&, art::dex::TypeIndex, art::Handle, art::Handle)+402) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #06 pc 000f88b5 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #07 pc 001071a7 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #08 pc 0010287a /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #09 pc 000fa0eb /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #10 pc 000f8477 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #11 pc 000f662e /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #12 pc 000f2e8d /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #13 pc 000f1f41 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #14 pc 000f1af6 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.363 30192-30192 DEBUG pid-30192 A #15 pc 000f0d0c /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #16 pc 000f069e /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #17 pc 0000bc70 /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #18 pc 0000a505 /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #19 pc 000102d8 /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #20 pc 00168207 /system/lib/libart.so (art::ClassLinker::EnsureInitialized(art::Thread, art::Handle, bool, bool)+247) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #21 pc 0016f959 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #22 pc 00173c9d /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #23 pc 0017fa2b /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #24 pc 001862e7 /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #25 pc 001a678a /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #26 pc 0016c42c /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #27 pc 001763a1 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #28 pc 0017fa2b /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.364 30192-30192 DEBUG pid-30192 A #29 pc 001862e7 /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #30 pc 001a678a /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #31 pc 0016c42c /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #32 pc 001763a1 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #33 pc 0017fa2b /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #34 pc 001861cb /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #35 pc 0015a9bf /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #36 pc 0018b32d /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #37 pc 00185432 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #38 pc 001160f9 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+265) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #39 pc 001ad53f /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #40 pc 001a67a4 /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #41 pc 0016c64a /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #42 pc 00176421 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #43 pc 0017fa2b /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #44 pc 001862e7 /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #45 pc 001a678a /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #46 pc 0016c42c /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #47 pc 001763a1 /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #48 pc 0017fa2b /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #49 pc 001861cb /system/lib/libart.so (offset 0x169000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #50 pc 0015a9bf /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.365 30192-30192 DEBUG pid-30192 A #51 pc 0018b32d /system/lib/libart.so (offset 0x4b2000) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #52 pc 00ff5bf9 /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.View.dispatchAttachedToWindow+441) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #53 pc 01291e6a /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.ViewGroup.dispatchAttachedToWindow+74) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #54 pc 01291f10 /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.ViewGroup.dispatchAttachedToWindow+240) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #55 pc 01291f10 /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.ViewGroup.dispatchAttachedToWindow+240) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #56 pc 01291f10 /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.ViewGroup.dispatchAttachedToWindow+240) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #57 pc 01291f10 /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.ViewGroup.dispatchAttachedToWindow+240) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #58 pc 01291f10 /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.ViewGroup.dispatchAttachedToWindow+240) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #59 pc 012f4842 /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.ViewRootImpl.performTraversals+1154) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #60 pc 012fc812 /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.ViewRootImpl.doTraversal+162) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #61 pc 0060a719 /system/framework/x86/boot-framework.oat (offset 0x606000) (android.content.ContextWrapper.getAutofillClient [DEDUPED]+57) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #62 pc 012462cd /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.Choreographer.doCallbacks+1101) 2023-12-11 09:50:03.366 30192-30192 DEBUG pid-30192 A #63 pc 01246bec /system/framework/x86/boot-framework.oat (offset 0x606000) (android.view.Choreographer.doFrame+1356) 2023-12-11 09:50:03.956 1551-1551 /system/bin/tombstoned tombstoned E Tombstone written to: /data/tombstones/tombstone_05

luoyesiqiu commented 6 months ago

apk方便发一下吗

kitty22520 commented 6 months ago
截屏2023-12-12 09 58 00

在这里应该验证下class_data_off_是否为0

luoyesiqiu commented 6 months ago

感谢指正,这里确实需要做一下处理