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

Segmentation fault in aarch64 during http_client object destruction #1545

Open
nivedks opened this issue Dec 7, 2020 · 0 comments
Open

Segmentation fault in aarch64 during http_client object destruction #1545

nivedks opened this issue Dec 7, 2020 · 0 comments

Comments

@nivedks
Copy link

nivedks commented Dec 7, 2020

Hi,
I am seeing a crash during the destruction of the http_client object on aarch64. I have printed the stack below. The library works fine on amd64 builds. Appreciate any guidance here.

#0 0x0000fffff7835f44 in free () from /lib/libc.so.6
#1 0x0000aaaaaabdcc90 in asn1_do_lock ()
#2 0x0000aaaaaabdb948 in asn1_item_embed_free ()
#3 0x0000aaaaaabdbc50 in ASN1_item_free ()
#4 0x0000aaaaaace7e60 in X509_OBJECT_free ()
#5 0x0000aaaaaac3afac in OPENSSL_sk_pop_free ()
#6 0x0000aaaaaace83f8 in X509_STORE_free ()
#7 0x0000fffff7499dec in SSL_CTX_free () from /lib/libssl.so.1.1
#8 0x0000fffff749b944 in SSL_free () from /lib/libssl.so.1.1
#9 0x0000fffff7d94924 in std::_Sp_counted_ptr_inplace<web::http::client::details::asio_connection, std::allocatorweb::http::client::details::asio_connection, (__gnu_cxx::_Lock_policy)2>::_M_dispose() () from /lib/libcpprest.so.2.10
#10 0x0000fffff7d93ab0 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, web::http::client::details::connection_pool_stackweb::http::client::details::asio_connection >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, web::http::client::details::connection_pool_stackweb::http::client::details::asio_connection > >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, web::http::client::details::connection_pool_stackweb::http::client::details::asio_connection > > >::_M_erase(std::Rb_tree_node<std::pair<std::--Type for more,--Type for more,--Type--Type for mor--Type for more, q to quit, c to continue wi--Type for more, q to quit, c to continue without pagi--Type for more, q to quit, c to continue without pagi--Type for more, q to quit, c to c--Type for more, q to --Type for more, q to quit, c --Type for more, q to quit, c to contin--Type for more, q to quit, c --Type <R--Type for m--Type <R--Type <R--Type for more, q to--Type for more, q to quit, c --Type for m--Type for m--Type <R--Type <R--Type <R--Type <R--Type <R--Type for more, q to quit, c to continue without paging--
_cxx11::basic_string<char, std::char_traits, std::allocator > const, web::http::client::details::connection_pool_stackweb::http::client::details::asio_connection > >*) () from /lib/libcpprest.so.2.10
#11 0x0000fffff7d94554 in std::_Sp_counted_ptr_inplace<web::http::client::details::asio_connection_pool, std::allocatorweb::http::client::details::asio_connection_pool, (__gnu_cxx::_Lock_policy)2>::_M_dispose() () from /lib/libcpprest.so.2.10
#12 0x0000fffff7d936d4 in std::_Sp_counted_ptr_inplace<web::http::client::details::asio_client, std::allocatorweb::http::client::details::asio_client, (__gnu_cxx::_Lock_policy)2>::_M_dispose() () from /lib/libcpprest.so.2.10
#13 0x0000fffff7c81be4 in std::_Sp_counted_ptr_inplace<web::http::client::http_pipeline, std::allocatorweb::http::client::http_pipeline, (__gnu_cxx::_Lock_policy)2>::_M_dispose() () from /lib/libcpprest.so.2.10
#14 0x0000fffff7c7b9ec in web::http::client::http_client::~http_client() () from /lib/libcpprest.so.2.10

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