transit-ecei_proc segmentation fault is solved\! it was because of missing fclose(pipe to gnuplot)