I have a problem writing a big TObjString into a TFile. When the TObjString is bigger than a certain limit (32k) ROOT crashes.
How to reproduce :
- copy the script and the input file to your computer
- run the script
- see the crash
If you delete the last line of the input file, then ROOT doesn’t crash.
Am I doing something wrong or is it an official limit ?
Thanks in advance for your help.
testFile.C (684 Bytes)
input.txt (32 KB)
This problem seems to be due to the way you string compressed (or do not), for example disabling the compression works around the issue:
Thanks for the reply. I have deactivated the compression and it works fine now.