[ROOT-8055] File corruption after TTree deletion Created: 15/Mar/16 Updated: 15/Mar/16 Resolved: 15/Mar/16
|Fix Version/s:||6.02/14, 5.34/36, 6.08/00, 6.04/16, 6.06/04|
|Reporter:||Peter Onyisi||Assignee:||Philippe Canal|
lxplus (SLC6), set up using ATLAS release 126.96.36.199 (LCG 75root6), x86_64-slc6-gcc48-opt
As part of the ATLAS DQ monitoring we create rather large files with histograms and TTrees to keep metadata. We occasionally have files where attempting to delete one of these TTrees creates a corrupt file; an example is in /afs/cern.ch/user/p/ponyisi/public/testcase.root . The following will corrupt the file:
as evidenced by
Are we doing something wrong? This is a real worry for our DQ operations.
|Comment by Peter Onyisi [ 15/Mar/16 ]|
As an additional data point, the same issue occurs in 5.34/25.
|Comment by Philippe Canal [ 15/Mar/16 ]|
The was indeed an issue when space is freed in a large `ROOT` file and a TDirectory is updated and stored the lower (less than 2GB) freed portion of the file. There is no trivial way to recover the file after this issue.
The problem has been solved in the master and in the v6.06, v6.04, v6.02, v5.34 patch branches.