<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->mgmt) {<br>
/* cleanup the saved-frames before last unref */<br>
rpc_clnt_connection_cleanup
(&ctx->mgmt->conn);<br>
rpc_clnt_unref (ctx->mgmt);<br>
}<br>
<br>
/* call fini() of each xlator */<br>
trav = NULL;<br>
if (ctx->active)<br>
trav = ctx->active->top;<br>
while (trav) {<br>
if (trav->fini) {<br>
THIS = trav;<br>
trav->fini (trav);<br>
}<br>
trav = trav->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;">> On 10-05-2015 6:26, Niels de
Vos wrote:<br>
>> On Sat, May 09, 2015 at 06:34:55AM -0300, Christopher
Pereira <br>
>> wrote:<br>
>>> Core was generated by `glusterd --xlator-option
*.upgrade=on<br>
>>> -N'. Program terminated with signal 11, Segmentation
fault. #0 <br>
>>> 0x00007f489c747c3b in ?? ()<br>
>>> <br>
>>> [...]<br>
> <br>
> Bug reported here: <br>
> <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>
> <br>
> _______________________________________________ Gluster-devel
mailing<br>
> list <a class="moz-txt-link-abbreviated" href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a> <br>
> <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>