-
Notifications
You must be signed in to change notification settings - Fork 4k
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
brpc申请8k导致tcmalloc出core #1979
Comments
应该是其他地方内存写坏导致破坏了tcmalloc的内部数据结构,挂在这里只是brpc申请内存触发了,这里已经不是第一现场了。可以用ASAN或者valgrind看看是不是哪里内存写坏了 |
了解 预期猜测的确是上层的问题,我再看下 |
demo program: int main()
}` Execution issues after cross compilation: Process 905670781 (test) terminated SIGSEGV code=1 fltno=11 ip=0000000defa9a868(/var/data/demo_test/libtcmalloc.so.9@calloc+0x0000000000000000) mapaddr=000000000002e868. ref=000000368d29cfc0 debug: why ? |
Describe the bug (描述bug)
core栈:
To Reproduce (复现方法)
偶现问题
Expected behavior (期望行为)
Versions (各种版本)
OS: 4.18
Compiler:
brpc:
protobuf:
Additional context/screenshots (更多上下文/截图)
gperftools/gperftools#1036 tcmalloc这里有相同反馈的问题,作者认为这是上层管理的bug。
The text was updated successfully, but these errors were encountered: