Bug 762614 (GLUSTER-882) - directory traversing problem (client crash)
Summary: directory traversing problem (client crash)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-882
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Windows
urgent
high
Target Milestone: ---
Assignee: Vikas Gorur
QA Contact:
URL:
Whiteboard:
: GLUSTER-900 GLUSTER-931 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-03 20:36 UTC by Harshavardhana
Modified: 2015-12-01 16:45 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Harshavardhana 2010-05-03 20:36:53 UTC
From glusterfs client logfile. 

pending frames:
frame : type(1) op(LK)

patchset: v3.0.4avail2
signal received: 11
time of crash: 2010-05-03 20:14:36
configuration 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.0.4avail2
/lib64/libc.so.6[0x39bb433370]
/usr/lib64/glusterfs/3.0.4avail2/xlator/mount/fuse.so[0x7fd80a9e8524]
/usr/lib64/glusterfs/3.0.4avail2/xlator/performance/io-cache.so(ioc_lk_cbk+0xc3)[0x7fd80b021161]
/usr/lib64/libglusterfs.so.0[0x32e0020ca0]
/usr/lib64/libglusterfs.so.0[0x32e0020ca0]
/usr/lib64/glusterfs/3.0.4avail2/xlator/cluster/distribute.so(dht_lk_cbk+0xf7)[0x7fd80b65bc0d]
/usr/lib64/glusterfs/3.0.4avail2/xlator/cluster/replicate.so(afr_lk_cbk+0x5d6)[0x7fd80b882714]
/usr/lib64/glusterfs/3.0.4avail2/xlator/protocol/client.so(client_lk+0x1e6)[0x7fd80bae1c05]
/usr/lib64/glusterfs/3.0.4avail2/xlator/cluster/replicate.so(afr_lk_cbk+0x383)[0x7fd80b8824c1]
/usr/lib64/glusterfs/3.0.4avail2/xlator/protocol/client.so(client_lk_common_cbk+0x154)[0x7fd80baeac32]
/usr/lib64/glusterfs/3.0.4avail2/xlator/protocol/client.so(protocol_client_interpret+0x1df)[0x7fd80baedd62]
/usr/lib64/glusterfs/3.0.4avail2/xlator/protocol/client.so(protocol_client_pollin+0xc6)[0x7fd80baeeae3]
/usr/lib64/glusterfs/3.0.4avail2/xlator/protocol/client.so(notify+0x158)[0x7fd80baef03b]
/usr/lib64/libglusterfs.so.0(xlator_notify+0xd8)[0x32e0019596]
/usr/lib64/glusterfs/3.0.4avail2/transport/ib-verbs.so[0x7fd809d5ef7f]
/lib64/libpthread.so.0[0x39bc00686a]
/lib64/libc.so.6(clone+0x6d)[0x39bb4de3bd]
---------


Backtrace
--------------

#0  0x00007fd80a9e8524 in fuse_getlk_cbk (frame=0x7fd80003b418, cookie=0x7fd8009636b0, this=0x8a6520, op_ret=0, op_errno=0, lock=0x0) at fuse-bridge.c:2754
#1  0x00007fd80b021161 in ioc_lk_cbk (frame=0x7fd8009636b0, cookie=0x7fd80003b2a0, this=0x8b49d0, op_ret=0, op_errno=0, lock=0x0) at io-cache.c:1190
#2  0x00000032e0020ca0 in default_lk_cbk (frame=0x7fd80003b2a0, cookie=0x7fd8000f4e30, this=0x8b40a0, op_ret=0, op_errno=0, lock=0x0) at defaults.c:1056
#3  0x00000032e0020ca0 in default_lk_cbk (frame=0x7fd8000f4e30, cookie=0x7fd8007bbaa0, this=0x8b3720, op_ret=0, op_errno=0, lock=0x0) at defaults.c:1056
#4  0x00007fd80b65bc0d in dht_lk_cbk (frame=0x7fd8007bbaa0, cookie=0x7fd800531a30, this=0x8b2d50, op_ret=0, op_errno=0, flock=0x0) at dht-common.c:1883
#5  0x00007fd80b882714 in afr_lk_cbk (frame=0x7fd800531a30, cookie=0x1, this=0x8b1c70, op_ret=-1, op_errno=77, lock=0x0) at afr.c:2454
#6  0x00007fd80bae1c05 in client_lk (frame=0x7fd7f801df40, this=0x8ab460, fd=0x7fd800988ae0, cmd=5, flock=0x7fd80003bbe8) at client-protocol.c:2875
#7  0x00007fd80b8824c1 in afr_lk_cbk (frame=0x7fd800531a30, cookie=0x0, this=0x8b1c70, op_ret=0, op_errno=0, lock=0x7fd806bc2ca0) at afr.c:2442
#8  0x00007fd80baeac32 in client_lk_common_cbk (frame=0x7fd800543c00, hdr=0x7fd7f801e4b0, hdrlen=132, iobuf=0x0) at client-protocol.c:5376
#9  0x00007fd80baedd62 in protocol_client_interpret (this=0x8af7e0, trans=0x8c6f40, hdr_p=0x7fd7f801e4b0 "", hdrlen=132, iobuf=0x0)
    at client-protocol.c:6529
#10 0x00007fd80baeeae3 in protocol_client_pollin (this=0x8af7e0, trans=0x8c6f40) at client-protocol.c:6827
#11 0x00007fd80baef03b in notify (this=0x8af7e0, event=2, data=0x8c6f40) at client-protocol.c:6946
#12 0x00000032e0019596 in xlator_notify (xl=0x8af7e0, event=2, data=0x8c6f40) at xlator.c:924
#13 0x00007fd809d5ef7f in ib_verbs_recv_completion_proc (data=0x8babc0) at ib-verbs.c:1192
#14 0x00000039bc00686a in start_thread () from /lib64/libpthread.so.0
#15 0x00000039bb4de3bd in clone () from /lib64/libc.so.6
#16 0x0000000000000000 in ?? ()

Comment 1 Anand Avati 2010-05-04 03:40:26 UTC
PATCH: http://patches.gluster.com/patch/3205 in release-3.0 (cluster/afr: Unwind lk using struct flock from a successful server)

Comment 2 Anand Avati 2010-05-04 03:51:39 UTC
PATCH: http://patches.gluster.com/patch/3205 in master (cluster/afr: Unwind lk using struct flock from a successful server)

Comment 3 Amar Tumballi 2010-05-04 08:17:02 UTC
This patch should goto 'release-2.0' branch also.

Comment 4 Vikas Gorur 2010-05-06 19:56:13 UTC
*** Bug 900 has been marked as a duplicate of this bug. ***

Comment 5 Anand Avati 2010-05-11 14:10:05 UTC
PATCH: http://patches.gluster.com/patch/3252 in release-2.0 (Unwind lk using struct flock from a successful server)

Comment 6 Antoine Beaupré 2010-05-17 20:17:05 UTC
i confirm this patch fixes the issue I was having in bug #762632.

Comment 7 Vijay Bellur 2010-10-27 06:11:56 UTC
*** Bug 931 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.