Bug 765549 (GLUSTER-3817)

Summary: glusterd crashes when volume delete is called with non-existent volname
Product: [Community] GlusterFS Reporter: shishir gowda <sgowda>
Component: glusterdAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: pre-releaseCC: gluster-bugs, nsathyan
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:

Description shishir gowda 2011-11-17 04:41:28 EST
(gdb) bt
#0  0x00007f0a5aadd7ef in dict_foreach (dict=0x1cba210, fn=0x7f0a5aadd82d <_copy>, data=0x1cbdc90) at dict.c:1217
#1  0x00007f0a5aadd926 in dict_copy (dict=0x1cba210, new=0x1cbdc90) at dict.c:1255
#2  0x00007f0a57e28991 in glusterd_op_build_payload (req=0x7fffd69daa20) at glusterd-op-sm.c:1518
#3  0x00007f0a57e28aec in glusterd_op_ac_send_stage_op (event=0x1cb4330, ctx=0x0) at glusterd-op-sm.c:1553
#4  0x00007f0a57e2d64a in glusterd_op_sm () at glusterd-op-sm.c:3321
#5  0x00007f0a57e71f44 in glusterd_handle_cli_delete_volume (req=0x7f0a5aeaf02c) at glusterd-volume-ops.c:415
#6  0x00007f0a5a8b61ef in rpcsvc_handle_rpc_call (svc=0x1cb9ea0, trans=0x1cbd840, msg=0x1cbae40) at rpcsvc.c:507
#7  0x00007f0a5a8b656c in rpcsvc_notify (trans=0x1cbd840, mydata=0x1cb9ea0, event=RPC_TRANSPORT_MSG_RECEIVED, data=0x1cbae40) at rpcsvc.c:603
#8  0x00007f0a5a8bc18c in rpc_transport_notify (this=0x1cbd840, event=RPC_TRANSPORT_MSG_RECEIVED, data=0x1cbae40) at rpc-transport.c:498
#9  0x00007f0a57be12e7 in socket_event_poll_in (this=0x1cbd840) at socket.c:1675
#10 0x00007f0a57be1850 in socket_event_handler (fd=5, idx=1, data=0x1cbd840, poll_in=1, poll_out=0, poll_err=0) at socket.c:1790
#11 0x00007f0a5ab1485c in event_dispatch_epoll_handler (event_pool=0x1cb23a0, events=0x1cbcc20, i=0) at event.c:794
#12 0x00007f0a5ab14a6f in event_dispatch_epoll (event_pool=0x1cb23a0) at event.c:856
#13 0x00007f0a5ab14de2 in event_dispatch (event_pool=0x1cb23a0) at event.c:956
#14 0x0000000000407ca6 in main (argc=2, argv=0x7fffd69daff8) at glusterfsd.c:1592

#0  0x00007f0a5aadd7ef in dict_foreach (dict=0x1cba210, fn=0x7f0a5aadd82d <_copy>, data=0x1cbdc90) at dict.c:1217
1217	                next = pairs->next;
(gdb) p *dict
$1 = {is_static = 0 '\000', hash_size = 0, count = 1526057408, refcount = 32522, members = 0x7f0a5af719d8, members_list = 0x0, 
  extra_free = 0x1cbdcd0 "", extra_stdfree = 0x7f0a5af5c9c0 "", lock = 1526143448}
Comment 1 Anand Avati 2011-11-18 04:26:26 EST
CHANGE: http://review.gluster.com/736 (Change-Id: I6edee785c69864bf42d869ed9cccb52cabc1523d) merged in master by Vijay Bellur (vijay@gluster.com)