[ET Trac] [Einstein Toolkit] #1456: TerminationTrigger fails if the termination file cannot be created
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Oct 15 10:47:05 CDT 2013
#1456: TerminationTrigger fails if the termination file cannot be created
--------------------+-------------------------------------------------------
Reporter: hinder | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: Cactus | Version: development version
Keywords: |
--------------------+-------------------------------------------------------
In TerminationTrigger file.c, there is this code:
file = fopen (get_termination_file(), "w");
fclose (file);
This leads to a segmentation fault if the file cannot be created, e.g. due
to a missing directory in the path (for example if the parameter file has
been copied from another cluster and uses an absolute path). I would add
an error check here to abort if file == 0, but wanted to check that this
was the right thing to do.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1456>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list