Open l1gi opened 3 years ago
Building a debug version of Perl + OpenSSL may provide some more insight from the gdb trace. Aside from that I don't think AE::WS::C isn't doing anything special with SSL, the more likely problem will be with one of AnyEvent::TLS, IO::Socket::SSL, Net::SSLeay, or OpenSSL itself. If you can reduce the issue to a small example program that demonstrates the crash that could also help.
Unless AE::WS::C does something very fishy, this is an interaction between OpenSSL and AnyEvent::Handle, and should be reported (with openssl/AnyEvent and Net::SSLeay versions) to the AnyEvent list (anyevent@lists.schmorp.de). Without a reproducer, this will be hard to track down though, so a reproducer is almost rerquired.
Hello,
I am experiencing a strange core dump on FreeBSD-13.0 with perl5-32.1 and p5-AnyEvent-WebSocket-Client-0.44_1 installed.
With 50% of probability my perl app crashes while trying to send() a message to established WS connection. This is the stacktrace:
gdb doesn't help much but shows me that the issue is somewhere down in libssl library.
This is the code which handles the connection:
And this is the perl line which 'causes' the SIGSEGV:
Am I lucky enough to get any hint what could be wrong, please? Dont' hesitate to ask should you need more info.
Thank you