-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
xlog signal 11 (SIGSEGV), code 2 (SEGV_ACCERR) #567
Comments
这个提交 带了吗 |
还真的没带上,是确认同一个问题吗? |
@longerian 有个问题length和maxLength传入的是一样的,也会出现这个问题吗?如果也会出现,那原因是什么?正常链路没看到为什么会出现。 |
@garryyan 有个问题length和maxLength传入的是一样的,也会出现这个问题吗?如果也会出现,那原因是什么?正常链路没看到为什么会出现。 |
一样是指什么?是指代码已经是 memset(buff_.Ptr(), 0, buff_.Length()); ? |
buff_.Attach(_pbuffer, _len); |
__Fix 函数中会把 length 改为0 的 |
我们更新下代码,再灰度下,谢谢 |
已经fix |
这里memset maxLength 为什么有的有问题有的没问题? 按道理这个大小就是mmap的大小, 为什么会出错?? |
从详细crash堆栈来看,启动阶段初始化的时候就挂了,
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr ec99a000
r0 00000000 r1 00000000 r2 00049fc0 r3 ec99a000
r4 ac07eb40 r5 ec999000 r6 ce5c6dd0 r7 ac40ff08
r8 13b25e90 r9 ac0193d8 10 138a15c0 fp 13068220
ip 00000000 sp ce5c6d7c lr cbcf28c3 pc f6e31d70 cpsr 20010010
#00 pc 0x16d70 libc.so (memset+48)
#1 pc 0x88bf libmarsxlog.so (_ZN9LogBuffer7__ClearEv+22)
#2 pc 0x8929 libmarsxlog.so (_ZN9LogBuffer5FlushER10AutoBuffer+88)
#3 pc 0x803d libmarsxlog.so
#4 pc 0x815d libmarsxlog.so (Z13appender_open13TAppenderModePKcS1_S1_S1+16)
#5 pc 0x845f libmarsxlog.so (Z24appender_open_with_cache13TAppenderModeRKSsS1_PKcS3_S3+758)
#6 pc 0x4d3b libmarsxlog.so (Java_xxxxx_appenderOpen+446)
#7 pc 0x2b1a25b base.odex
机型
品牌
系统
The text was updated successfully, but these errors were encountered: