tengine icon indicating copy to clipboard operation
tengine copied to clipboard

dtls集成,nginx发生崩溃

Open fitch2015 opened this issue 7 months ago • 6 comments

1、tengine3.1.0版本(历史版本尝试,同结果)

2、编译: ./configure
--with-stream --with-stream_ssl_module
--with-http_ssl_module
--with-stream_sni

3、配置: stream { server { listen 1443 reuseport ssl udp; ssl_protocols dtlsv1.2; ssl_certificate **.com.pem; ssl_certificate_key **.com.key; return "ok"; } }

4、崩溃日志 2024/08/04 00:42:03 [alert] 1099847#0: worker process 1099848 exited on signal 11 (core dumped) 2024/08/04 00:42:03 [error] 1099909#0: *2 unexcepted message of dtls session while SSL handshaking, udp client: 127.0.0.1, server: 0.0.0.0:1443

[137994.251479] nginx[1099848]: segfault at 7fff6769fff8 ip 00007f40f0dc0a88 sp 00007fff676a0000 error 6 in libcrypto.so.3.0.7[7f40f0cad000+25c000] likely on CPU 5 (core 2, socket 1) [137994.251491] Code: e7 ac 17 00 e9 b9 46 ff ff 66 0f 1f 84 00 00 00 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 48 83 ec 08 03 d1 ee ff 85 c0 0f 94 c0 48 83 c4 08 0f b6 c0 c3 66 0f 1f 44

fitch2015 avatar Aug 03 '24 16:08 fitch2015