We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
每次开服在1~3个小时内总会跑到 lua-skynet.c :42行的assert(top == 2)。 请问云风这有可能是什么原因造成的呢,我该怎么查能给点建议吗?谢谢。 bt如下:
assert(top == 2)
#1 0x00007f20ada6302a in __GI_abort () at abort.c:89 #2 0x00007f20ada59bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7f20a67f570b "top == 2", file=file@entry=0x7f20a67f56f3 "lualib-src/lua-skynet.c", line=line@entry=42, function=function@entry=0x7f20a67f58e7 <__PRETTY_FUNCTION__.3642> "_cb") at assert.c:92 #3 0x00007f20ada59c82 in __GI___assert_fail (assertion=0x7f20a67f570b "top == 2", file=0x7f20a67f56f3 "lualib-src/lua-skynet.c", line=42, function=0x7f20a67f58e7 <__PRETTY_FUNCTION__.3642> "_cb") at assert.c:101 #4 0x00007f20a67e12bb in _cb (context=0x7f209fc7f880, ud=0x7f20a001ce08, type=10, session=0, source=283, msg=0x7f209f955950, sz=42) at lualib-src/lua-skynet.c:42 #5 0x000000000040a026 in dispatch_message (ctx=0x7f209fc7f880, msg=0x7f20a89fee60) at skynet-src/skynet_server.c:274 #6 0x000000000040a27f in skynet_context_message_dispatch (sm=0x7f20ad6168a0, q=0x7f20a009bb80, weight=0) at skynet-src/skynet_server.c:334 #7 0x000000000040ba5b in thread_worker (p=0x7fffede1be60) at skynet-src/skynet_start.c:162 #8 0x00007f20ae5116ba in start_thread (arg=0x7f20a89ff700) at pthread_create.c:333 #9 0x00007f20adb3282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
The text was updated successfully, but these errors were encountered:
定义 MEMORY_CHECK https://github.com/cloudwu/skynet/blob/master/skynet-src/malloc_hook.c#L13
MEMORY_CHECK
以及定义 LUA_USE_APICHECK https://github.com/cloudwu/skynet/blob/master/3rd/lua/luaconf.h#L696-L702
LUA_USE_APICHECK
然后再查。
Sorry, something went wrong.
No branches or pull requests
每次开服在1~3个小时内总会跑到 lua-skynet.c :42行的
assert(top == 2)
。请问云风这有可能是什么原因造成的呢,我该怎么查能给点建议吗?谢谢。
bt如下:
The text was updated successfully, but these errors were encountered: