-
Notifications
You must be signed in to change notification settings - Fork 621
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
是否支持只集成native捕获部分 #37
Comments
|
”已经准备好了对应设备上相关的所有so库“ 目前我们还没有针对系统的so库做收集,感觉这部分的难度会不低,讲真,也不知道去哪里收集这些so.... 但其实可能系统的信息其实并不是我们重点关注的,主要是调用系统前的业务代码 |
因为调用栈的回溯是一层依赖于一层的。所以,如果出现了系统so的缺失,就无法保证后续的调用栈回溯的准确性。 建议你们可以灰度做个abtest,比较一下现有breakpad方案和xcrash的效果再定。 |
嗯,的确,如果用上的话会做AB的 |
因为目前团队采用acra+breakpad方案,对于java部分的崩溃,现有方案基本没什么问题;但对于native崩溃,目前效果还不是很好,从dmp文件解析出的内容,大多是系统相关信息,业务堆栈有限。所以想优化下native部分。App中RN页面较多
目前native的堆栈类似,较多系统so,大部分出现在RN页面
libc.so NativeException: Operating system: Android
0.0.0 Linux 4.4.21-perf+ #1 SMP PREEMPT Wed Sep 12 23:34:33 CST 2018 armv8l
CPU: arm
ARMv1 Qualcomm part(0x51008010) features: half,thumb,fastmult,vfpv2,edsp,neon,vfpv3,tls,vfpv4,idiva,idivt
8 CPUs
GPU: UNKNOWN
Crash reason: SIGABRT
Crash address: 0x3fe1
Process uptime: not available
Thread 21 (crashed)
0 libc.so + 0x4a988
r0 = 0x00000000 r1 = 0x00004017 r2 = 0x00000006 r3 = 0x00000008
r4 = 0xd2eeb978 r5 = 0x00000006 r6 = 0xd2eeb920 r7 = 0x0000010c
r8 = 0xb8289080 r9 = 0x00000000 r10 = 0xf26600f8 r12 = 0x0000000c
fp = 0xf26600fc sp = 0xd2eeaf30 lr = 0xf531d06f pc = 0xf531f988
Found by: given as instruction pointer in context
1 libc.so + 0x1dacf
sp = 0xd2eeaf48 pc = 0xf52f2ad1
Found by: stack scanning
2 libc.so + 0x194c7
sp = 0xd2eeaf50 pc = 0xf52ee4c9
Found by: stack scanning
3 libhwui.so + 0x745cd
sp = 0xd2eeaf5c pc = 0xf5c985cf
Found by: stack scanning
4 libhwui.so + 0x745cd
sp = 0xd2eeaf6c pc = 0xf5c985cf
Found by: stack scanning
5 libc.so + 0x17522
sp = 0xd2eeaf78 pc = 0xf52ec524
3Found by: stack scanning
...
刚接触xCrash,想咨询下,对于上述的这种情况,集成xcrash会有提升么? 另外,xcrash是否支持单独集成native crash信息采集的部分呢? 感谢~
The text was updated successfully, but these errors were encountered: