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

后台服务运行几天后莫名退出 #676

Open
ccxxbb opened this issue Jan 25, 2025 · 3 comments
Open

后台服务运行几天后莫名退出 #676

ccxxbb opened this issue Jan 25, 2025 · 3 comments

Comments

@ccxxbb
Copy link

ccxxbb commented Jan 25, 2025

hv版本: libhv-1.3.3
系统版本:CentOS Linux release 7.9.2009 (Core)

代码中使用了HttpService 和 TcpServer, https提供对外服务接口,HttpService 收到消息后,把消息转发给tcpclient,程序运行几天后莫名退出,查询 centos 系统日志如下:
general protection ip:7fd25326e00d sp:7ffcb34d6ec0 error:0 in libcrypto.so.1.0.2k[7fd25313a000+237000]

@ithewei
Copy link
Owner

ithewei commented Jan 27, 2025

libhv也有自己的日志,另外退出是崩溃了吗,可以开下coredump

@ccxxbb
Copy link
Author

ccxxbb commented Jan 31, 2025

gdb分析coredump 文件信息如下:
[New LWP 16122]
[New LWP 16121]
[New LWP 16123]
[New LWP 16120]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `./lotserver'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fe0868ab354 in sk_pop_free () from /lib64/libcrypto.so.10
Missing separate debuginfos, use: debuginfo-install glibc-2.17-326.el7_9.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-55.el7_9.x86_64 libcom_err-1.42.9-19.el7.x86_64 libgcc-4.8.5-44.el7.x86_64 libselinux-2.5-15.el7.x86_64 libstdc++-4.8.5-44.el7.x86_64 openssl-libs-1.0.2k-26.el7_9.x86_64 pcre-8.32-17.el7.x86_64 zlib-1.2.7-21.el7_9.x86_64

@ccxxbb
Copy link
Author

ccxxbb commented Jan 31, 2025

libhv的日志如下
libhv.20250131.log

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