Project

General

Profile

Bug #57802

RGW crash when upload file through swift RGWFormPost function

Added by judy zhang over 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Pacific, Quincy
Regression:
No
Severity:
1 - critical
Reviewed:
10/10/2022
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi,
When I use swift RGWFormPost to upload file, I got * Caught signal (Segmentation fault) * error. It will case rgw crash.
My ceph version is v16.2.7. I also test v17.2.4, receving the same issue as v16.2.7. And when my version is v15.2.X, no such issue.

Below is the log :
2022-10-07T07:54:16.325+0000 7f56771dd700 1 ====== starting new request req=0x7f56ffc67620 =====
2022-10-07T07:54:16.325+0000 7f56771dd700 2 req 8767281056595302174 0.000000000s initializing for trans_id = tx0000079aba3ab805fd71e-00633fdb28-37a0-default
2022-10-07T07:54:16.325+0000 7f56771dd700 2 req 8767281056595302174 0.000000000s getting op 4
2022-10-07T07:54:16.328+0000 7f56771dd700 -1 ** Caught signal (Segmentation fault) *
in thread 7f56771dd700 thread_name:radosgw

ceph version 16.2.7 (dd0603118f56ab514f133c8d2e3adfc983942503) pacific (stable)
1: /lib64/libpthread.so.0(+0x12ce0) [0x7f56f42b6ce0]
2: (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x32) [0x7f56fedfbd22]
3: (RGWFormPost::init(rgw::sal::RGWRadosStore
, req_state*, RGWHandler*)+0x48) [0x7f56feeffa08]*
4: (RGWHandler_REST::get_op()+0x5a) [0x7f56ff2d9b4a]
5: (process_request(rgw::sal::RGWRadosStore*, RGWREST*, RGWRequest*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rgw::auth::StrategyRegistry const&, RGWRestfulIO*, OpsLogSink*, optional_yield, rgw::dmclock::Scheduler*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >, int*)+0xa9b) [0x7f56feecd03b]
6: /lib64/libradosgw.so.2(+0x4b1b73) [0x7f56fee1eb73]
7: /lib64/libradosgw.so.2(+0x4b3614) [0x7f56fee20614]
8: /lib64/libradosgw.so.2(+0x4b387e) [0x7f56fee2087e]
9: make_fcontext()
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

--- logging levels ---
0/ 5 none
0/ 1 lockdep
0/ 1 context
1/ 1 crush
1/ 5 mds
1/ 5 mds_balancer
1/ 5 mds_locker
1/ 5 mds_log
1/ 5 mds_log_expire
1/ 5 mds_migrator
0/ 1 buffer
0/ 1 timer
0/ 1 filer
0/ 1 striper
0/ 1 objecter
0/ 5 rados
0/ 5 rbd
0/ 5 rbd_mirror
0/ 5 rbd_replay
0/ 5 rbd_pwl
0/ 5 journaler
0/ 5 objectcacher
0/ 5 immutable_obj_cache
0/ 5 client
1/ 5 osd
0/ 5 optracker
0/ 5 objclass
1/ 3 filestore
1/ 3 journal
0/ 0 ms
1/ 5 mon
0/10 monc
1/ 5 paxos
0/ 5 tp
1/ 5 auth
1/ 5 crypto
1/ 1 finisher
1/ 1 reserver
1/ 5 heartbeatmap
1/ 5 perfcounter
1/ 5 rgw
1/ 5 rgw_sync
1/10 civetweb
1/ 5 javaclient
1/ 5 asok
1/ 1 throttle
0/ 0 refs
1/ 5 compressor
1/ 5 bluestore
1/ 5 bluefs
1/ 3 bdev
1/ 5 kstore
4/ 5 rocksdb
4/ 5 leveldb
4/ 5 memdb
1/ 5 fuse
2/ 5 mgr
1/ 5 mgrc
1/ 5 dpdk
1/ 5 eventtrace
1/ 5 prioritycache
0/ 5 test
0/ 5 cephfs_mirror
0/ 5 cephsqlite
2/-2 (syslog threshold)
-1/-1 (stderr threshold)
--
pthread ID / name mapping for recent threads ---
140009342359296 / radosgw
140009417893632 / radosgw
140009485035264 / radosgw
140009543784192 / radosgw
140009568962304 / radosgw
140009594140416 / radosgw
140009703245568 / radosgw
140009745209088 / radosgw
140009837528832 / radosgw
140009862706944 / radosgw
140009955026688 / radosgw
140009988597504 / radosgw
140009996990208 / radosgw
140010005382912 / radosgw
140010013775616 / radosgw
140010055739136 / radosgw
140010148058880 / radosgw
140010173236992 / radosgw
140010181629696 / radosgw
140010265556736 / radosgw
140010315912960 / radosgw
140010366269184 / radosgw
140010441803520 / radosgw
140010508945152 / radosgw
140010534123264 / radosgw
140010609657600 / rgw_user_st_syn
140010626443008 / lifecycle_thr_2
140010660013824 / lifecycle_thr_1
140010693584640 / lifecycle_thr_0
140010785904384 / rgw_obj_expirer
140010794297088 / rgw_gc
140010811082496 / safe_timer
140010827867904 / ms_dispatch
140010853046016 / io_context_pool
140010861438720 / rgw_dt_lg_renew
140011146790656 / safe_timer
140011163576064 / ms_dispatch
140011171968768 / ceph_timer
140011188754176 / io_context_pool
140011247503104 / admin_socket
140011255895808 / service
140011264288512 / msgr-worker-2
140011272681216 / msgr-worker-1
140011281073920 / msgr-worker-0
140011635418176 / radosgw
max_recent 10000
max_new 10000
log_file /var/log/ceph/ceph-client.rgw.t.usinode1.kdfixs.log
--- end dump of recent events ---

History

#1 Updated by Ilya Dryomov about 1 year ago

  • Target version deleted (v16.2.11)

Also available in: Atom PDF