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

下了份今天最新的代码跑https客户端压力测试,跑一会崩了,重现了两次 #1835

Open
yuanfengyun opened this issue Dec 9, 2023 · 3 comments

Comments

@yuanfengyun
Copy link
Contributor

(gdb) bt
#0  0x00007f3952e317a5 in sha1_block_data_order_shaext () from /lib64/libcrypto.so.10
#1  0x00007f3952e2f50f in SHA1_Update () from /lib64/libcrypto.so.10
#2  0x00007f3952ee0537 in ssleay_rand_add.part.0 () from /lib64/libcrypto.so.10
#3  0x00007f3952ec90b4 in ECDSA_sign_ex () from /lib64/libcrypto.so.10
#4  0x00007f3952ec9139 in ECDSA_sign () from /lib64/libcrypto.so.10
#5  0x00007f3952ea6b70 in pkey_ec_sign () from /lib64/libcrypto.so.10
#6  0x00007f3952eeccbe in EVP_SignFinal () from /lib64/libcrypto.so.10
#7  0x00007f3952f5afbb in fips_pkey_signature_test () from /lib64/libcrypto.so.10
#8  0x00007f3952ea4055 in EC_KEY_generate_key () from /lib64/libcrypto.so.10
#9  0x00007f3953baba85 in ssl3_send_client_key_exchange () from /lib64/libssl.so.10
#10 0x00007f3953baf460 in ssl3_connect () from /lib64/libssl.so.10
#11 0x00007f3953dfd393 in _ltls_context_handshake (L=0x7f39261f8248) at lualib-src/ltls.c:180
#12 0x000000000042ce00 in precallC (f=0x7f3953dfd320 <_ltls_context_handshake>, nresults=1, func=<optimized out>, L=0x7f39261f8248) at ldo.c:529
#13 luaD_precall (L=L@entry=0x7f39261f8248, func=<optimized out>, nresults=1) at ldo.c:595
#14 0x000000000043b866 in luaV_execute (L=L@entry=0x7f39261f8248, ci=<optimized out>, ci@entry=0x7f3919618080) at lvm.c:1686
#15 0x000000000042c953 in unroll (L=0x7f39261f8248, ud=<optimized out>) at ldo.c:744
#16 0x000000000042c0aa in luaD_rawrunprotected (L=L@entry=0x7f39261f8248, f=0x42cf00 <resume>, ud=0x7f39581f9d7c) at ldo.c:144
#17 0x000000000042d1c0 in lua_resume (L=L@entry=0x7f39261f8248, from=from@entry=0x7f3933737ba8, nargs=nargs@entry=4, nresults=nresults@entry=0x7f39581f9dbc) at ldo.c:849
#18 0x00007f395edfcf8d in lua_resumeX (nresults=0x7f39581f9dbc, nargs=4, from=0x7f3933737ba8, L=0x7f39261f8248) at service-src/service_snlua.c:90
#19 auxresume (narg=4, co=0x7f39261f8248, L=0x7f3933737ba8) at service-src/service_snlua.c:146
#20 timing_resume (L=L@entry=0x7f3933737ba8, co_index=co_index@entry=1, n=4) at service-src/service_snlua.c:198
#21 0x00007f395edfd440 in luaB_coresume (L=0x7f3933737ba8) at service-src/service_snlua.c:217
#22 0x000000000042cb94 in precallC (f=0x7f395edfd410 <luaB_coresume>, nresults=-1, func=<optimized out>, L=0x7f3933737ba8) at ldo.c:529
#23 luaD_pretailcall (L=L@entry=0x7f3933737ba8, ci=ci@entry=0x7f3926160440, func=<optimized out>, narg1=<optimized out>, delta=delta@entry=6) at ldo.c:550
#24 0x000000000043b8e4 in luaV_execute (L=L@entry=0x7f3933737ba8, ci=<optimized out>) at lvm.c:1711
#25 0x000000000042d0eb in ccall (inc=65537, nResults=-1, func=0x7f392c64a8c0, L=0x7f3933737ba8) at ldo.c:637
#26 luaD_callnoyield (L=0x7f3933737ba8, func=<optimized out>, nResults=-1) at ldo.c:655
#27 0x000000000042c0aa in luaD_rawrunprotected (L=L@entry=0x7f3933737ba8, f=f@entry=0x4285b0 <f_call>, ud=ud@entry=0x7f39581fa0b0) at ldo.c:144
#28 0x000000000042d3de in luaD_pcall (L=L@entry=0x7f3933737ba8, func=func@entry=0x4285b0 <f_call>, u=u@entry=0x7f39581fa0b0, old_top=192, ef=<optimized out>) at ldo.c:953
#29 0x0000000000429d69 in lua_pcallk (L=L@entry=0x7f3933737ba8, nargs=<optimized out>, nresults=nresults@entry=-1, errfunc=errfunc@entry=0, ctx=ctx@entry=0, k=k@entry=0x444460 <finishpcall>) at lapi.c:1066
#30 0x00000000004444f0 in luaB_pcall (L=0x7f3933737ba8) at lbaselib.c:477
#31 0x000000000042ce00 in precallC (f=0x4444a0 <luaB_pcall>, nresults=2, func=<optimized out>, L=0x7f3933737ba8) at ldo.c:529
#32 luaD_precall (L=L@entry=0x7f3933737ba8, func=<optimized out>, nresults=2) at ldo.c:595
#33 0x000000000043b866 in luaV_execute (L=L@entry=0x7f3933737ba8, ci=<optimized out>) at lvm.c:1686
#34 0x000000000042d0eb in ccall (inc=65537, nResults=0, func=0x7f392c64a830, L=0x7f3933737ba8) at ldo.c:637
#35 luaD_callnoyield (L=0x7f3933737ba8, func=<optimized out>, nResults=0) at ldo.c:655
#36 0x000000000042c0aa in luaD_rawrunprotected (L=L@entry=0x7f3933737ba8, f=f@entry=0x4285b0 <f_call>, ud=ud@entry=0x7f39581fa370) at ldo.c:144
#37 0x000000000042d3de in luaD_pcall (L=L@entry=0x7f3933737ba8, func=func@entry=0x4285b0 <f_call>, u=u@entry=0x7f39581fa370, old_top=48, ef=<optimized out>) at ldo.c:953
#38 0x0000000000429d69 in lua_pcallk (L=L@entry=0x7f3933737ba8, nargs=nargs@entry=5, nresults=nresults@entry=0, errfunc=errfunc@entry=1, ctx=ctx@entry=0, k=k@entry=0x0) at lapi.c:1066
#39 0x00007f39547ddf9f in _cb (context=0x7f3959bd9480, ud=<optimized out>, type=6, session=0, source=0, msg=0x7f3905fc1340, sz=24) at lualib-src/lua-skynet.c:67
#40 0x00000000004209d7 in dispatch_message (ctx=ctx@entry=0x7f3959bd9480, msg=msg@entry=0x7f39581fa440) at skynet-src/skynet_server.c:275
#41 0x00000000004215d4 in skynet_context_message_dispatch (sm=sm@entry=0x7f3960008200, q=q@entry=0x7f39336c6800, weight=weight@entry=1) at skynet-src/skynet_server.c:335
#42 0x0000000000421d8d in thread_worker (p=<optimized out>) at skynet-src/skynet_start.c:163
#43 0x00007f39611e3ea5 in start_thread () from /lib64/libpthread.so.0
#44 0x00007f39605e8b0d in clone () from /lib64/libc.so.6
@cloudwu
Copy link
Owner

cloudwu commented Dec 9, 2023

信息不足,无法定位问题。建议自己进一步 debug 。

@Marskey
Copy link

Marskey commented Jun 2, 2024

@yuanfengyun 请问有找到问题么,我目前也遇到这样的问题

@hanxi
Copy link
Contributor

hanxi commented Jun 2, 2024

@yuanfengyun 请问有找到问题么,我目前也遇到这样的问题

能否提供一下复现的测试代码?

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

4 participants