Bug 764508 (GLUSTER-2776)

Summary: gluster quota remove crashed glusterd
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: quotaAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, pkarampu, raghavendra, saurabh, vraman
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: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amar Tumballi 2011-04-15 16:31:36 UTC
don't have core, but log says like below


[2011-04-15 21:38:29.399642] I [glusterd-handler.c:420:glusterd_op_txn_begin] 0-glusterd: Acquired local lock
[2011-04-15 21:38:29.399761] I [glusterd-op-sm.c:6663:glusterd_op_ac_send_stage_op] 0-glusterd: Sent op req to 0 peers
pending frames:

patchset: git://git.gluster.com/glusterfs.git
signal received: 6
time of crash: 2011-04-15 21:38:29
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.1.0git
/lib/libc.so.6(+0x33af0)[0x7f9a9a865af0]
/lib/libc.so.6(gsignal+0x35)[0x7f9a9a865a75]
/lib/libc.so.6(abort+0x180)[0x7f9a9a8695c0]
/lib/libc.so.6(__assert_fail+0xf1)[0x7f9a9a85e941]
/usr/local/lib/libglusterfs.so.0(__gf_free+0xa3)[0x7f9a9b45af0c]
/usr/local/lib/libglusterfs.so.0(data_destroy+0x72)[0x7f9a9b41e60b]
/usr/local/lib/libglusterfs.so.0(data_unref+0xb3)[0x7f9a9b41f2e5]
/usr/local/lib/libglusterfs.so.0(dict_del+0x14c)[0x7f9a9b41eedf]
/usr/local/lib/glusterfs/3.1.0git/xlator/mgmt/glusterd.so(glusterd_quota_remove_limits+0x42d)[0x7f9a990a54e0]
/usr/local/lib/glusterfs/3.1.0git/xlator/mgmt/glusterd.so(glusterd_op_quota+0x25a)[0x7f9a990a5777]
/usr/local/lib/glusterfs/3.1.0git/xlator/mgmt/glusterd.so(glusterd_op_commit_perform+0x1b2)[0x7f9a990abe28]
/usr/local/lib/glusterfs/3.1.0git/xlator/mgmt/glusterd.so(+0x4b834)[0x7f9a990a9834]
/usr/local/lib/glusterfs/3.1.0git/xlator/mgmt/glusterd.so(glusterd_op_sm+0x168)[0x7f9a990ad8af]
/usr/local/lib/glusterfs/3.1.0git/xlator/mgmt/glusterd.so(glusterd_handle_quota+0x491)[0x7f9a9908a3f6]
/usr/local/lib/libgfrpc.so.0(rpcsvc_handle_rpc_call+0x344)[0x7f9a9b1fac57]
/usr/local/lib/libgfrpc.so.0(rpcsvc_notify+0x181)[0x7f9a9b1faffa]
/usr/local/lib/libgfrpc.so.0(rpc_transport_notify+0x130)[0x7f9a9b200ab4]
/usr/local/lib/glusterfs/3.1.0git/rpc-transport/socket.so(socket_event_poll_in+0x54)[0x7f9a98e52dce]
/usr/local/lib/glusterfs/3.1.0git/rpc-transport/socket.so(socket_event_handler+0x21d)[0x7f9a98e53352]
/usr/local/lib/libglusterfs.so.0(+0x4ce9a)[0x7f9a9b459e9a]

Comment 1 Vijay Bellur 2011-04-15 16:56:36 UTC
PATCH: http://patches.gluster.com/patch/6908 in master (mgmt/glusterd: fix double free.)

Comment 2 Saurabh 2011-04-18 06:31:46 UTC
used the remove command over the a dist-rep, and didn't find the same crash again.