Skip to content

Instantly share code, notes, and snippets.

@cbodley
Created March 5, 2023 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbodley/a5d7b8f74f353bae6156c32076a8f281 to your computer and use it in GitHub Desktop.
Save cbodley/a5d7b8f74f353bae6156c32076a8f281 to your computer and use it in GitHub Desktop.
asan warning __asan_handle_no_return
setting up user testid
==450337==WARNING: ASan is ignoring requested __asan_handle_no_return: stack type: default top: 0x7fffcfad0000; bottom 0x7f75f30e9000; size: 0x0089dc9e7000 (592111890432)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
=================================================================
==450337==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f75f30ea530 at pc 0x7f7640661b61 bp 0x7f75f30ea500 sp 0x7f75f30e9cb0
WRITE of size 24 at 0x7f75f30ea530 thread T0
#0 0x7f7640661b60 in __interceptor_sigaltstack.part.0 (/lib64/libasan.so.8+0x61b60)
#1 0x7f76406bf163 in __asan::PlatformUnpoisonStacks() (/lib64/libasan.so.8+0xbf163)
#2 0x7f76406c561c in __asan_handle_no_return (/lib64/libasan.so.8+0xc561c)
#3 0x56206cf91dc3 in std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~unordered_set() /usr/include/c++/12/bits/unordered_set.h:97
#4 0x56206cf91dc3 in rgw::notify::Manager::process_queues(spawn::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> > > >) /home/cbodley/ceph/src/rgw/driver/rados/rgw_notify.cc:463
#5 0x56206cf96139 in rgw::notify::Manager::Manager(ceph::common::CephContext*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, rgw::sal::RadosStore*)::{lambda(spawn::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> > > >)#1}::operator()(spawn::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> > > >) const /home/cbodley/ceph/src/rgw/driver/rados/rgw_notify.cc:492
#6 0x56206cf9672c in spawn::detail::spawn_helper<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> > >, rgw::notify::Manager::Manager(ceph::common::CephContext*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, rgw::sal::RadosStore*)::{lambda(spawn::basic_yield_context<boost::asio::executor_binder<void (*)(), boost::asio::strand<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> > > >)#1}, boost::context::basic_protected_fixedsize_stack<boost::context::stack_traits> >::operator()()::{lambda(boost::context::continuation&&)#1}::operator()(boost::context::continuation&&) const /home/cbodley/ceph/src/spawn/include/spawn/impl/spawn.hpp:390
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment