Project

General

Profile

Bug #2667

librbd: create_snap on a closed image segfaults

Added by Dan Mick over 11 years ago. Updated over 10 years ago.

Status:
Won't Fix
Priority:
Low
Assignee:
-
Target version:
-
% Done:

0%

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

Description

I wrote silly code, and in reordering it, managed to attempt rbd_snap_create() on an
image that I had rbd_close()d. This caused quite the odd SEGV in the middle of ldout()
(presumably dereferencing garbage in the CephContext).

It would be nice if methods that use the image could do some simple validation before
getting themselves into trouble.

History

#1 Updated by Sage Weil about 11 years ago

  • Project changed from Ceph to rbd

#2 Updated by Sage Weil over 10 years ago

  • Status changed from New to Won't Fix

Also available in: Atom PDF