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

应用运行闪退问题 #78

Open
Undefined-User opened this issue Feb 3, 2021 · 0 comments
Open

应用运行闪退问题 #78

Undefined-User opened this issue Feb 3, 2021 · 0 comments

Comments

@Undefined-User
Copy link

Undefined-User commented Feb 3, 2021

使用 Xpatch (基于sandhook)打包插件进应用之后,应用会随机闪退(打开闪退/运行时随机闪退)。
系统是Android 10的OneUI 2.5,闪退位置:art::ProfileSaver::FetchAndCacheResolvedClassesAndMethods
插件作者认为是框架问题 yujincheng08/BiliRoaming#81

可能有用的部分日志:

02-03 01:10:30.597 24867 24867 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-03 01:10:30.598 24867 24867 F DEBUG   : Build fingerprint: 'samsung/star2qltezc/star2qltechn:10/QP1A.190711.020/G9650ZCU7FUA1:user/release-keys'
02-03 01:10:30.598 24867 24867 F DEBUG   : Revision: '14'
02-03 01:10:30.598 24867 24867 F DEBUG   : ABI: 'arm64'
02-03 01:10:30.598 24867 24867 F DEBUG   : Timestamp: 2021-02-03 01:10:30+0800
02-03 01:10:30.598 24867 24867 F DEBUG   : pid: 3255, tid: 21739, name: Profile Saver  >>> com.bilibili.app.in <<<
02-03 01:10:30.598 24867 24867 F DEBUG   : uid: 10576
02-03 01:10:30.598 24867 24867 F DEBUG   : signal 11 (SIGSEGV), code 0 (SI_USER), fault addr --------
02-03 01:10:30.598 24867 24867 F DEBUG   :     x0  0000000000000000  x1  000000000000000b  x2  efee1fc2e349e433  x3  efee1fc2e349e433
02-03 01:10:30.598 24867 24867 F DEBUG   :     x4  0000000000000006  x5  00000079ed3cd080  x6  000000794202d8d0  x7  000000794202d8c0
02-03 01:10:30.598 24867 24867 F DEBUG   :     x8  0000000000000081  x9  efee1fc2e349e433  x10 0000000000000058  x11 0000000000000500
02-03 01:10:30.598 24867 24867 F DEBUG   :     x12 0000000000b25ee0  x13 00000078d817ce70  x14 00000079ed36dd50  x15 00000079ed36dd60
02-03 01:10:30.598 24867 24867 F DEBUG   :     x16 0000007938683dd0  x17 0000007a7a77e0b0  x18 0000007988058000  x19 00000000000054eb
02-03 01:10:30.598 24867 24867 F DEBUG   :     x20 0000007938669850  x21 0000000000000000  x22 000000000000000b  x23 00000079df90dbd2
02-03 01:10:30.599 24867 24867 F DEBUG   :     x24 0000007925df5100  x25 0000000000000000  x26 0000007938669850  x27 0000007a7697ee20
02-03 01:10:30.599 24867 24867 F DEBUG   :     x28 0000007938684160  x29 0000007a7697ed90
02-03 01:10:30.599 24867 24867 F DEBUG   :     sp  0000007a7697ec20  lr  0000007938651850  pc  0000007a7a77e0b8
02-03 01:10:30.610 24867 24867 F DEBUG   : 
02-03 01:10:30.610 24867 24867 F DEBUG   : backtrace:
02-03 01:10:30.610 24867 24867 F DEBUG   :       #00 pc 00000000000d20b8  /apex/com.android.runtime/lib64/bionic/libc.so!libc.so (offset 0xd2000) (kill+8) (BuildId: d00c50b4798c95f2447d684ed3ea7dcb)
02-03 01:10:30.610 24867 24867 F DEBUG   :       #01 pc 000000000000784c  /data/app/com.bilibili.app.in-1XdolCcjcQRtr3qr6TIomA==/lib/arm64/libBugly.so (BuildId: ae37f663907313ff07afff414060aa6e82be77ec)
02-03 01:10:30.610 24867 24867 F DEBUG   :       #02 pc 0000000000004d18  /system/bin/app_process64 (art::SignalChain::Handler(int, siginfo*, void*)+332) (BuildId: 56987420be95551a7b0e1a3f103b2c19)
02-03 01:10:30.610 24867 24867 F DEBUG   :       #03 pc 0000000000000690  [vdso] (__kernel_rt_sigreturn)
02-03 01:10:30.610 24867 24867 F DEBUG   :       #04 pc 0000000000349284  /apex/com.android.runtime/lib64/libart.so!libart.so (offset 0x16c000) (art::ProfileSaver::FetchAndCacheResolvedClassesAndMethods(bool)+6016) (BuildId: fda832bf8d34fc331166ae8af4dd6d98)
02-03 01:10:30.610 24867 24867 F DEBUG   :       #05 pc 0000000000349f00  /apex/com.android.runtime/lib64/libart.so!libart.so (offset 0x16c000) (art::ProfileSaver::ProcessProfilingInfo(bool, unsigned short*)+204) (BuildId: fda832bf8d34fc331166ae8af4dd6d98)
02-03 01:10:30.610 24867 24867 F DEBUG   :       #06 pc 0000000000347ab4  /apex/com.android.runtime/lib64/libart.so!libart.so (offset 0x16c000) (art::ProfileSaver::Run()+784) (BuildId: fda832bf8d34fc331166ae8af4dd6d98)
02-03 01:10:30.610 24867 24867 F DEBUG   :       #07 pc 000000000034b818  /apex/com.android.runtime/lib64/libart.so!libart.so (offset 0x16c000) (art::ProfileSaver::RunProfileSaverThread(void*)+88) (BuildId: fda832bf8d34fc331166ae8af4dd6d98)
02-03 01:10:30.610 24867 24867 F DEBUG   :       #08 pc 00000000000e6f20  /apex/com.android.runtime/lib64/bionic/libc.so!libc.so (offset 0xd2000) (__pthread_start(void*)+36) (BuildId: d00c50b4798c95f2447d684ed3ea7dcb)
02-03 01:10:30.610 24867 24867 F DEBUG   :       #09 pc 00000000000850c8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: d00c50b4798c95f2447d684ed3ea7dcb)

