Page 1 of 1

Problem at the restart

Posted: Tue Jul 05, 2016 6:19 pm
by Muhsin
Hi all

I am having a problem when every time I try to restart my calculation from a checkpoint with SIGSEGV signal intercepted as shown below. I am using code_saturne 3.0.1. There is no problem occurred when I run my case from the first time step, but unfortunately, this happens during restart.
SIGSEGV signal (forbidden memory area access) intercepted!
Call stack:
1: 0x4073ff <clptur_+0x1eff> (cs_solver)
2: 0x2b690a0c8973 <condli_+0x2f09> (libsaturne.so.0)
3: 0x2b690a1cd961 <tridim_+0x33f1> (libsaturne.so.0)
4: 0x2b690a0b23fd <caltri_+0x27e9> (libsaturne.so.0)
5: 0x2b690a093925 <cs_run+0xa55> (libsaturne.so.0)
6: 0x2b690a093a85 <main+0x155> (libsaturne.so.0)
7: 0x31dae1ed5d <__libc_start_main+0xfd> (libc.so.6)
8: 0x405439 <> (cs_solver)
End of stack
Here I provide the subroutine files used, listing and other may assist. Could someone help me where could I have done wrong or how to overcome this problem?

Many thanks

Muhsin

Re: Problem at the restart

Posted: Wed Jul 06, 2016 9:29 am
by Yvan Fournier
Hello,

Do you have the same issue without user subroutines, or at least without your modified clptur.f90 ?

As you have modified a non-user routine (and even in other cases), I recommend testing on a debu build (i.e. configured with --enable-debug), as that allows you to get the exact line where the error occurs (either under a debugger, or combining the address in the backtrace with "addr2line -e ./cs_solver").

Regards,

Yvan