Skip to content
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

assert(top == 2) core dump at lua-skynet.c:42 #682

Closed
bhhbazinga opened this issue Jul 13, 2017 · 1 comment
Closed

assert(top == 2) core dump at lua-skynet.c:42 #682

bhhbazinga opened this issue Jul 13, 2017 · 1 comment

Comments

@bhhbazinga
Copy link

bhhbazinga commented Jul 13, 2017

每次开服在1~3个小时内总会跑到 lua-skynet.c :42行的assert(top == 2)
请问云风这有可能是什么原因造成的呢,我该怎么查能给点建议吗?谢谢。
bt如下:

#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


@cloudwu
Copy link
Owner

cloudwu commented Jul 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants