<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
        This bt similar to
    <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1209461">https://bugzilla.redhat.com/show_bug.cgi?id=1209461</a> . This crash due
    to race between clean up thread and rpc event thread .It is known
    issue , It doesn't have any serious impact to functionality apart
    from creating core  dump file and log message.<br>
    <br>
    for more info :<br>
    <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1209461">https://bugzilla.redhat.com/show_bug.cgi?id=1209461</a><br>
     <br>
    I have sent patch for rpc listener clean up
    (<a class="moz-txt-link-freetext" href="http://review.gluster.org/10197">http://review.gluster.org/10197</a> ) , but glusterd fini()  function
    is not invoking  before exit(0)  due to code comment in
    cleanup_and_exit() ( no idea why it is commented ).<br>
    <br>
    void cleanup_and_exit (int signum)<br>
    {<br>
             ------<br>
             -------<br>
              glusterfs_pidfile_cleanup (ctx);<br>
    <br>
            exit (0);<br>
    #if 0<br>
            /* TODO: Properly do cleanup_and_exit(), with
    synchronization */<br>
            if (ctx-&gt;mgmt) {<br>
                    /* cleanup the saved-frames before last unref */<br>
                    rpc_clnt_connection_cleanup
    (&amp;ctx-&gt;mgmt-&gt;conn);<br>
                    rpc_clnt_unref (ctx-&gt;mgmt);<br>
            }<br>
    <br>
            /* call fini() of each xlator */<br>
            trav = NULL;<br>
            if (ctx-&gt;active)<br>
                    trav = ctx-&gt;active-&gt;top;<br>
            while (trav) {<br>
                    if (trav-&gt;fini) {<br>
                            THIS = trav;<br>
                            trav-&gt;fini (trav);<br>
                    }<br>
                    trav = trav-&gt;next;<br>
            }<br>
    #endif<br>
    }<br>
     <br>
    <br>
    Regards<br>
    Anand.N<br>
    <br>
    On 05/12/2015 09:09 AM, Christopher Pereira wrote:<br>
    <span style="white-space: pre;">&gt; On 10-05-2015 6:26, Niels de
      Vos wrote:<br>
      &gt;&gt; On Sat, May 09, 2015 at 06:34:55AM -0300, Christopher
      Pereira <br>
      &gt;&gt; wrote:<br>
      &gt;&gt;&gt; Core was generated by `glusterd --xlator-option
      *.upgrade=on<br>
      &gt;&gt;&gt; -N'. Program terminated with signal 11, Segmentation
      fault. #0 <br>
      &gt;&gt;&gt; 0x00007f489c747c3b in ?? ()<br>
      &gt;&gt;&gt; <br>
      &gt;&gt;&gt; [...]<br>
      &gt; <br>
      &gt; Bug reported here: <br>
      &gt; <a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1220623">https://bugzilla.redhat.com/show_bug.cgi?id=1220623</a><br>
      &gt; <br>
      &gt; _______________________________________________ Gluster-devel
      mailing<br>
      &gt; list <a class="moz-txt-link-abbreviated" href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a> <br>
      &gt; <a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-devel">http://www.gluster.org/mailman/listinfo/gluster-devel</a></span><br>
    <br>
    <br>
  </body>
</html>