Project

General

Profile

Bug #10552

ceph-fuse: failed bufferlist assert when reading xattrs

Added by Greg Farnum over 4 years ago. Updated about 3 years ago.

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

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:

Description

2015-01-13T05:24:44.009 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr:common/buffer.cc: In function 'char* ceph::buffer::ptr::c_str()' thread 7f5ffe7fc700 time 2015-01-13 05:24:43.958517
2015-01-13T05:24:44.009 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr:common/buffer.cc: 683: FAILED assert(_raw)
2015-01-13T05:24:44.018 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: ceph version 0.90-877-gc219c43 (c219c43cc2943c794378214d77566e3f0d3f394a)
2015-01-13T05:24:44.018 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x7f) [0x70e8af]
2015-01-13T05:24:44.019 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: 2: ceph-fuse() [0x78acf3]
2015-01-13T05:24:44.019 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: 3: (Client::_getxattr(Inode*, char const*, void*, unsigned long, int, int)+0x3b9) [0x59f389]
2015-01-13T05:24:44.019 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: 4: (Client::ll_getxattr(Inode*, char const*, void*, unsigned long, int, int)+0xd2) [0x59f4a2]
2015-01-13T05:24:44.019 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: 5: ceph-fuse() [0x54c1df]
2015-01-13T05:24:44.020 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: 6: (()+0x110e6) [0x7f605643a0e6]
2015-01-13T05:24:44.020 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: 7: (()+0x7e9a) [0x7f6055ffae9a]
2015-01-13T05:24:44.020 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: 8: (clone()+0x6d) [0x7f6054bda31d]
2015-01-13T05:24:44.020 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr: NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
2015-01-13T05:24:44.021 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr:2015-01-13 05:24:44.017643 7f5ffe7fc700 -1 common/buffer.cc: In function 'char* ceph::buffer::ptr::c_str()' thread 7f5ffe7fc700 time 2015-01-13 05:24:43.958517
2015-01-13T05:24:44.021 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.plana81.stderr:common/buffer.cc: 683: FAILED assert(_raw)

http://qa-proxy.ceph.com/teuthology/teuthology-2015-01-12_23:04:02-fs-master-testing-basic-multi/700582/
http://qa-proxy.ceph.com/teuthology/teuthology-2015-01-12_23:04:02-fs-master-testing-basic-multi/700563/

Associated revisions

Revision e7d5fddc (diff)
Added by Yan, Zheng over 4 years ago

client: fix getting zero-length xattr

Fixes: #10552
Signed-off-by: Yan, Zheng <>

History

#1 Updated by Greg Farnum over 4 years ago

That assert is from 2013, by the way; I'm not sure what we might have changed to break it. :/

#2 Updated by Zheng Yan over 4 years ago

  • Status changed from New to Need Review

triggered by new test case

#3 Updated by Greg Farnum over 4 years ago

  • Category set to 46
  • Status changed from Need Review to Resolved

Thanks Zheng. Merged to master in commit:a60b815c85f07d7ac10b6d23fd1618c6334ddcf7.

#4 Updated by Greg Farnum about 3 years ago

  • Component(FS) Client added

Also available in: Atom PDF