Bug fix in Syrthes 4.1.0 sources

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
jbruneaux

Bug fix in Syrthes 4.1.0 sources

Post 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
jbruneaux

Re: Bug fix in Syrthes 4.1.0 sources

Post 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
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Bug fix in Syrthes 4.1.0 sources

Post 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
jbruneaux

Re: Bug fix in Syrthes 4.1.0 sources

Post by jbruneaux »

Hi,

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

Regards, Jerome
Post Reply