SSL crash in boost asio 1.44
I've been getting reports in the field about sporadic SSL crashes in our
product (Linux
version). After using a stress test for several hours, I got it to crash in
asio 1.41. I then tried it in 1.44 and got the same crash on windows.
It appears to be crashing in openssl_operator.hpp:158
The session_ object is definitely corrupt:
session_ 0x000000022120ac30 {version=-17891602 type=-17891602
method=0xfeeefeeefeeefeee ...}
version -17891602 int
type -17891602 int
+ method 0xfeeefeeefeeefeee {version=??? ssl_new=???
+ rbio 0xfeeefeeefeeefeee {method=??? callback=???
+ wbio 0xfeeefeeefeeefeee {method=??? callback=???
+ bbio 0xfeeefeeefeeefeee {method=??? callback=???
The callstack is this:
NwConcentrator.exe!boost::asio::ssl::detail::openssl_operation<
boost::asio::basic_stream_socket<
boost::asio::ip::tcp,boost::asio::stream_socket_service<
boost::asio::ip::tcp>> >::start()
NwConcentrator.exe!boost::_mfi::mf0
participants (1)
-
Scott