Project

General

Profile

Actions

Backport #38847

closed

mimic: rgw admin api create user generates a segfault and coredump using beast

Added by xin liao about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Release:
mimic
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2019-03-20 17:32:39.403 7fca1abb5700 10 src/rgw/rgw_cache.cc:21 cache get: name=default.rgw.meta+users.uid+user3 : miss
2019-03-20 17:32:39.403 7fca1abb5700 10 src/rgw/rgw_cache.cc:140 cache put: name=default.rgw.meta+users.uid+user3 info.flags=0x0
2019-03-20 17:32:39.403 7fca1abb5700 10 src/rgw/rgw_cache.cc:255 adding default.rgw.meta+users.uid+user3 to cache LRU end
2019-03-20 17:32:39.413 7fca1abb5700 -1 src/global/signal_handler.cc:129 ** Caught signal (Segmentation fault) *
in thread 7fca1abb5700 thread_name:radosgw

ceph version 13.2.4-26-gcd38457 (cd38457256169d3ed814dedb109fd11d3e4b9229) mimic (stable)
1: (()+0x29dc6a) [0x7fcad7295c6a]
2: (()+0x318b20f500) [0x7fcaccf26500]
3: (rgw_get_user_info_from_index(RGWRados*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rgw_pool&, RGWUserInfo&, RGWObjVersionTracker*,
std::chrono::time_point<ceph::time_detail::real_clock, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> > >)+0xee) [0x7fcad750d8ae]
4: (RGWAccessKeyPool::generate_key(RGWUserAdminOpState&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
)+0x32d) [0x7fcad750f17d]
5: (RGWAccessKeyPool::execute_add(RGWUserAdminOpState&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)+0x59) [0x7fcad7510119]
6: (RGWAccessKeyPool::add(RGWUserAdminOpState&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
, bool)+0x6b) [0x7fcad751029b]
7: (RGWUser::execute_add(RGWUserAdminOpState&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)+0xa6a) [0x7fcad75150da]
8: (RGWUser::add(RGWUserAdminOpState&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
)+0x5e) [0x7fcad751541e]
9: (RGWUserAdminOp_User::create(RGWRados*, RGWUserAdminOpState&, RGWFormatterFlusher&)+0x6d) [0x7fcad751558d]
10: (RGWOp_User_Create::execute()+0x77f) [0x7fcad74f51bf]
11: (rgw_process_authenticated(RGWHandler_REST*, RGWOp*&, RGWRequest*, req_state*, bool)+0x251) [0x7fcad73af881]
12: (process_request(RGWRados*, RGWREST*, RGWRequest*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rgw::auth::StrategyRegistry const&, R
GWRestfulIO*, OpsLogSocket*, int*)+0x1150) [0x7fcad73b0b40]
13: (()+0x225c74) [0x7fcad721dc74]
14: (()+0x226792) [0x7fcad721e792]
15: (make_fcontext()+0x2f) [0x7fcad76c9f4f]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Related issues 1 (0 open1 closed)

Related to rgw - Backport #36223: mimic: rgw: default quota not set in radosgw for Openstack usersResolvedNathan CutlerActions
Actions #1

Updated by Abhishek Lekshmanan about 5 years ago

How was the request generated, do you have the rest arguments to create such a request?

Actions #4

Updated by Casey Bodley about 5 years ago

  • Related to Backport #36223: mimic: rgw: default quota not set in radosgw for Openstack users added
Actions #5

Updated by Casey Bodley about 5 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Nathan Cutler almost 5 years ago

  • Tracker changed from Bug to Backport
  • Subject changed from mimic:rgw admin api create user generates a segfault and coredump using beast to mimic: rgw admin api create user generates a segfault and coredump using beast
  • Status changed from In Progress to Resolved
  • Target version set to v13.2.6
  • Release set to mimic
Actions

Also available in: Atom PDF