Project

General

Profile

Actions

Bug #188

closed

cfuse crashes on snapshot file read

Added by Greg Farnum almost 14 years ago. Updated over 7 years ago.

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

0%

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

Description

gregf@pudgy:~/ceph/src$ sudo mkdir mnt/a
[sudo] password for gregf:
gregf@pudgy:~/ceph/src$ sudo mkdir mnt/a/b
gregf@pudgy:~/ceph/src$ sudo cp vstart.sh mnt/a/b/
gregf@pudgy:~/ceph/src$ sudo mkdir mnt/a/.snap/1
gregf@pudgy:~/ceph/src$ sudo rm mnt/a/b/vstart.sh
gregf@pudgy:~/ceph/src$ sudo rmdir mnt/a/b/
gregf@pudgy:~/ceph/src$ sudo ls mnt/a/.snap/1/
b
gregf@pudgy:~/ceph/src$ sudo ls mnt/a/.snap/1/b/
vstart.sh
gregf@pudgy:~/ceph/src$ sudo less mnt/a/.snap/1/b/vstart.sh
mnt/a/.snap/1/b/vstart.sh: Software caused connection abort

gregf@pudgy:~/ceph/src$ ./cfuse mnt
mounting ceph
10.06.08_16:14:07.700037 7f55c62be910 monclient(hunting): found mon1
starting fuse
ceph_fuse_ll_main starting fuse on pid 21653
client/Client.cc: In function 'void Client::check_caps(Inode*, bool)':
client/Client.cc:1751: FAILED assert(in->snapid ((_u64)(2)))
1: (Client::_open(Inode*, int, unsigned int, Fh**, int, int)+0x281) [0x485d11]
2: (Client::ll_open(vinodeno_t, int, Fh**, int, int)+0x113) [0x486193]
3: ./cfuse [0x45b874]
4: /usr/lib/libfuse.so.2 [0x7f55c81b1a49]
5: (fuse_session_loop()+0x7a) [0x7f55c81afeba]
6: (ceph_fuse_ll_main(Client*, int, char const**)+0x2b3) [0x45d143]
7: (main()+0x4c7) [0x4428a7]
8: (
_libc_start_main()+0xfd) [0x7f55c7101abd]
9: ./cfuse [0x4422e9]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
client/Client.cc: In function 'void Client::check_caps(Inode*, bool)':
client/Client.cc:1751: FAILED assert(in>snapid ((_u64)(-2)))
1: (Client::_open(Inode*, int, unsigned int, Fh**, int, int)+0x281) [0x485d11]
2: (Client::ll_open(vinodeno_t, int, Fh**, int, int)+0x113) [0x486193]
3: ./cfuse [0x45b874]
4: /usr/lib/libfuse.so.2 [0x7f55c81b1a49]
5: (fuse_session_loop()+0x7a) [0x7f55c81afeba]
6: (ceph_fuse_ll_main(Client*, int, char const**)+0x2b3) [0x45d143]
7: (main()+0x4c7) [0x4428a7]
8: (
_libc_start_main()+0xfd) [0x7f55c7101abd]
9: ./cfuse [0x4422e9]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
terminate called after throwing an instance of 'ceph::FailedAssertion*'
Aborted (core dumped)

Actions

Also available in: Atom PDF