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

协程模式下使用openssl且开启USE_FSTAT_CHECKFD导致程序挂死 #353

Open
fly542 opened this issue Nov 20, 2024 · 0 comments
Open

Comments

@fly542
Copy link

fly542 commented Nov 20, 2024

centos7.2系统,协程模式下,开启 USE_FSTAT_CHECKFD优化时,程序挂死位置为443端口上 openssl 的读写锁

[Switching to thread 3 (Thread 0x7fd2afff700 (LWP 4038))
#0 0x00007fd2d20f603e in pthread_rwlock_wrlock () from /lib64/libpthread.so.0
(gdb) bt
#0 0x00007fd2d20f603e in pthread_rwlock_wrlock () from /lib64/libpthread.so.0
#1 0x00000000005c9059 in CRYPTO_THREAD write_lock
#2 0x0000000000597231 in rand_drbg_get_entropy
#3 0x0000000000595283 in RAND_DRBG_reseed ()
#4 0x0000000000595731 in RAND_DRBG_generate 
#5 0x000000000059593a in RAND_DRBG_bytes ()
#6 0x000000000050826e in tls_construct_new_session_ticket
#7 0x00000000004f9d27 in state_machine ()
#8 0x00000000004e6118 in SSL_do_handshake
#9 0x00000000006f8efc in acl::οpenssl_io::handshake() ()
#10 0x0000000006f9089 in acl::openssl_io::open(ACL_VSTREAAM*)
#ll 0x000000000700d87 in acl: stream::setup hook(acl::stream_hook*)
#12 0x000000000413b89 in dp::dp_openssl: setup(acl: sockeet stream&) ()
#13 0x0000000004100al in dp::context_mgr::deal_tcp(acl::socket_stream&, bool) ()
#14 0x0000000006c0836 in acl::master_fiber::service_on_accept(vvoid*, ACL_VSTREAM*) ()
#15 0x0000000006c1493 in fiber_client(ACL_FIBER*, void*)(1)
#16 0x00000000073dbll in fiber_start ()
#17 0x00007fd2d0f00ll0 in ?? () from /lib64/libc.so.6
(gdb)
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

1 participant