Page 1 of 1

Bug fix in Syrthes 4.1.0 sources

Posted: Thu May 23, 2013 2:48 pm
by jbruneaux
Hi,

While trying to use syrthes for the first time after compilation, I came accross a 'segmentation fault' error, even using the provided example files.

After a bit of code exploration, I found a first bug in file lire_data.c at line 306 (might not be the exact line as I played with this file to add traces but I think I reverted all these changes) :

Code: Select all

nbo=nbd==0
should be

Code: Select all

nbo=nbd=0
(as in the 'maillnodes->ndim==2' "if" case right above).

Changing this line allow the process to go a little bit further but I've came accross a new segmentation fault that I'm going to track down.

Im currently using a Ubuntu 10.10 system (vboxed) and an i686 platform (which involved some changes in some scripts to build the GUI and copy it to the destination folder).
The sources are the "SYRTHES 4.1.0 for Linux Ubuntu
" sources available here : http://innovation.edf.com/recherche-et- ... 80982.html

Regards, Jerome

Re: Bug fix in Syrthes 4.1.0 sources

Posted: Thu May 23, 2013 4:00 pm
by jbruneaux
So,

The real line is 308 (compared to original file, the second segmentation fault was due to 2 lines somehow removed...)

Regards, Jerome

Re: Bug fix in Syrthes 4.1.0 sources

Posted: Sun May 26, 2013 11:42 am
by Yvan Fournier
Hello,

Thanks for the fix. Did you send it to syrthes-support at edf.fr ? If not, I'll forward it to the Syrthes developpers tomorrow.

Regards,

Yvan

Re: Bug fix in Syrthes 4.1.0 sources

Posted: Mon May 27, 2013 10:56 am
by jbruneaux
Hi,

I've sent a mail to the support address friday or saturday, but maybe you should send one too.

Regards, Jerome