Skip to content

Instantly share code, notes, and snippets.

@cbodley
Created March 5, 2023 19:42
Show Gist options
  • Select an option

  • Save cbodley/9a98541c82664efd13ca3cfc19556d5b to your computer and use it in GitHub Desktop.

Select an option

Save cbodley/9a98541c82664efd13ca3cfc19556d5b to your computer and use it in GitHub Desktop.
asan with detect_stack_use_after_return
$ ASAN_OPTIONS="detect_stack_use_after_return=true" LSAN_OPTIONS="suppressions=../qa/lsan.supp" MON=1 OSD=1 RGW=1 MGR=0 MDS=0 ../src/vstart.sh -n -d
0> 2023-03-05T11:23:04.897-0500 7fcf2463fa40 -1 *** Caught signal (Segmentation fault) **
in thread 7fcf2463fa40 thread_name:radosgw-admin
ceph version Development (no_version) reef (dev)
1: (ceph::ClibBackTrace::ClibBackTrace(int)+0x17f) [0x55df2d7587b3]
2: /home/cbodley/ceph/build/bin/radosgw-admin(+0x13414f84) [0x55df2ed5bf84]
3: /lib64/libc.so.6(+0x3cb20) [0x7fcf23a5fb20]
4: (boost::asio::detail::timer_queue<boost::asio::detail::chrono_time_traits<ceph::coarse_mono_clock, boost::asio::wait_traits<ceph::coarse_mono_clock> > >::get_all_timers(boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&)+0x385) [0x55df2d491a9b]
5: (boost::asio::detail::timer_queue_set::get_all_timers(boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&)+0x113) [0x55df2b749f6f]
6: (boost::asio::detail::epoll_reactor::shutdown()+0x8af) [0x55df2b7563dd]
7: (boost::asio::detail::service_registry::shutdown_services()+0x127) [0x55df2b747f41]
8: (boost::asio::execution_context::~execution_context()+0x67) [0x55df2b7484e1]
9: (rgw::notify::Manager::~Manager()+0x4b8) [0x55df2d4b3e5e]
10: (rgw::notify::Manager::~Manager()+0x11) [0x55df2d4b438f]
11: (rgw::notify::shutdown()+0x64) [0x55df2d479124]
12: (RGWRados::finalize()+0x23d1) [0x55df2d74414b]
13: (rgw::sal::RadosStore::finalize()+0x59) [0x55df2d8a9f99]
14: (DriverManager::close_storage(rgw::sal::Driver*)+0x90) [0x55df2c950a26]
15: main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment