-
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
链接jemalloc后在bthread中启动的pthread在结束时crash #588
Comments
以及,在bthread中启动pthread的正确姿势应该是怎样的。。。 |
crash时server在退出进程么? |
|
原因找到了,是因为对栈上的对象执行了delete操作。 |
这类问题可以看看跑asan是否能报出来。 |
恩 这个是在链接了tcmalloc之后发现的 tcmalloc在删除栈上的对象时候会立即crash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug (描述bug)
To Reproduce (复现方法)
Expected behavior (期望行为)
Versions (各种版本)
OS: centos 5u7
Compiler: gcc-4.9.2
brpc:
protobuf: 2.4.1
Additional context/screenshots (更多上下文/截图)
coredump和stack暂时没有 如果需要可以复现一下。
在bthread文档中大概找了一下,猜测可能与stacktype有关。能否提供一些调查方向?
The text was updated successfully, but these errors were encountered: