Bug 762294 (GLUSTER-562)

Summary: crash resulting from bad refs in transport_setpeer
Product: [Community] GlusterFS Reporter: Anand Avati <aavati>
Component: transportAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: chrisw, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anand Avati 2010-01-22 11:31:35 UTC
PATCH: http://patches.gluster.com/patch/2673 in master (transport: set proper reference counts on peer_trans for local connections)

Comment 1 Anand Avati 2010-01-22 14:19:22 UTC
Version      : glusterfs 2.0.7rc8 built on Sep 25 2009 14:59:09
git: v2.0.6-86-g1ed9036
---------------

[2009-11-21 01:00:05] E [saved-frames.c:165:saved_frames_unwind] glusterfs01: forced unwinding frame type(3) op(RELEASE)
[2009-11-21 01:00:05] E [ib-verbs.c:2023:ib_verbs_event_handler] transport/ib-verbs: server: pollin received on tcp socket (peer: 10.33.111.41:1022) after handshake is complete
[2009-11-21 01:00:05] N [server-protocol.c:7825:notify] server: 10.33.111.41:1022 disconnected
[2009-11-21 01:00:05] E [ib-verbs.c:2023:ib_verbs_event_handler] transport/ib-verbs: glusterfs01: pollin received on tcp socket (peer: 10.33.111.41:7778) after handshake is complete
[2009-11-21 01:00:05] N [client-protocol.c:6435:notify] glusterfs01: disconnected
[2009-11-21 01:00:05] N [server-protocol.c:7065:mop_setvolume] server: accepted client from 10.33.111.41:1022
[2009-11-21 01:00:05] W [client-protocol.c:5721:client_setvolume_cbk] glusterfs01: attaching to the local volume 'brick'
[2009-11-21 01:00:05] N [client-protocol.c:5730:client_setvolume_cbk] glusterfs01: Connected to 10.33.111.41:7778, attached to remote volume 'brick'.
pending frames:
frame : type(1) op(LOOKUP)
frame : type(1) op(FLUSH)
frame : type(1) op(FLUSH)
frame : type(1) op(FLUSH)
frame : type(1) op(FLUSH)
frame : type(1) op(LOOKUP)
frame : type(3) op(RELEASE)
frame : type(3) op(RELEASE)
frame : type(1) op(FLUSH)
frame : type(1) op(FLUSH)
frame : type(1) op(FLUSH)
frame : type(1) op(FLUSH)
frame : type(1) op(FLUSH)
frame : type(1) op(FLUSH)
frame : type(1) op(FLUSH)
frame : type(1) op(FINODELK)
frame : type(1) op(FINODELK)
frame : type(1) op(FINODELK)
frame : type(1) op(FINODELK)

patchset: v2.0.6-86-g1ed9036
signal received: 6
time of crash: 2009-11-21 01:00:05
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 2.0.7rc8
/lib64/libc.so.6[0x7ffa016b06e0]
/lib64/libc.so.6(gsignal+0x35)[0x7ffa016b0645]
/lib64/libc.so.6(abort+0x183)[0x7ffa016b1c33]
/lib64/libc.so.6[0x7ffa016ec8e8]
/lib64/libc.so.6[0x7ffa016f2118]
/lib64/libc.so.6(cfree+0x76)[0x7ffa016f3c76]
/usr/lib64/libglusterfs.so.0(transport_destroy+0x14)[0x7ffa01e11fc4]
/usr/lib64/libglusterfs.so.0(transport_unref+0x5a)[0x7ffa01e1208a]
/usr/lib64/glusterfs/2.0.7rc8/xlator/protocol/server.so(free_state+0x22)[0x7ffa00646a02]
/usr/lib64/glusterfs/2.0.7rc8/xlator/protocol/server.so(mop_setvolume+0x3ee)[0x7ffa0063d4ce]
/usr/lib64/glusterfs/2.0.7rc8/xlator/protocol/server.so(protocol_server_pollin+0x9a)[0x7ffa00634eca]
/usr/lib64/glusterfs/2.0.7rc8/xlator/protocol/server.so(notify+0x8b)[0x7ffa00634f5b]
/usr/lib64/libglusterfs.so.0(transport_peerproc+0x8a)[0x7ffa01e11d0a]
/lib64/libpthread.so.0[0x7ffa019de070]
/lib64/libc.so.6(clone+0x6d)[0x7ffa0175110d]