Project

General

Profile

Actions

Bug #22679

closed

Segmentation fault during rbd diff when rbd image features is only layering

Added by Marcin Garski over 6 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

Running of:

rbd diff --whole-object vm-disk@snapshot_2 --from-snap snapshot --format=json

gives a segmentation fault.

Stack trace:

*** Caught signal (Segmentation fault) **
 in thread 7f64620c00c0 thread_name:rbd
 ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable)
 1: (()+0x18e014) [0x55dc532ca014]
 2: (()+0x11390) [0x7f64584f8390]
 3: (()+0x1a4a06) [0x7f6461b42a06]
 4: (()+0xd4f5f) [0x7f6461a72f5f]
 5: (()+0x54a39) [0x7f64619f2a39]
 6: (OrderedThrottle::complete_pending_ops()+0x83) [0x7f6458bc7903]
 7: (OrderedThrottle::start_op(Context*)+0x16b) [0x7f6458bc8d3b]
 8: (()+0xd8b80) [0x7f6461a76b80]
 9: (()+0xd9ae8) [0x7f6461a77ae8]
 10: (librbd::Image::diff_iterate2(char const*, unsigned long, unsigned long, bool, bool, int (*)(unsigned long, unsigned long, int, void*), void*)+0x8a) [0x7f64619e5b4a]
 11: (rbd::action::diff::execute(boost::program_options::variables_map const&)+0x3e5) [0x55dc53209a75]
 12: (rbd::Shell::execute(std::vector<char const*, std::allocator<char const*> > const&)+0xa30) [0x55dc531ee890]
 13: (main()+0x71) [0x55dc531b9fc1]
 14: (__libc_start_main()+0xf0) [0x7f6457494830]
 15: (_start()+0x29) [0x55dc531d7369]

The output of rbd info vm-disk is like:

rbd image 'vm-disk':
        size 10240 MB in 2560 objects
        order 22 (4096 kB objects)
        block_name_prefix: rbd_data.1f3c1542ae8944a
        format: 2
        features: layering
        flags:

Running rbd diff on a different image with:

features: layering, exclusive-lock, object-map, fast-diff, deep-flatten

goes fine.

Actions

Also available in: Atom PDF