Project

General

Profile

Actions

Bug #22683

closed

client: coredump when nfs-ganesha use ceph_ll_get_inode()

Added by huanwen ren over 6 years ago. Updated over 5 years ago.

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

0%

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

Description

Environment:
nfs : nfs-ganehsa2.5.4 + https://github.com/nfs-ganesha/nfs-ganesha/commit/476c2068bd4a3fd22f0d2c071d08f425b73976ec
ceph : 12.2.2
test-tool : disktest(Configure "DiskTest.ini", as shown in the attachment)

Reproduce the steps:
nfs client using disktest written to the file for a period of time, will trigger the call ceph_ll_get_inode () interface,
and randomly trigger coredump, coredump information is as follows

The problem:
ganesha.nfsd process abnormalities, and there coredump

[root@cephfs104 coredumps]# gdb ganesha.nfsd core-sig11-pid18328-uid0
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/&gt;...
Reading symbols from /usr/bin/ganesha.nfsd...Reading symbols from /usr/bin/ganesha.nfsd...(no debugging symbols found)...done.

(gdb) bt
#0 0x00007f5912b285b7 in Client::lookup_name(Inode*, Inode*, UserPerm const&) () from /lib64/libcephfs.so.2
#1 0x00007f5912af0c25 in ceph_ll_lookup_inode () from /lib64/libcephfs.so.2
#2 0x00007f5912df31a0 in create_handle () from /usr/lib64/ganesha/libfsalceph.so
#3 0x000000000053c868 in mdcache_locate_host ()
#4 0x0000000000535c72 in mdcache_create_handle ()
#5 0x00000000004756bb in nfs4_mds_putfh ()
#6 0x00000000004758a3 in nfs4_op_putfh ()
#7 0x000000000045e1bf in nfs4_Compound ()
#8 0x000000000044b625 in nfs_rpc_execute ()
#9 0x000000000044be3f in worker_run ()
#10 0x0000000000503c11 in fridgethr_start_routine ()
#11 0x00007f59164e3e25 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f5915ba434d in clone () from /lib64/libc.so.6


Files

DiskTest.ini (1.34 KB) DiskTest.ini huanwen ren, 01/16/2018 01:37 AM

Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #23015: luminous: client: coredump when nfs-ganesha use ceph_ll_get_inode()ResolvedPatrick DonnellyActions
Actions #2

Updated by John Spray over 6 years ago

  • Project changed from Ceph to CephFS
  • Category changed from 129 to Correctness/Safety
  • Component(FS) libcephfs added
Actions #3

Updated by Patrick Donnelly over 6 years ago

  • Subject changed from coredump when nfs-ganehse use ceph_ll_get_inode() to client: coredump when nfs-ganesha use ceph_ll_get_inode()
  • Status changed from New to Fix Under Review
  • Assignee deleted (Jos Collin)
  • Backport set to luminous
  • Component(FS) Ganesha FSAL added
Actions #4

Updated by Patrick Donnelly about 6 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Target version changed from v12.2.2 to v13.0.0
  • Source set to Community (dev)
  • Component(FS) Client added
  • Component(FS) deleted (Ganesha FSAL, libcephfs)
Actions #5

Updated by Nathan Cutler about 6 years ago

  • Copied to Backport #23015: luminous: client: coredump when nfs-ganesha use ceph_ll_get_inode() added
Actions #6

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF