<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 10, 2018 at 8:54 AM Raghavendra Gowdappa <<a href="mailto:rgowdapp@redhat.com">rgowdapp@redhat.com</a>> wrote:<br></div><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><div>All,<br><br>Details can be found at:<br><a href="https://build.gluster.org/job/centos7-regression/2190/console" target="_blank">https://build.gluster.org/job/centos7-regression/2190/console</a><br><br></div><div>Process that core dumped: glfs_shdheal<br></div><br>Note that the patch on which this regression failures is on readdir-ahead which is not loaded in xlator graph of self heal daemon.<br><br></div>From bt,<br><pre class="m_5893429397837678583gmail-console-output"><span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> __FUNCTION__ = "syncop_getxattr"
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span>#8 0x00007f5af8738aef in syncop_gfid_to_path_hard (itable=0x7f5ae401ce50, subvol=0x7f5ae40079e0, gfid=0x7f5adc00b4e8 "", inode=0x0, path_p=0x7f5acbffebe8, hard_resolve=false) at /home/jenkins/root/workspace/centos7-regression/libglusterfs/src/syncop-utils.c:585
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> ret = 0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> path = 0x0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> loc = {path = 0x0, name = 0x0, inode = 0x7f5ac00028a8, parent = 0x0, gfid = '\000' <repeats 15 times>, pargfid = '\000' <repeats 15 times>}
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> xattr = 0x0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span>#9 0x00007f5af8738c28 in syncop_gfid_to_path (itable=0x7f5ae401ce50, subvol=0x7f5ae40079e0, gfid=0x7f5adc00b4e8 "", path_p=0x7f5acbffebe8) at /home/jenkins/root/workspace/centos7-regression/libglusterfs/src/syncop-utils.c:636
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span>No locals.<span class="m_5893429397837678583gmail-timestamp"><b><br>23:53:24</b> </span>#10 0x00007f5aeaad65e1 in afr_shd_selfheal (healer=0x7f5ae401d490, child=0, gfid=0x7f5adc00b4e8 "") at /home/jenkins/root/workspace/centos7-regression/xlators/cluster/afr/src/afr-self-heald.c:331
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> ret = 0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> eh = 0x0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> priv = 0x7f5ae401c780
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> shd = 0x7f5ae401c8e8
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> shd_event = 0x0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> path = 0x0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> subvol = 0x7f5ae40079e0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> this = 0x7f5ae400d540
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> crawl_event = 0x7f5ae401d4a0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span>#11 0x00007f5aeaad6de5 in afr_shd_full_heal (subvol=0x7f5ae40079e0, entry=0x7f5adc00b440, parent=0x7f5acbffee20, data=0x7f5ae401d490) at /home/jenkins/root/workspace/centos7-regression/xlators/cluster/afr/src/afr-self-heald.c:541
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> healer = 0x7f5ae401d490
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> this = 0x7f5ae400d540
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> priv = 0x7f5ae401c780
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span>#12 0x00007f5af8737b2f in syncop_ftw (subvol=0x7f5ae40079e0, loc=0x7f5acbffee20, pid=-6, data=0x7f5ae401d490, fn=0x7f5aeaad6d40 <afr_shd_full_heal>) at /home/jenkins/root/workspace/centos7-regression/libglusterfs/src/syncop-utils.c:123
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> child_loc = {path = 0x0, name = 0x0, inode = 0x0, parent = 0x0, gfid = '\000' <repeats 15 times>, pargfid = '\000' <repeats 15 times>}
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> fd = 0x7f5ac0001398</pre><br></div>Assert for a non-null gfid failed in client_pre_getxattr_v2. From bt, it looks like a NULL gfid was passed to afr_shd_full.<br></div></div></div></blockquote><div><br></div><div>Most probably it is because of the change in gf_link_inode_from_dirent() in your patch. Why did you make that change? Wondering if we need to change afr/ec code accordingly.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br><pre class="m_5893429397837678583gmail-console-output"><span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> __PRETTY_FUNCTION__ = "client_pre_getxattr_v2"
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span>#5 0x00007f5aeada8f2a in client4_0_getxattr (frame=0x7f5ac0008198, this=0x7f5ae40079e0, data=0x7f5acbffdcc0) at /home/jenkins/root/workspace/centos7-regression/xlators/protocol/client/src/client-rpc-fops_v2.c:4287
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> conf = 0x7f5ae40293e0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> args = 0x7f5acbffdcc0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> req = {gfid = '\000' <repeats 15 times>, namelen = 0, name = 0x0, xdata = {xdr_size = 0, count = 0, pairs = {pairs_len = 0, pairs_val = 0x0}}}
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> dict = 0x0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> ret = 0
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> op_ret = -1
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> op_errno = 116
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> local = 0x7f5ac00082a8
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> __FUNCTION__ = "client4_0_getxattr"
<span class="m_5893429397837678583gmail-timestamp"><b>23:53:24</b> </span> __PRETTY_FUNCTION__ = "client4_0_getxattr"</pre><br></div>regards,<br></div>Raghavendra<br></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div></div>