Project

General

Profile

Actions

Bug #22006

closed

RGWCrashError: RGW will crash when generating random bucket name and object name during loadgen process

Added by Enming Zhang over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

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

Description

The definition of gen_rand_alphanumeric is
int gen_rand_alphanumeric(CephContext *cct, char *dest, int size);,
cct->random()->get_bytes(dest, size); will be called in gen_rand_alphanumeric
in lastest master branch. If calling gen_rand_alphanumeric with cct = NULL as RGWLoadGenProcess::run() doing before, the rgw will crash.


Related issues 2 (0 open2 closed)

Related to rgw - Bug #21401: rgw: Missing error handling when gen_rand_alphanumeric is failingResolvedCasey Bodley09/15/2017

Actions
Copied to rgw - Backport #22016: luminous: RGWCrashError: RGW will crash when generating random bucket name and object name during loadgen processResolvedNathan CutlerActions
Actions

Also available in: Atom PDF