-
Notifications
You must be signed in to change notification settings - Fork 3.7k
SIGBUS(BUS_ADRERR) 崩溃 #249
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
Comments
跪求解决
2017-06-14 11:52 GMT+08:00 logwee <notifications@github.com>:
… #0 pc 000177ec /system/lib/libc.so (__memcpy_base+36) [armeabi-v7a]
#1 <#1> pc 00004798
/system/lib/libz.so [armeabi-v7a]
#2 <#2> pc 0000505c
/system/lib/libz.so (deflate+280) [armeabi-v7a]
#3 <#3> pc 00009633
/data/app/com.xx.aa/lib/arm/libmarsxlog.so (LogBuffer::Write(void const*,
unsigned int)+114) [armeabi-v7a]
#4 <#4> pc 00005c4f
/data/app/com.xx.aa/lib/arm/libmarsxlog.so [armeabi-v7a]
#5 <#5> pc 00004ee3
/data/app/com.xx.aa/lib/arm/libmarsxlog.so (Java_com_tencent_mars_xlog_Xlog_logWrite2+266)
[armeabi-v7a]
#6 <#6> pc 0170ca6d
/data/app/com.xx.aa/oat/arm/base.odex (oatexec+9357933) [armeabi]
线上出现的,各种机型和系统版本都有
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#249>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEk0Iumt_TCYK-97RnG4nX0d77fGWe9wks5sD1kTgaJpZM4N5Wmk>
.
|
这个问题,我们在关注,目前没有大的进展,同时如果大家有什么发现或者可能的原因都可以提给我们。 |
你们都是用NDK r11来编译吗 |
不是 r14编译的
2017-06-14 18:22 GMT+08:00 logwee <notifications@github.com>:
… 你们都是用NDK r11来编译吗
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#249 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEk0IlDHlC6tmmrGh0brwYXGplTlUHybks5sD7R_gaJpZM4N5Wmk>
.
|
跪求解决 已经是版本中top1的crash了 |
@ailichao 什么cpu架构 用最新的代码试一下 |
我也遇到了这个问题,x86和armv7都会,我感觉应该是你们在使用mmap的时候有问题,话说这个微信真的有在使用吗? |
微信确实在用。 这里逻辑已经走查过一遍了,暂时没看出来问题,考虑mmap文件被其他软件删除掉的可能。下个版本会加个mmap文件的保护。 |
@HomHomLin @ailichao 你们用的时候把应用的data下的文件路径作为缓存目录传进去
也即第三个参数不要传空,给 你应用程序包目录下的文件路径, 比如 微信会给 /data/data/com.tencent.mm/files/xlog |
@garryyan 我在本地测试时,尝试过手动删除映射的mmap文件,但没有出现异常 |
这个问题已查明。 注意:日志不要放在这个目录,不然就太占 data 空间了。缓存目录类似日志目录,要单独目录,防止清理逻辑误删其他文件 |
我设置了缓存路劲,现在有丢日志的现象; |
#00 pc 000177ec /system/lib/libc.so (__memcpy_base+36) [armeabi-v7a]
#1 pc 00004798 /system/lib/libz.so [armeabi-v7a]
#2 pc 0000505c /system/lib/libz.so (deflate+280) [armeabi-v7a]
#3 pc 00009633 /data/app/com.xx.aa/lib/arm/libmarsxlog.so (LogBuffer::Write(void const*, unsigned int)+114) [armeabi-v7a]
#4 pc 00005c4f /data/app/com.xx.aa/lib/arm/libmarsxlog.so [armeabi-v7a]
#5 pc 00004ee3 /data/app/com.xx.aa/lib/arm/libmarsxlog.so (Java_com_tencent_mars_xlog_Xlog_logWrite2+266) [armeabi-v7a]
#6 pc 0170ca6d /data/app/com.xx.aa/oat/arm/base.odex (oatexec+9357933) [armeabi]
线上出现的,各种机型和系统版本都有
The text was updated successfully, but these errors were encountered: