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

utility::details::str_iless(str1, str2); #1784

Open
yangqun opened this issue Dec 22, 2023 · 0 comments
Open

utility::details::str_iless(str1, str2); #1784

yangqun opened this issue Dec 22, 2023 · 0 comments

Comments

@yangqun
Copy link

yangqun commented Dec 22, 2023

==19167==Hint: this fault was caused by a dereference of a high value address (see register values below). Dissassemble the provided pc to learn which register was used.
AddressSanitizer:DEADLYSIGNAL
#0 0x7f8cda78bbe4 in utility::details::str_iless(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) (/opt/version/3rd/cpprest/lib64/libcpprest.so.2.10+0x1d8be4)
#1 0x6f78d8 in web::http::http_headers::_case_insensitive_cmp::operator()(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const /opt/version/3rd/cpprest/include/cpprest/http_headers.h:104
#2 0x7192f0 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, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >, web::http::http_headers::_case_insensitive_cmp, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >::_M_lower_bound(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >, std::_Rb_tree_node_base, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) /usr/local/include/c++/11.4.0/bits/stl_tree.h:1905
#3 0x718384 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, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >, web::http::http_headers::_case_insensitive_cmp, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >::lower_bound(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) /usr/local/include/c++/11.4.0/bits/stl_tree.h:1270
#4 0x70db72 in std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, web::http::http_headers::_case_insensitive_cmp, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >::lower_bound(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) /usr/local/include/c++/11.4.0/bits/stl_map.h:1259
#5 0x7035d6 in std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, web::http::http_headers::_case_insensitive_cmp, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >::operator[](std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) /usr/local/include/c++/11.4.0/bits/stl_map.h:497
#6 0x7060ef in void web::http::http_headers::add<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) /opt/version/3rd/cpprest/include/cpprest/http_headers.h:182

can any body help me?

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