Project

General

Profile

Actions

Bug #49536

closed

client: Inode.cc: 405: FAILED ceph_assert(_ref >= 0)

Added by Xiubo Li about 3 years ago. Updated almost 3 years ago.

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

0%

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

Description

When running the ceph mount/unmount serially by around 100000 times, I see:

/data/ceph/src/client/Inode.cc: In function 'int Inode::_put(int)' thread 14ea23fff700 time 2021-02-28T11:45:06.828881+0800
/data/ceph/src/client/Inode.cc: 405: FAILED ceph_assert(ref >= 0)
ceph version 17.0.0-996-gb62cfed7733 (b62cfed773345b8bf7e46b3129bed4444db927ea) quincy (dev)
1: (ceph::
_ceph_assert_fail(char const*, char const*, int, char const*)+0x1aa) [0x14ea31337f00]
2: /data/ceph/build/lib/libceph-common.so.2(0x16ac182) [0x14ea31338182]
3: /data/ceph/build/lib/libcephfs.so.2(+0x22c784) [0x14ea2f7c8784]
4: /data/ceph/build/lib/libcephfs.so.2(+0xd8d1e) [0x14ea2f674d1e]
5: /data/ceph/build/lib/libcephfs.so.2(+0xd9190) [0x14ea2f675190]
6: /data/ceph/build/lib/libcephfs.so.2(+0xfb7e2) [0x14ea2f6977e2]
7: /data/ceph/build/lib/libcephfs.so.2(+0xfba74) [0x14ea2f697a74]
8: /data/ceph/build/lib/libcephfs.so.2(+0x14ac7d) [0x14ea2f6e6c7d]
9: /data/ceph/build/lib/libcephfs.so.2(+0x14a8b7) [0x14ea2f6e68b7]
10: /data/ceph/build/lib/libcephfs.so.2(+0x14d040) [0x14ea2f6e9040]
11: /data/ceph/build/lib/libcephfs.so.2(+0x14d016) [0x14ea2f6e9016]
12: /data/ceph/build/lib/libcephfs.so.2(+0x14cffa) [0x14ea2f6e8ffa]
13: /lib64/libstdc
+.so.6(+0xc2ba3) [0x14ea2d3c7ba3]
14: /lib64/libpthread.so.0(+0x82de) [0x14ea2f3842de]
15: clone()
Aborted (core dumped)


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #50445: pacific: client: Inode.cc: 405: FAILED ceph_assert(_ref >= 0)ResolvedXiubo LiActions
Actions #1

Updated by Xiubo Li about 3 years ago

  • Pull request ID set to 39742
Actions #2

Updated by Xiubo Li about 3 years ago

Switched the _ref to atomic type.

Actions #3

Updated by Xiubo Li about 3 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Xiubo Li about 3 years ago

  • Component(FS) libcephfs added
  • Labels (FS) crash added
Actions #5

Updated by Xiubo Li about 3 years ago

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

Updated by Xiubo Li about 3 years ago

  • Priority changed from Normal to High
Actions #7

Updated by Patrick Donnelly about 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Assignee set to Xiubo Li
  • Target version set to v17.0.0
  • Source set to Development
  • Backport set to pacific,octopus,nautilus
Actions #8

Updated by Patrick Donnelly almost 3 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from pacific,octopus,nautilus to pacific

We can try backporting this to pacific but I don't think it's worth the trouble farther than that.

Actions #9

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #50445: pacific: client: Inode.cc: 405: FAILED ceph_assert(_ref >= 0) added
Actions #10

Updated by Loïc Dachary almost 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF