Project

General

Profile

Actions

Bug #50948

closed

ASAN hangs at throw if called via dlopen under gcc9

Added by Yingxin Cheng almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91325

Specifically, vstart will hang if ceph is built with WITH_ASAN=ON under gcc 9.

#0  __memset_avx2_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:151
#1  0x00007f05e384a3d2 in __asan_handle_no_return () from /usr/lib/x86_64-linux-gnu/libasan.so.5
#2  0x00007f05e37697b1 in __interceptor___cxa_throw () from /usr/lib/x86_64-linux-gnu/libasan.so.5
#3  0x00007f05dca6cf7b in boost::throw_exception<boost::bad_lexical_cast> (e=...) at /root/ceph/obj-x86_64-linux-gnu-debug/boost/include/boost/throw_exception.hpp:165
#4  0x00007f05dcc531d4 in boost::conversion::detail::throw_bad_cast<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long> () at /root/ceph/obj-x86_64-linux-gnu-debug/boost/include/boost/lexical_cast/bad_lexical_cast.hpp:99
#5  0x00007f05dcc5047e in boost::lexical_cast<unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (arg="layering,exclusive-lock,object-map,fast-diff,deep-flatten") at /root/ceph/obj-x86_64-linux-gnu-debug/boost/include/boost/lexical_cast.hpp:42
#6  0x00007f05ddcd645e in librbd::rbd_features_from_string (orig_value="layering,exclusive-lock,object-map,fast-diff,deep-flatten", err=0x7f05d5f3c110) at /root/ceph/src/librbd/Features.cc:67
......

I'm using ubuntu focal release for ceph developments.

Actions #1

Updated by Kefu Chai almost 3 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Kefu Chai
  • Pull request ID set to 41498
Actions #2

Updated by Neha Ojha almost 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF