<div dir="ltr">More debug info:<div><br></div><div><div>(gdb) f 5</div><div>#5 0x0000003182214ff3 in _dict_set (this=0x7f26dd50b80c, </div><div> key=<value optimized out>, value=0x7f26dd34d7c0) at dict.c:248</div>
<div>248<span class="" style="white-space:pre">        </span>in dict.c</div><div>(gdb) p *this</div><div>$2 = {is_static = 0 '\000', hash_size = 1, count = 4, refcount = 1, </div><div> members = 0x7f26dd3fb4e4, members_list = 0x7f26dd40e590, extra_free = 0x0, </div>
<div> extra_stdfree = 0x0, lock = 0}</div><div>(gdb) p *this->members_list</div><div>$3 = {hash_next = 0x7f26dd40e54c, prev = 0x0, next = 0x7f26dd40e54c, </div><div> value = 0x7f26dd329bc0, key = 0x2edf7e0 "server.allow-insecure"}</div>
<div>(gdb) p *this->members_list->next</div><div>$4 = {hash_next = 0x7f26dd409aa8, prev = 0x7f26dd40e590, </div><div> next = 0x7f26dd409aa8, value = 0x7f26dd329b8c, </div><div> key = 0x2fd7330 "features.quota"}</div>
<div>(gdb) p *this->members_list->next->next</div><div>$5 = {hash_next = 0x7f26dd3fb528, prev = 0x7f26dd40e54c, </div><div> next = 0x7f26dd3fb528, value = 0x7f26dd329b58, </div><div> key = 0x2fd72f0 "features.quota-timeout"}</div>
<div>(gdb) p *this->members_list->next->next->next</div><div>$6 = {hash_next = 0x0, prev = 0x7f26dd409aa8, next = 0x0, </div><div> value = 0x7f26dd34d7c0, key = 0x30dd470 "features.limit-usage"}</div>
<div>(gdb) p *this->members_list->next->next->next->next</div><div>Cannot access memory at address 0x0</div><div>(gdb) p *unref_data</div><div>$7 = {is_static = 0 '\000', is_const = 0 '\000', is_stdalloc = 0 '\000', </div>
<div> len = 7, data = 0x30c98a0 "/lib64/libgcc_s.so.1", refcount = 0, lock = 1}</div><div>(gdb) p *unref_data->data</div><div>$8 = 47 '/'</div><div>(gdb) p *(*unref_data->data)</div><div>Cannot access memory at address 0x2f</div>
<div>(gdb) p *unref_data->data</div><div>$9 = 47 '/'</div><div>(gdb) p *this->members_list->next->next->next->next->value</div><div>Cannot access memory at address 0x18</div><div>(gdb) p *this->members_list->next->next->next->next</div>
<div>Cannot access memory at address 0x0</div><div>(gdb) p *this->members_list->next</div><div>$10 = {hash_next = 0x7f26dd409aa8, prev = 0x7f26dd40e590, </div><div> next = 0x7f26dd409aa8, value = 0x7f26dd329b8c, </div>
<div> key = 0x2fd7330 "features.quota"}</div><div>(gdb) p *this->members_list->next->next</div><div>$11 = {hash_next = 0x7f26dd3fb528, prev = 0x7f26dd40e54c, </div><div> next = 0x7f26dd3fb528, value = 0x7f26dd329b58, </div>
<div> key = 0x2fd72f0 "features.quota-timeout"}</div><div>(gdb) p *this->members_list->next->next->next</div><div>$12 = {hash_next = 0x0, prev = 0x7f26dd409aa8, next = 0x0, </div><div> value = 0x7f26dd34d7c0, key = 0x30dd470 "features.limit-usage"}</div>
<div>(gdb) p *this->members_list->next->next->next->value</div><div>$13 = {is_static = 1 '\001', is_const = 0 '\000', is_stdalloc = 0 '\000', </div><div> len = 8, data = 0x2fc7400 "/:300TB", refcount = 1, lock = 1}</div>
<div>(gdb) p *unref_data</div><div>$14 = {is_static = 0 '\000', is_const = 0 '\000', is_stdalloc = 0 '\000', </div><div> len = 7, data = 0x30c98a0 "/lib64/libgcc_s.so.1", refcount = 0, lock = 1}</div>
<div>(gdb) p *this->members_list->next->next->next->value->data</div><div>$15 = 47 '/'</div><div>(gdb) p *unref_data->data</div><div>$16 = 47 '/'</div><div>(gdb) p *key</div><div>$17 = 102 'f'</div>
<div>(gdb) p *value</div><div>$18 = {is_static = 1 '\001', is_const = 0 '\000', is_stdalloc = 0 '\000', </div><div> len = 8, data = 0x2fc7400 "/:300TB", refcount = 1, lock = 1}</div><div>
(gdb) p *pair</div><div>value has been optimized out</div><div>(gdb) p *pair->key</div><div>value has been optimized out</div><div>(gdb) p *pair->value</div></div><div><br></div><div>Any one known this issue?</div><div>
<br></div><div>Thank you.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/23 ·ûÓÀÌÎ <span dir="ltr"><<a href="mailto:yongtaofu@gmail.com" target="_blank">yongtaofu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Dear glusterfs experts,<br><br></div>Recently we have encountered an issue related to glusterfs quota.<br></div>Run the following command on one of our volumes will crash glusterd process.<br>
</div>Here's the core:<br><br>Missing separate debuginfos, use: debuginfo-install glusterfs-server-3.3.0.5rhs_iqiyi_6-1.el6.x86_64<br>(gdb) bt<br>#0 0x0000003ef50328a5 in raise () from /lib64/libc.so.6<br>#1 0x0000003ef5034085 in abort () from /lib64/libc.so.6<br>
#2 0x0000003ef506fa37 in __libc_message () from /lib64/libc.so.6<br>#3 0x0000003ef5075366 in malloc_printerr () from /lib64/libc.so.6<br>#4 0x0000003182214365 in data_destroy (data=0x7f26dd329b24) at dict.c:135<br>#5 0x0000003182214ff3 in _dict_set (this=0x7f26dd50b80c, <br>
key=<value optimized out>, value=0x7f26dd34d7c0) at dict.c:248<br>#6 dict_set (this=0x7f26dd50b80c, key=<value optimized out>, <br> value=0x7f26dd34d7c0) at dict.c:302<br>#7 0x00007f26db2e0c9e in glusterd_quota_limit_usage (volinfo=0x32e9170, <br>
dict=0x7f26dd517074, op_errstr=0x7fffa6fa8d78) at glusterd-quota.c:593<br>#8 0x00007f26db2e1195 in glusterd_op_quota (dict=0x7f26dd517074, <br> op_errstr=0x7fffa6fa8d78) at glusterd-quota.c:724<br>#9 0x00007f26db2acb48 in glusterd_op_commit_perform (op=<value optimized out>, <br>
dict=0x7f26dd517074, op_errstr=<value optimized out>, <br> rsp_dict=0x7f26dd517020) at glusterd-op-sm.c:3429<br>#10 0x00007f26db2adf4d in glusterd_op_ac_commit_op (event=<value optimized out>, <br> ctx=0x33017b0) at glusterd-op-sm.c:3195<br>
#11 0x00007f26db2abbd6 in glusterd_op_sm () at glusterd-op-sm.c:5014<br>#12 0x00007f26db292f5b in glusterd_handle_commit_op (req=<value optimized out>)<br> at glusterd-handler.c:669<br>#13 0x0000003182a0a2e3 in rpcsvc_handle_rpc_call (svc=0x2e69d20, <br>
trans=<value optimized out>, msg=<value optimized out>) at rpcsvc.c:513<br>---Type <return> to continue, or q <return> to quit---<br>#14 0x0000003182a0a453 in rpcsvc_notify (trans=0x3318310, <br>
mydata=<value optimized out>, event=<value optimized out>, <br> data=<value optimized out>) at rpcsvc.c:612<br>#15 0x0000003182a0aeb8 in rpc_transport_notify (this=<value optimized out>, <br>
event=<value optimized out>, data=<value optimized out>)<br> at rpc-transport.c:489<br>#16 0x00007f26db006784 in socket_event_poll_in (this=0x3318310) at socket.c:1677<br>#17 0x00007f26db006867 in socket_event_handler (fd=<value optimized out>, <br>
idx=41, data=0x3318310, poll_in=1, poll_out=0, <br> poll_err=<value optimized out>) at socket.c:1792<br>#18 0x000000318223e4e4 in event_dispatch_epoll_handler (event_pool=0x2e64e50)<br> at event.c:785<br>
#19 event_dispatch_epoll (event_pool=0x2e64e50) at event.c:847<br>
#20 0x0000000000407420 in main ()<br>(gdb) <br><br><br></div>Any one known this issue? Thank you very much.<span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><div><div><div><div><br>-- <br>·ûÓÀÌÎ
</div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>·ûÓÀÌÎ
</div>