首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
swoole,使用https服务时,主进程会崩溃。
使用https服务时。主进程会出现崩溃现象。从系统产生的core文件中查到貌似是在 SSL_free 时候崩溃。以下是报错 #0 0x00007fc1f57091f7 in raise () from /lib64/libc.so.6 #1 0x00007fc1f570a8e8 in abort () from /lib64/libc.so.6 #2 0x00007fc1f5748f47 in __libc_message () from /lib64/libc.so.6 #3 0x00007fc1f5750619 in _int_free () from /lib64/libc.so.6 #4 0x00007fc1f5b0560d in CRYPTO_free () from /lib64/libcrypto.so.10 #5 0x00007fc1f5f4c749 in kssl_ctx_free () from /lib64/libssl.so.10 ****#6 0x00007fc1f5f3de3e in SSL_free () from /lib64/libssl.so.10 #7 0x00007fc1ea9f3280 in swSSL_close (conn=conn@entry=0x7fc1d51a0d78)** at /shell/swoole-1.9.9/src/protocol/SSL.c:447** #8 0x00007fc1ea9e5aad in swReactorThread_close (reactor=0x7fc1e9f65ec0, fd=178) at /shell/swoole-1.9.9/src/network/ReactorThread.c:312 #9 0x00007fc1ea9e718a in swReactorThread_send (_send=_send@entry=0x7fc1cfd6faf0) at /shell/swoole-1.9.9/src/network/ReactorThread.c:620 #10 0x00007fc1ea9e75ed in swReactorThread_onPipeReceive (reactor=<optimized out>, ev=0x7fc1cfd71c30) at /shell/swoole-1.9.9/src/network/ReactorThread.c:430 #11 0x00007fc1ea9db84f in swReactorEpoll_wait (reactor=0x7fc1e9f65ec0, timeo=<optimized out>) at /shell/swoole-1.9.9/src/reactor/ReactorEpoll.c:260 #12 0x00007fc1ea9e7c45 in swReactorThread_loop (param=<optimized out>) at /shell/swoole-1.9.9/src/network/ReactorThread.c:1246 #13 0x00007fc1f64dbe25 in start_thread () from /lib64/libpthread.so.0 #14 0x00007fc1f57cc34d in clone () from /lib64/libc.so.6 这个大概会是什么原因导致的。 swoole的版本是 1.9.9
发布于5年前 · 1 次浏览 · 来自
提问
g
goodkele
使用https服务时。主进程会出现崩溃现象。从系统产生的core文件中查到貌似是在 SSL_free 时候崩溃。以下是报错 #0 0x00007fc1f57091f7 in raise () from /lib64/libc.so.6 #1 0x00007fc1f570a8e8 in abort () from /lib64/libc.so.6 #2 0x00007fc1f5748f47 in __libc_message () from /lib64/libc.so.6 #3 0x00007fc1f5750619 in _int_free () from /lib64/libc.so.6 #4 0x00007fc1f5b0560d in CRYPTO_free () from /lib64/libcrypto.so.10 #5 0x00007fc1f5f4c749 in kssl_ctx_free () from /lib64/libssl.so.10 ****#6 0x00007fc1f5f3de3e in SSL_free () from /lib64/libssl.so.10 #7 0x00007fc1ea9f3280 in swSSL_close (conn=conn@entry=0x7fc1d51a0d78)** at /shell/swoole-1.9.9/src/protocol/SSL.c:447** #8 0x00007fc1ea9e5aad in swReactorThread_close (reactor=0x7fc1e9f65ec0, fd=178) at /shell/swoole-1.9.9/src/network/ReactorThread.c:312 #9 0x00007fc1ea9e718a in swReactorThread_send (_send=_send@entry=0x7fc1cfd6faf0) at /shell/swoole-1.9.9/src/network/ReactorThread.c:620 #10 0x00007fc1ea9e75ed in swReactorThread_onPipeReceive (reactor=<optimized out>, ev=0x7fc1cfd71c30) at /shell/swoole-1.9.9/src/network/ReactorThread.c:430 #11 0x00007fc1ea9db84f in swReactorEpoll_wait (reactor=0x7fc1e9f65ec0, timeo=<optimized out>) at /shell/swoole-1.9.9/src/reactor/ReactorEpoll.c:260 #12 0x00007fc1ea9e7c45 in swReactorThread_loop (param=<optimized out>) at /shell/swoole-1.9.9/src/network/ReactorThread.c:1246 #13 0x00007fc1f64dbe25 in start_thread () from /lib64/libpthread.so.0 #14 0x00007fc1f57cc34d in clone () from /lib64/libc.so.6 这个大概会是什么原因导致的。 swoole的版本是 1.9.9
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2019-08-06
k
kin
自己编译安装,编译选项加上--enable-openssl
赞
0
回复
微信公众号
热门内容
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。