Project

General

Profile

Actions

Bug #16764

closed

ceph-fuse crash on force unmount with file open

Added by John Spray over 7 years ago. Updated over 7 years ago.

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

0%

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

Description

Reproducing this in a vstart environment:

1. Mount a client
2. in python, do "f = open('mnt/foo.bin', 'w')"
3. Leave the python shell open and do a umount -f on the mount
4. The ceph-fuse process segfaults.

 ceph version v11.0.0-171-gc71cb0a (c71cb0adadaf22dd8a2c8e429afc6d2e05b8eda9)
 1: (ceph::BackTrace::BackTrace(int)+0x2d) [0x11393a1]
 2: bin/ceph-fuse() [0x1138a5a]
 3: (()+0x10430) [0x7f9237e2f430]
 4: (Inode::caps_issued(int*) const+0x23) [0x112c6f7]
 5: (operator<<(std::ostream&, Inode const&)+0x39) [0x112b709]
 6: (Client::_release_fh(Fh*)+0x2c3) [0x105a965]
 7: (Client::unmount()+0x7c7) [0x1046b31]
 8: (main()+0xbe1) [0x10072c6]
 9: (__libc_start_main()+0xf0) [0x7f92359ba700]
 10: (_start()+0x29) [0x1005d49]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Note that I'm using --client-die-on-failed-remount=false, I can't immediately see how that would be tied to this but it's perhaps possible.


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #17207: jewel: ceph-fuse crash on force unmount with file openResolvedActions
Actions #1

Updated by John Spray over 7 years ago

  • Status changed from In Progress to Fix Under Review
Actions #2

Updated by Zheng Yan over 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions #3

Updated by John Spray over 7 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to jewel
Actions #5

Updated by Nathan Cutler over 7 years ago

  • Copied to Backport #17207: jewel: ceph-fuse crash on force unmount with file open added
Actions #6

Updated by Loïc Dachary over 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF