Project

General

Profile

Actions

Bug #14561

closed

BlueStore: null pointer access

Added by xie xingguo about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

int BlueStore::_create_collection(
TransContext *txc,
coll_t cid,
unsigned bits,
CollectionRef *c) {
dout(15) << func << " " << cid << " bits " << bits << dendl;
int r;
bufferlist bl;

{
RWLock::WLocker l(coll_lock);
if (*c) {
r = EEXIST;
goto out;
}
assert((*c)
>exists);

The above assert caused null pointer access.

Actions #1

Updated by Sage Weil about 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF