Replies: 2 comments 4 replies
-
所有内存问题应自己先检测 c 库调用是否正确,有没有 double free 等问题。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://github.com/cloudwu/skynet/blob/master/lualib-src/lua-socket.c#L793 这个函数你可以复制出来,在 skynet 外单独测试。不过我不认为是它的问题。 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
使用
httpc.get
导致dump, 后来发现是getaddrinfo
函数导致,简化了情形,直接用
socket.resolve
也会导致dump。 本地测试机器和腾讯云主机没有问题。试过编译时候不连接jemalloc 是没有问题的。CFLAGS加上
-DNOUSE_JEMALLOC
Beta Was this translation helpful? Give feedback.
All reactions