02-03 11:10:42.040 15351 15351 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-03 11:10:42.040 15351 15351 F DEBUG   : Build fingerprint: 'samsung/star2qltezc/star2qltechn:10/QP1A.190711.020/G9650ZCU7FUA1:user/release-keys'
02-03 11:10:42.040 15351 15351 F DEBUG   : Revision: '14'
02-03 11:10:42.040 15351 15351 F DEBUG   : ABI: 'arm64'
02-03 11:10:42.041 15351 15351 F DEBUG   : Timestamp: 2021-02-03 11:10:42+0800
02-03 11:10:42.041 15351 15351 F DEBUG   : pid: 8633, tid: 14374, name: Profile Saver  >>> com.bilibili.app.in <<<
02-03 11:10:42.041 15351 15351 F DEBUG   : uid: 10576
02-03 11:10:42.041 15351 15351 F DEBUG   : signal 11 (SIGSEGV), code 0 (SI_USER), fault addr --------
02-03 11:10:42.041 15351 15351 F DEBUG   :     x0  0000000000000000  x1  000000000000000b  x2  efee1fc2e349e433  x3  efee1fc2e349e433
02-03 11:10:42.041 15351 15351 F DEBUG   :     x4  0000000000000006  x5  00000079ed3a90c0  x6  000000792ba9e000  x7  00000078f0443a40
02-03 11:10:42.041 15351 15351 F DEBUG   :     x8  0000000000000081  x9  efee1fc2e349e433  x10 0000000000000058  x11 0000000000000500
02-03 11:10:42.042 15351 15351 F DEBUG   :     x12 000000000029a3c8  x13 00000078f0440180  x14 0000000000000001  x15 00000079ed372d60
02-03 11:10:42.042 15351 15351 F DEBUG   :     x16 000000796187bdd0  x17 0000007a7a77e0b0  x18 000000798859a000  x19 0000000000003826
02-03 11:10:42.042 15351 15351 F DEBUG   :     x20 0000007961861850  x21 0000000000000000  x22 000000000000000b  x23 0000000000000326
02-03 11:10:42.042 15351 15351 F DEBUG   :     x24 0000007938f05700  x25 0000000000000000  x26 0000007961861850  x27 0000007a7697ee20
02-03 11:10:42.042 15351 15351 F DEBUG   :     x28 000000796187c160  x29 0000007a7697ed90
02-03 11:10:42.042 15351 15351 F DEBUG   :     sp  0000007a7697ec20  lr  0000007961849850  pc  0000007a7a77e0b8
02-03 11:10:42.046 15351 15351 F DEBUG   : 
02-03 11:10:42.046 15351 15351 F DEBUG   : backtrace:
02-03 11:10:42.046 15351 15351 F DEBUG   :       #00 pc 00000000000d20b8  /apex/com.android.runtime/lib64/bionic/libc.so!libc.so (offset 0xd2000) (kill+8) (BuildId: d00c50b4798c95f2447d684ed3ea7dcb)
02-03 11:10:42.046 15351 15351 F DEBUG   :       #01 pc 000000000000784c  /data/app/com.bilibili.app.in-1XdolCcjcQRtr3qr6TIomA==/lib/arm64/libBugly.so (BuildId: ae37f663907313ff07afff414060aa6e82be77ec)
02-03 11:10:42.046 15351 15351 F DEBUG   :       #02 pc 0000000000004d18  /system/bin/app_process64 (art::SignalChain::Handler(int, siginfo*, void*)+332) (BuildId: 56987420be95551a7b0e1a3f103b2c19)
02-03 11:10:42.046 15351 15351 F DEBUG   :       #03 pc 0000000000000690  [vdso] (__kernel_rt_sigreturn)
02-03 11:10:42.046 15351 15351 F DEBUG   :       #04 pc 0000000000348a8c  /apex/com.android.runtime/lib64/libart.so!libart.so (offset 0x16c000) (art::ProfileSaver::FetchAndCacheResolvedClassesAndMethods(bool)+3976) (BuildId: fda832bf8d34fc331166ae8af4dd6d98)
02-03 11:10:42.046 15351 15351 F DEBUG   :       #05 pc 0000000000347898  /apex/com.android.runtime/lib64/libart.so!libart.so (offset 0x16c000) (art::ProfileSaver::Run()+244) (BuildId: fda832bf8d34fc331166ae8af4dd6d98)
02-03 11:10:42.046 15351 15351 F DEBUG   :       #06 pc 000000000034b818  /apex/com.android.runtime/lib64/libart.so!libart.so (offset 0x16c000) (art::ProfileSaver::RunProfileSaverThread(void*)+88) (BuildId: fda832bf8d34fc331166ae8af4dd6d98)
02-03 11:10:42.046 15351 15351 F DEBUG   :       #07 pc 00000000000e6f20  /apex/com.android.runtime/lib64/bionic/libc.so!libc.so (offset 0xd2000) (__pthread_start(void*)+36) (BuildId: d00c50b4798c95f2447d684ed3ea7dcb)
02-03 11:10:42.046 15351 15351 F DEBUG   :       #08 pc 00000000000850c8  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: d00c50b4798c95f2447d684ed3ea7dcb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant