Actions
Bug #518
closedcfuse crashed on ls
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
cluster: 2 monitors, 2 metadata servers, 3 osds.
cfuses segfault when ls is run on the mount point (df works, cd /mnt/ceph works, but ls /mnt/ceph crashes cfuse).
This is on 64bit Ubuntu Lucid, with fuse 2.8.1, kernel interface 7.12 and cfuse 0.22.1-1~bpo50+1
mounting with kernel client works better (thought has other problems, which I'm investigating separately)
root@srv-9pjdl:~# cfuse /mnt/ceph -o debug -f cfuse[8514]: starting ceph client cfuse[8514]: starting fuse FUSE library version: 2.8.1 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.13 flags=0x0000007b max_readahead=0x00020000 INIT: 7.12 flags=0x00000001 max_readahead=0x00020000 max_write=0x00020000 unique: 1, success, outsize: 40 bunique: 2, opcode: STATFS (17), nodeid: 1, insize: 40 unique: 2, success, outsize: 96 unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 56 unique: 3, success, outsize: 120 unique: 4, opcode: GETATTR (3), nodeid: 1, insize: 56 unique: 4, success, outsize: 120 unique: 5, opcode: GETATTR (3), nodeid: 1, insize: 56 unique: 5, success, outsize: 120 unique: 6, opcode: GETATTR (3), nodeid: 1, insize: 56 unique: 6, success, outsize: 120 unique: 7, opcode: GETATTR (3), nodeid: 1, insize: 56 unique: 7, success, outsize: 120 unique: 8, opcode: GETATTR (3), nodeid: 1, insize: 56 unique: 8, success, outsize: 120 unique: 9, opcode: OPENDIR (27), nodeid: 1, insize: 48 unique: 9, success, outsize: 32 unique: 10, opcode: READDIR (28), nodeid: 1, insize: 80 osdc/Filer.cc: In function 'void Filer::file_to_extents(inodeno_t, ceph_file_layout*, uint64_t, uint64_t, std::vector<ObjectExtent, std::allocator<ObjectExtent> >&)': osdc/Filer.cc:305: FAILED assert(len > 0) ceph version 0.22.1 (commit:7464f9688001aa89f9673ba14e6d075d0ee33541) 1: (Client::update_inode_file_bits(Inode*, unsigned long, unsigned long, unsigned long, unsigned long, utime_t, utime_t, utime_t, int)+0x829) [0x46c5d9] 2: (Client::add_update_inode(InodeStat*, utime_t, int)+0xdc1) [0x471a71] 3: (Client::insert_trace(MetaRequest*, utime_t, int)+0x183d) [0x49bbdd] 4: (Client::handle_client_reply(MClientReply*)+0x4d2) [0x49d4e2] 5: (Client::ms_dispatch(Message*)+0x35b) [0x49dd9b] 6: (SimpleMessenger::dispatch_entry()+0x79b) [0x453bdb] 7: (SimpleMessenger::DispatchThread::entry()+0x1f) [0x44890f] 8: (Thread::_entry_func(void*)+0xa) [0x45a63a] 9: (()+0x69ca) [0x7ff2be95a9ca] 10: (clone()+0x6d) [0x7ff2bdb7970d] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. osdc/Filer.cc: In function 'void Filer::file_to_extents(inodeno_t, ceph_file_layout*, uint64_t, uint64_t, std::vector<ObjectExtent, std::allocator<ObjectExtent> >&)': osdc/Filer.cc:305: FAILED assert(len > 0) ceph version 0.22.1 (commit:7464f9688001aa89f9673ba14e6d075d0ee33541) 1: (Client::update_inode_file_bits(Inode*, unsigned long, unsigned long, unsigned long, unsigned long, utime_t, utime_t, utime_t, int)+0x829) [0x46c5d9] 2: (Client::add_update_inode(InodeStat*, utime_t, int)+0xdc1) [0x471a71] 3: (Client::insert_trace(MetaRequest*, utime_t, int)+0x183d) [0x49bbdd] 4: (Client::handle_client_reply(MClientReply*)+0x4d2) [0x49d4e2] 5: (Client::ms_dispatch(Message*)+0x35b) [0x49dd9b] 6: (SimpleMessenger::dispatch_entry()+0x79b) [0x453bdb] 7: (SimpleMessenger::DispatchThread::entry()+0x1f) [0x44890f] 8: (Thread::_entry_func(void*)+0xa) [0x45a63a] 9: (()+0x69ca) [0x7ff2be95a9ca] 10: (clone()+0x6d) [0x7ff2bdb7970d] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. terminate called after throwing an instance of 'ceph::FailedAssertion' *** Caught signal (ABRT) *** ceph version 0.22.1 (commit:7464f9688001aa89f9673ba14e6d075d0ee33541) 1: (sigabrt_handler(int)+0xde) [0x54ba1e] 2: (()+0x33af0) [0x7ff2bdac6af0] 3: (gsignal()+0x35) [0x7ff2bdac6a75] 4: (abort()+0x180) [0x7ff2bdaca5c0] 5: (__gnu_cxx::__verbose_terminate_handler()+0x115) [0x7ff2be37c8e5] 6: (()+0xcad16) [0x7ff2be37ad16] 7: (()+0xcad43) [0x7ff2be37ad43] 8: (()+0xcae3e) [0x7ff2be37ae3e] 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x69c) [0x538bdc] 10: (Filer::file_to_extents(inodeno_t, ceph_file_layout*, unsigned long, unsigned long, std::vector<ObjectExtent, std::allocator<ObjectExtent> >&)+0x1233) [0x4f23b3] 11: (Client::update_inode_file_bits(Inode*, unsigned long, unsigned long, unsigned long, unsigned long, utime_t, utime_t, utime_t, int)+0x829) [0x46c5d9] 12: (Client::add_update_inode(InodeStat*, utime_t, int)+0xdc1) [0x471a71] 13: (Client::insert_trace(MetaRequest*, utime_t, int)+0x183d) [0x49bbdd] 14: (Client::handle_client_reply(MClientReply*)+0x4d2) [0x49d4e2] 15: (Client::ms_dispatch(Message*)+0x35b) [0x49dd9b] 16: (SimpleMessenger::dispatch_entry()+0x79b) [0x453bdb] 17: (SimpleMessenger::DispatchThread::entry()+0x1f) [0x44890f] 18: (Thread::_entry_func(void*)+0xa) [0x45a63a] 19: (()+0x69ca) [0x7ff2be95a9ca] 20: (clone()+0x6d) [0x7ff2bdb7970d] Segmentation fault
Files
Actions