Project

General

Profile

Actions

Bug #1628

closed

segfault attempting to map an rbd snapshot

Added by John Leach over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librbd
Target version:
% Done:

0%

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

Description

# gdb --args rbd -n client.srv-3ucz4 --snap=two map test --user srv-3ucz4 --secret secret 
Reading symbols from /usr/bin/rbd...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/rbd -n client.srv-3ucz4 --snap=two map test --user srv-3ucz4 --secret secret
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff5f75700 (LWP 1321)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bcb170 in librbd::snap_set(librbd::ImageCtx*, char const*) () from /usr/lib/librbd.so.1
(gdb) bt
#0  0x00007ffff7bcb170 in librbd::snap_set(librbd::ImageCtx*, char const*) () from /usr/lib/librbd.so.1
#1  0x000000000044dd88 in main ()
(gdb) 

same with the test@two useage

device maps fine on it's own, just not snapshot (not sure if I'm supposed to be able to map a snapshot, but it certainly shouldn't segfault!)

this a build from master from a couple of days ago.

Actions

Also available in: Atom PDF