stack overflow on windows (compiled with MSVC 8.0) core dumped on Linux- RHEL 4 - 64-bit (no debugging symbols found) Using host libthread_db library "/lib64/tls/libthread_db.so.1". Core was generated by `client localhost 1234'. Program terminated with signal 11, Segmentation fault. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) #0 0x000000000047f4e6 in boost::asio::detail::posix_mutex::lock () #0 0x000000000047f4e6 in boost::asio::detail::posix_mutex::lock () #1 0x000000000047f4a3 in boost::asio::detail::scoped_lock::scoped_lock () #2 0x0000000000493973 in boost::asio::ssl::detail::openssl_stream_service::ssl_wrap::SSL_shutdown () #3 0x0000000000498f61 in boost::detail::function::function_invoker1::invoke () #4 0x00000000004954ac in boost::function1 >::operator() () #5 0x0000000000493149 in boost::asio::ssl::detail::openssl_operation > >::start () #6 0x0000000000494eb6 in boost::asio::ssl::detail::openssl_operation > >::do_async_write () #7 0x00000000004a1145 in boost::_mfi::mf2 > >, bool, int>::operator() () #8 0x000000000049fd60 in boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> >::operator() > >, bool, int>, boost::_bi::list2 > () #9 0x000000000049e3c7 in boost::_bi::bind_t > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >::operator() () #10 0x000000000049c6e0 in boost::detail::function::function_obj_invoker2 > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >, int, bool, int>::invoke () #11 0x000000000049561e in boost::function2 >::operator() () #12 0x0000000000493438 in boost::asio::ssl::detail::openssl_operation > >::start () #13 0x0000000000494eb6 in boost::asio::ssl::detail::openssl_operation > >::do_async_write () #14 0x00000000004a1145 in boost::_mfi::mf2 > >, bool, int>::operator() () #15 0x000000000049fd60 in boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> >::operator() > >, bool, int>, boost::_bi::list2 > () #16 0x000000000049e3c7 in boost::_bi::bind_t > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >::operator() () #17 0x000000000049c6e0 in boost::detail::function::function_obj_invoker2 > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >, int, bool, int>::invoke () #18 0x000000000049561e in boost::function2 >::operator() () #19 0x0000000000493438 in boost::asio::ssl::detail::openssl_operation > >::start () #20 0x0000000000494eb6 in boost::asio::ssl::detail::openssl_operation > >::do_async_write () #21 0x00000000004a1145 in boost::_mfi::mf2 > >, bool, int>::operator() () #22 0x000000000049fd60 in boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> >::operator() > >, bool, int>, boost::_bi::list2 > () #23 0x000000000049e3c7 in boost::_bi::bind_t > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >::operator() () #24 0x000000000049c6e0 in boost::detail::function::function_obj_invoker2 > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >, int, bool, int>::invoke () #25 0x000000000049561e in boost::function2 >::operator() () #26 0x0000000000493438 in boost::asio::ssl::detail::openssl_operation > >::start () #27 0x0000000000494eb6 in boost::asio::ssl::detail::openssl_operation > >::do_async_write () #28 0x00000000004a1145 in boost::_mfi::mf2 > >, bool, int>::operator() () #29 0x000000000049fd60 in boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> >::operator() > >, bool, int>, boost::_bi::list2 > () #30 0x000000000049e3c7 in boost::_bi::bind_t > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >::operator() () #31 0x000000000049c6e0 in boost::detail::function::function_obj_invoker2 > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >, int, bool, int>::invoke () #32 0x000000000049561e in boost::function2 >::operator() () #33 0x0000000000493438 in boost::asio::ssl::detail::openssl_operation > >::start () #34 0x0000000000494eb6 in boost::asio::ssl::detail::openssl_operation > >::do_async_write () #35 0x00000000004a1145 in boost::_mfi::mf2 > >, bool, int>::operator() () #36 0x000000000049fd60 in boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> >::operator() > >, bool, int>, boost::_bi::list2 > () #37 0x000000000049e3c7 in boost::_bi::bind_t > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >::operator() () #38 0x000000000049c6e0 in boost::detail::function::function_obj_invoker2 > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >, int, bool, int>::invoke () #39 0x000000000049561e in boost::function2 >::operator() () #40 0x0000000000493438 in boost::asio::ssl::detail::openssl_operation > >::start () #41 0x0000000000494eb6 in boost::asio::ssl::detail::openssl_operation > >::do_async_write () #42 0x00000000004a1145 in boost::_mfi::mf2 > >, bool, int>::operator() () #43 0x000000000049fd60 in boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> >::operator() > >, bool, int>, boost::_bi::list2 > () #44 0x000000000049e3c7 in boost::_bi::bind_t > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >::operator() () #45 0x000000000049c6e0 in boost::detail::function::function_obj_invoker2 > >, bool, int>, boost::_bi::list3 > >*>, boost::arg<1>, boost::arg<2> > >, int, bool, int>::invoke () #46 0x000000000049561e in boost::function2 >::operator() ()