[Gluster-users] glusterfs 3.1.1 troubles on SLES11 SP1

Anand Avati anand.avati at gmail.com
Tue Sep 13 18:46:36 UTC 2011


This looks like a compiler bug in SLES SP1. I have a standalone test case
here to prove it is a compiler issue -

https://github.com/avati/gcc-bug

It is scary because the data structures ended up getting linked wrongly!!
Compiling without -O2 seems to fix this crash, but we're still not sure how
much of "internal damage" 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.

Avati

2011/1/27 Markus Fröhlich <markus.froehlich at xidras.com>

> hi!
>
> I don't think so - I've always built and installed RPMs instead of running
> "make install".
> so when I uninstall a package, all files / librariers should get removed.
> the only files that are existing after uninstall are the configs under /etc
> and the logfiles.
>
> I now compiled and installed v 3.1.2
> also this version is running without any segfault / coredump
>
> regards
> markus
>
> Am 27.01.2011 13:18, schrieb Raghavendra G:
>
>  Hi Markus,
>>
>> Seems like you had stale installations of gluster and libraries of
>> different versions got mixed up there by causing crashes.
>>
>> regards,
>> ----- Original Message -----
>>
>>> From: "Markus Fröhlich"<markus.froehlich@**xidras.com<markus.froehlich at xidras.com>
>>> >
>>> To: "Raghavendra G"<raghavendra at gluster.com>
>>> Cc: gluster-users at gluster.org
>>> Sent: Thursday, January 27, 2011 3:16:47 PM
>>> Subject: Re: [Gluster-users] glusterfs 3.1.1 troubles on SLES11 SP1
>>> hi!
>>>
>>> I added the compiler flags into the SPEC file and compiled again,
>>> removed the old RPMs and deleted
>>> the whole /etc/gluser* dirs, configfiles and logfiles
>>> then I installed the new RPMs and started glusterd and ran the mgmt
>>> commands - the strange thing:
>>> NOW IT WORKS!!!
>>> no segfault, no coredump
>>>
>>> that means, one or both of the CFLAGS solves the segfault.
>>> I'll going on compiling v 3.1.2 with the CFLAGS too and testing it.
>>>
>>> here the output of my testing:
>>>
>>> # gluster peer probe virt-zabbix-03
>>> Probe successful
>>>
>>> # gluster peer status
>>> Number of Peers: 1
>>>
>>> Hostname: virt-zabbix-03
>>> Uuid: e9117cc0-b014-43a2-a4dc-**99a98dde5ad8
>>> State: Peer in Cluster (Connected)
>>>
>>> # gluster volume create test-vol2 transport tcp virt-zabbix-02:/gfs1
>>> virt-zabbix-03:/gfs1
>>> Creation of volume test-vol2 has been successful. Please start the
>>> volume to access data.
>>>
>>>
>>> # gluster volume info
>>>
>>> Volume Name: test-vol2
>>> Type: Distribute
>>> Status: Created
>>> Number of Bricks: 2
>>> Transport-type: tcp
>>> Bricks:
>>> Brick1: virt-zabbix-02:/gfs1
>>> Brick2: virt-zabbix-03:/gfs1
>>>
>>> # gluster volume start test-vol2
>>> Starting volume test-vol2 has been successful
>>>
>>> # gluster volume info
>>>
>>> Volume Name: test-vol2
>>> Type: Distribute
>>> Status: Started
>>> Number of Bricks: 2
>>> Transport-type: tcp
>>> Bricks:
>>> Brick1: virt-zabbix-02:/gfs1
>>> Brick2: virt-zabbix-03:/gfs1
>>>
>>>
>>> regards
>>> markus
>>>
>>>
>>>
>>> Am 27.01.2011 11:20, schrieb Raghavendra G:
>>>
>>>> '-g3 -O0'
>>>>
>>> --
>>> Mit freundlichen Grüssen
>>>
>>> Markus Fröhlich
>>> Techniker
>>>
>>> ______________________________**__________________________
>>>
>>> Xidras GmbH
>>> Stockern 47
>>> 3744 Stockern
>>> Austria
>>>
>>> Tel: +43 (0) 2983 201 30503
>>> Fax: +43 (0) 2983 201 305039
>>> Email: markus.froehlich at xidras.com
>>> Web: http://www.xidras.com
>>>
>>> FN 317036 f | Landesgericht Krems | ATU64485024
>>>
>>> ______________________________**______________________________**
>>> ____________________
>>>
>>> VERTRAULICHE INFORMATIONEN!
>>> Diese eMail enthält vertrauliche Informationen und ist nur für den
>>> berechtigten Empfänger bestimmt. Wenn diese eMail nicht für Sie
>>> bestimmt
>>> ist, bitten wir Sie, diese eMail an uns zurückzusenden und
>>> anschließend
>>> auf Ihrem Computer und Mail-Server zu löschen. Solche eMails und
>>> Anlagen
>>> dürfen Sie weder nutzen, noch verarbeiten oder Dritten zugänglich
>>> machen, gleich in welcher Form.
>>> Wir danken für Ihre Kooperation!
>>>
>>> CONFIDENTIAL!
>>> This email contains confidential information and is intended for the
>>> authorised recipient only. If you are not an authorised recipient,
>>> please return the email to us and then delete it from your computer
>>> and mail-server. You may neither use nor edit any such emails
>>> including
>>> attachments, nor make them accessible to third parties in any manner
>>> whatsoever.
>>> Thank you for your cooperation
>>>
>>> ______________________________**______________________________**
>>> ____________________
>>>
>>
> --
> Mit freundlichen Grüssen
>
> Markus Fröhlich
> Techniker
>
> ______________________________**__________________________
>
> Xidras GmbH
> Stockern 47
> 3744 Stockern
> Austria
>
> Tel:     +43 (0) 2983 201 30503
> Fax:     +43 (0) 2983 201 305039
> Email:   markus.froehlich at xidras.com
> Web:    http://www.xidras.com
>
> FN 317036 f | Landesgericht Krems | ATU64485024
>
> ______________________________**______________________________**
> ____________________
>
> VERTRAULICHE INFORMATIONEN!
> Diese eMail enthält vertrauliche Informationen und ist nur für den
> berechtigten Empfänger bestimmt. Wenn diese eMail nicht für Sie bestimmt
> ist, bitten wir Sie, diese eMail an uns zurückzusenden und anschließend
> auf Ihrem Computer und Mail-Server zu löschen. Solche eMails und Anlagen
> dürfen Sie weder nutzen, noch verarbeiten oder Dritten zugänglich
> machen, gleich in welcher Form.
> Wir danken für Ihre Kooperation!
>
> CONFIDENTIAL!
> This email contains confidential information and is intended for the
> authorised recipient only. If you are not an authorised recipient,
> please return the email to us and then delete it from your computer
> and mail-server. You may neither use nor edit any such emails including
> attachments, nor make them accessible to third parties in any manner
> whatsoever.
> Thank you for your cooperation
>
> ______________________________**______________________________**
> ____________________
>
>
>
>
>
>
>
>
> ______________________________**_________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/**mailman/listinfo/gluster-users<http://gluster.org/cgi-bin/mailman/listinfo/gluster-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110914/0f85ee69/attachment.html>


More information about the Gluster-users mailing list