Bug 957657

Summary: glusterfs fuse crashed on the client
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rahul Hinduja <rhinduja>
Component: glusterfsAssignee: Raghavendra Bhat <rabhat>
Status: CLOSED DUPLICATE QA Contact: Sudhir D <sdharane>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: rhs-bugs, spradhan, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-30 13:48:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rahul Hinduja 2013-04-29 08:17:07 UTC
Description of problem:
=======================

glusterfs fuse crashed on client.


Version-Release number of selected component (if applicable):
=============================================================

[root@darrel test-nfs]# rpm -qa | grep gluster
glusterfs-debuginfo-3.4.0.1rhs-1.el6rhs.x86_64
glusterfs-fuse-3.4.0.1rhs-1.el6rhs.x86_64
glusterfs-3.4.0.1rhs-1.el6rhs.x86_64
[root@darrel test-nfs]# 

Steps Carried:
==============
1. Created 6*2 distriubuted-replicate volume
2. Mounted on client (both fuse and nfs mount)
3. Created test-fuse and test-nfs directories on fuse and nfs mount respectively.
4. Ran script.sh on both fuse and nfs test directories. Script does the directory and file creation, dd etc.
5. Ran the areequal checksum on the fuse mount. It reported the following:

[root@darrel test-fuse]# /opt/qa/tools/system_light/arequal/arequal-checksum -p /mnt/fuse 
md5sum: /mnt/fuse/test-nfs/test_entry_self_heal/file.11: Transport endpoint is not connected
/mnt/fuse/test-nfs/test_entry_self_heal/file.11: short read
ftw (-p) returned -1 (Success), terminating
[root@darrel test-fuse]# 


Checked the client log and found the following:
===============================================

pending frames:
frame : type(1) op(READ)
frame : type(1) op(OPEN)
frame : type(0) op(0)

patchset: git://git.gluster.com/glusterfs.git
signal received: 11
time of crash: 2013-04-29 12:01:42configuration details:
argp 1
backtrace 1
dlfcn 1
fdatasync 1
libpthread 1
llistxattr 1
setfsid 1
spinlock 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs 3.4.0.1rhs
/lib64/libc.so.6[0x33c3432920]
/usr/lib64/glusterfs/3.4.0.1rhs/xlator/performance/io-cache.so(ioc_open_cbk+0x98)[0x7f720455e9c8]
/usr/lib64/glusterfs/3.4.0.1rhs/xlator/performance/read-ahead.so(ra_open_cbk+0x1d4)[0x7f720476dd74]
/usr/lib64/glusterfs/3.4.0.1rhs/xlator/cluster/distribute.so(dht_open_cbk+0xfb)[0x7f7204bb637b]
/usr/lib64/glusterfs/3.4.0.1rhs/xlator/cluster/replicate.so(afr_open_cbk+0x2de)[0x7f7204def91e]
/usr/lib64/glusterfs/3.4.0.1rhs/xlator/protocol/client.so(client3_3_open_cbk+0x18b)[0x7f720505453b]
/usr/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0xa5)[0x7f720a577df5]
/usr/lib64/libgfrpc.so.0(rpc_clnt_notify+0x127)[0x7f720a5789d7]
/usr/lib64/libgfrpc.so.0(rpc_transport_notify+0x28)[0x7f720a574338]
/usr/lib64/glusterfs/3.4.0.1rhs/rpc-transport/socket.so(socket_event_poll_in+0x34)[0x7f7206a532d4]
/usr/lib64/glusterfs/3.4.0.1rhs/rpc-transport/socket.so(socket_event_handler+0x13d)[0x7f7206a5342d]
/usr/lib64/libglusterfs.so.0(+0x5b3e7)[0x7f720a7db3e7]
/usr/sbin/glusterfs(main+0x5c6)[0x406676]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x33c341ecdd]
/usr/sbin/glusterfs[0x404559]
---------

Checked for core and core is generated:
=======================================

[root@darrel /]# file /core.4785 
/core.4785: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/sbin/glusterfs --volfile-id=/vol-dis-rep --volfile-server=10.70.36.35 /mnt'
[root@darrel /]#

Comment 4 Amar Tumballi 2013-04-30 13:48:01 UTC

*** This bug has been marked as a duplicate of bug 953527 ***