Project

General

Profile

Actions

Bug #56263

closed

crash: Client::_get_vino(Inode*)

Added by Telemetry Bot almost 2 years ago. Updated over 1 year ago.

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

0%

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

44b295f403ed0dd160aaf0fb363798d7fb7b099f3abc0530baa5cf95f474b5b5


Description

http://telemetry.front.sepia.ceph.com:4000/d/jByk5HaMz/crash-spec-x-ray?orgId=1&var-sig_v2=0b704d8eeaf9a29a1e49c16c04b5e67140852d2e6caa4ed34c41247c78984179

Sanitized backtrace:

    Client::_get_vino(Inode*)
    Client::ll_listxattr(Inode*, char*, unsigned long, UserPerm const&)

Crash dump sample:
{
    "backtrace": [
        "__kernel_rt_sigreturn()",
        "(Client::_get_vino(Inode*)+0) [0xaaaae58eb5f8]",
        "(Client::ll_listxattr(Inode*, char*, unsigned long, UserPerm const&)+0xb8) [0xaaaae5938dd0]",
        "ceph-fuse(+0xa2318) [0xaaaae58e6318]",
        "/lib/aarch64-linux-gnu/libfuse.so.2(+0x15064) [0xffffbb141064]",
        "/lib/aarch64-linux-gnu/libfuse.so.2(+0x12158) [0xffffbb13e158]",
        "/lib/aarch64-linux-gnu/libpthread.so.0(+0x751c) [0xffffba63651c]",
        "/lib/aarch64-linux-gnu/libc.so.6(+0xd122c) [0xffffba37022c]" 
    ],
    "ceph_version": "17.2.0",
    "crash_id": "2022-04-24T22:42:20.113665Z_415727a5-a7b1-41b0-9a07-749f2bc3aac0",
    "entity_name": "client.779720a56c617f4713d46a0389a5f0b5c78d2903",
    "os_id": "ubuntu",
    "os_name": "Ubuntu",
    "os_version": "20.04.4 LTS (Focal Fossa)",
    "os_version_id": "20.04",
    "process_name": "ceph-fuse",
    "stack_sig": "44b295f403ed0dd160aaf0fb363798d7fb7b099f3abc0530baa5cf95f474b5b5",
    "timestamp": "2022-04-24T22:42:20.113665Z",
    "utsname_machine": "aarch64",
    "utsname_release": "5.4.0-1059-raspi",
    "utsname_sysname": "Linux",
    "utsname_version": "#67-Ubuntu SMP PREEMPT Mon Apr 11 14:16:01 UTC 2022" 
}


Related issues 1 (0 open1 closed)

Is duplicate of CephFS - Bug #54653: crash: uint64_t CephFuse::Handle::fino_snap(uint64_t): assert(stag_snap_map.count(stag))ResolvedXiubo Li

Actions
Actions #1

Updated by Telemetry Bot almost 2 years ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v17.2.0 added
Actions #3

Updated by Venky Shankar almost 2 years ago

  • Status changed from New to Duplicate
Actions #4

Updated by Yaarit Hatuka over 1 year ago

  • Is duplicate of Bug #54653: crash: uint64_t CephFuse::Handle::fino_snap(uint64_t): assert(stag_snap_map.count(stag)) added
Actions #5

Updated by Xiubo Li over 1 year ago

I found one case could cause this, such as in the xfstests-dev's open_by_handle.c, which will use the name_to_handle_at() to store the struct fid, which will contains the ino#, but the name_to_handle_at() won't open the file.

118 struct fid {
119         union {
120                 struct {
121                         u32 ino;                                                                                                                   
122                         u32 gen;
123                         u32 parent_ino;                     
124                         u32 parent_gen;                     
125                 } i32;
126                 struct {
127                         u32 block;
128                         u16 partref;
129                         u16 parent_partref;
130                         u32 generation;                     
131                         u32 parent_block;
132                         u32 parent_generation;              
133                 } udf;
134                 __u32 raw[0];
135         };
136 };

Then the test case could use the above struct fid to open the file later by using open_by_handle_at(). So when opening the file later the file could be already deleted and the ino# already reused.

Actions

Also available in: Atom PDF