Seg fault when running the PRACE test case
Posted: Mon Jan 16, 2017 1:38 pm
Hello,
I am trying to run this benchmark (test case A) : http://www.prace-ri.eu/ueabs/#Code_Saturne
I've installed Code_Saturne 3.0.1 using these instructions and I've run the example cases successfully. But on the benchmark test case, both ./SaturnGUI dp_fcp.xml and ./runcase end with this error :
gui/cs_gui_specific_physics.c:2656
Any idea ? Thanks in advance.
I am trying to run this benchmark (test case A) : http://www.prace-ri.eu/ueabs/#Code_Saturne
I've installed Code_Saturne 3.0.1 using these instructions and I've run the example cases successfully. But on the benchmark test case, both ./SaturnGUI dp_fcp.xml and ./runcase end with this error :
With gdb, I found this line to be the problem :SIGSEGV signal (forbidden memory area access) intercepted!
Call stack:
1: 0x7f99d1afd860 <+0x35860> (libc.so.6)
2: 0x7f99d1b54eb6 <strlen+0x26> (libc.so.6)
3: 0x7f99d2bb599e <uicpsc_+0xcc8> (libsaturne.so.0)
4: 0x7f99d2a209d1 <cs_coal_varpos_+0xd75> (libsaturne.so.0)
5: 0x7f99d25db9e9 <ppvarp_+0x68> (libsaturne.so.0)
6: 0x7f99d251be76 <varpos_+0x7eb> (libsaturne.so.0)
7: 0x7f99d23ab219 <iniusi_+0x2b0> (libsaturne.so.0)
8: 0x7f99d23aab1a <initi1_+0xb7> (libsaturne.so.0)
9: 0x7f99d220a5fc <cs_run+0x17c> (libsaturne.so.0)
10: 0x7f99d220b3b1 <main+0x14a> (libsaturne.so.0)
11: 0x7f99d1ae83f1 <__libc_start_main+0xf1> (libc.so.6)
12: 0x55a47ddb43da <_start+0x2a> (cs_solver)
End of stack
gui/cs_gui_specific_physics.c:2656
Code: Select all
/* IFVP2M */
label = _scalar_name_label("solid_fuels", "Var_F1F2");
BFT_MALLOC(vars->label[*ifvp2m -1], strlen(label)+1, char); // <- this call to strlen crashes
strcpy(vars->label[*ifvp2m -1], label);
BFT_FREE(label);