-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Test SIGTERM vs ~TFile #13300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It might be that this bug requires the object to be in a sub- TFile file("out.root", "RECREATE");
file.mkdir("subdir")->cd();
TH1F hist("h", "h", 10, 0., 1.);
raise(SIGTERM); |
If we add this in TerminalConfigUnix.cpp, then both examples are fixed.
|
Is there really a difference between the 2 cases?
It is debatable whether this is the desired behavior or not. We do not know whether the user sent a The best/most we should do is make sure the file is 'properly' closed via the execution of |
Wouldn't the user send then a SIGKILL instead ? |
That is a good question. |
Check duplicate issues.
Description
Rumors have it that SIGTERM doesn't trigger writing in-memory objects to open
TFile
s. We should have a test for this.Reproducer
Likely this should be enough:
ROOT version
6.29/01
Installation method
From source
Operating system
Some Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: