This looks like a compiler bug in SLES SP1. I have a standalone test case here to prove it is a compiler issue -<div><br></div><div><a href="https://github.com/avati/gcc-bug">https://github.com/avati/gcc-bug</a></div><div>
<br></div><div>It is scary because the data structures ended up getting linked wrongly!! Compiling without -O2 seems to fix this crash, but we&#39;re still not sure how much of &quot;internal damage&quot; is happening in other places. Pavan has posted to the gcc list about this bug and maybe we will raise it with Novell as well.</div>
<div><br></div><div>Avati<br><br><div class="gmail_quote">2011/1/27 Markus Fröhlich <span dir="ltr">&lt;<a href="mailto:markus.froehlich@xidras.com">markus.froehlich@xidras.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
hi!<br>
<br>
I don&#39;t think so - I&#39;ve always built and installed RPMs instead of running &quot;make install&quot;.<br>
so when I uninstall a package, all files / librariers should get removed.<br>
the only files that are existing after uninstall are the configs under /etc and the logfiles.<br>
<br>
I now compiled and installed v 3.1.2<br>
also this version is running without any segfault / coredump<br>
<br>
regards<br>
markus<br>
<br>
Am 27.01.2011 13:18, schrieb Raghavendra G:<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Markus,<br>
<br>
Seems like you had stale installations of gluster and libraries of different versions got mixed up there by causing crashes.<br>
<br>
regards,<br>
----- Original Message -----<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: &quot;Markus Fröhlich&quot;&lt;<a href="mailto:markus.froehlich@xidras.com" target="_blank">markus.froehlich@<u></u>xidras.com</a>&gt;<br>
To: &quot;Raghavendra G&quot;&lt;<a href="mailto:raghavendra@gluster.com" target="_blank">raghavendra@gluster.com</a>&gt;<br>
Cc: <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
Sent: Thursday, January 27, 2011 3:16:47 PM<br>
Subject: Re: [Gluster-users] glusterfs 3.1.1 troubles on SLES11 SP1<br>
hi!<br>
<br>
I added the compiler flags into the SPEC file and compiled again,<br>
removed the old RPMs and deleted<br>
the whole /etc/gluser* dirs, configfiles and logfiles<br>
then I installed the new RPMs and started glusterd and ran the mgmt<br>
commands - the strange thing:<br>
NOW IT WORKS!!!<br>
no segfault, no coredump<br>
<br>
that means, one or both of the CFLAGS solves the segfault.<br>
I&#39;ll going on compiling v 3.1.2 with the CFLAGS too and testing it.<br>
<br>
here the output of my testing:<br>
<br>
# gluster peer probe virt-zabbix-03<br>
Probe successful<br>
<br>
# gluster peer status<br>
Number of Peers: 1<br>
<br>
Hostname: virt-zabbix-03<br>
Uuid: e9117cc0-b014-43a2-a4dc-<u></u>99a98dde5ad8<br>
State: Peer in Cluster (Connected)<br>
<br>
# gluster volume create test-vol2 transport tcp virt-zabbix-02:/gfs1<br>
virt-zabbix-03:/gfs1<br>
Creation of volume test-vol2 has been successful. Please start the<br>
volume to access data.<br>
<br>
<br>
# gluster volume info<br>
<br>
Volume Name: test-vol2<br>
Type: Distribute<br>
Status: Created<br>
Number of Bricks: 2<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: virt-zabbix-02:/gfs1<br>
Brick2: virt-zabbix-03:/gfs1<br>
<br>
# gluster volume start test-vol2<br>
Starting volume test-vol2 has been successful<br>
<br>
# gluster volume info<br>
<br>
Volume Name: test-vol2<br>
Type: Distribute<br>
Status: Started<br>
Number of Bricks: 2<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: virt-zabbix-02:/gfs1<br>
Brick2: virt-zabbix-03:/gfs1<br>
<br>
<br>
regards<br>
markus<br>
<br>
<br>
<br>
Am 27.01.2011 11:20, schrieb Raghavendra G:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&#39;-g3 -O0&#39;<br>
</blockquote>
--<br>
Mit freundlichen Grüssen<br>
<br>
Markus Fröhlich<br>
Techniker<br>
<br>
______________________________<u></u>__________________________<br>
<br>
Xidras GmbH<br>
Stockern 47<br>
3744 Stockern<br>
Austria<br>
<br>
Tel: +43 (0) 2983 201 30503<br>
Fax: +43 (0) 2983 201 305039<br>
Email: <a href="mailto:markus.froehlich@xidras.com" target="_blank">markus.froehlich@xidras.com</a><br>
Web: <a href="http://www.xidras.com" target="_blank">http://www.xidras.com</a><br>
<br>
FN 317036 f | Landesgericht Krems | ATU64485024<br>
<br>
______________________________<u></u>______________________________<u></u>____________________<br>
<br>
VERTRAULICHE INFORMATIONEN!<br>
Diese eMail enthält vertrauliche Informationen und ist nur für den<br>
berechtigten Empfänger bestimmt. Wenn diese eMail nicht für Sie<br>
bestimmt<br>
ist, bitten wir Sie, diese eMail an uns zurückzusenden und<br>
anschließend<br>
auf Ihrem Computer und Mail-Server zu löschen. Solche eMails und<br>
Anlagen<br>
dürfen Sie weder nutzen, noch verarbeiten oder Dritten zugänglich<br>
machen, gleich in welcher Form.<br>
Wir danken für Ihre Kooperation!<br>
<br>
CONFIDENTIAL!<br>
This email contains confidential information and is intended for the<br>
authorised recipient only. If you are not an authorised recipient,<br>
please return the email to us and then delete it from your computer<br>
and mail-server. You may neither use nor edit any such emails<br>
including<br>
attachments, nor make them accessible to third parties in any manner<br>
whatsoever.<br>
Thank you for your cooperation<br>
<br>
______________________________<u></u>______________________________<u></u>____________________<br>
</blockquote></blockquote>
<br></div></div>
-- <br><div><div></div><div class="h5">
Mit freundlichen Grüssen<br>
<br>
Markus Fröhlich<br>
Techniker<br>
<br>
______________________________<u></u>__________________________<br>
<br>
Xidras GmbH<br>
Stockern 47<br>
3744 Stockern<br>
Austria<br>
<br>
Tel:     +43 (0) 2983 201 30503<br>
Fax:     +43 (0) 2983 201 305039<br>
Email:   <a href="mailto:markus.froehlich@xidras.com" target="_blank">markus.froehlich@xidras.com</a><br>
Web:    <a href="http://www.xidras.com" target="_blank">http://www.xidras.com</a><br>
<br>
FN 317036 f | Landesgericht Krems | ATU64485024<br>
<br>
______________________________<u></u>______________________________<u></u>____________________<br>
<br>
VERTRAULICHE INFORMATIONEN!<br>
Diese eMail enthält vertrauliche Informationen und ist nur für den<br>
berechtigten Empfänger bestimmt. Wenn diese eMail nicht für Sie bestimmt<br>
ist, bitten wir Sie, diese eMail an uns zurückzusenden und anschließend<br>
auf Ihrem Computer und Mail-Server zu löschen. Solche eMails und Anlagen<br>
dürfen Sie weder nutzen, noch verarbeiten oder Dritten zugänglich<br>
machen, gleich in welcher Form.<br>
Wir danken für Ihre Kooperation!<br>
<br>
CONFIDENTIAL!<br>
This email contains confidential information and is intended for the<br>
authorised recipient only. If you are not an authorised recipient,<br>
please return the email to us and then delete it from your computer<br>
and mail-server. You may neither use nor edit any such emails including<br>
attachments, nor make them accessible to third parties in any manner<br>
whatsoever.<br>
Thank you for your cooperation<br>
<br>
______________________________<u></u>______________________________<u></u>____________________<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://gluster.org/cgi-bin/<u></u>mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br></div>