# Warning in \<TBufferFile::WriteObjectAny\>: An object of type 13TStreamerInfo (from type\_info) passed through a TObject pointer was truncated (due a missing dictionary)!

**URL:** <https://root-forum.cern.ch/t/warning-in-tbufferfile-writeobjectany-an-object-of-type-13tstreamerinfo-from-type-info-passed-through-a-tobject-pointer-was-truncated-due-a-missing-dictionary/64255>\
**Category:** Newbie\
**Tags:** root\
**Created:** [September 30, 2025, 9:49am UTC](https://root-forum.cern.ch/t/warning-in-tbufferfile-writeobjectany-an-object-of-type-13tstreamerinfo-from-type-info-passed-through-a-tobject-pointer-was-truncated-due-a-missing-dictionary/64255 "2025-09-30T09:49:45Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [October 2, 2025, 4:07pm UTC](https://root-forum.cern.ch/t/warning-in-tbufferfile-writeobjectany-an-object-of-type-13tstreamerinfo-from-type-info-passed-through-a-tobject-pointer-was-truncated-due-a-missing-dictionary/64255/5 "2025-10-02T16:07:46Z")

</div>

Earlier in the output you have (See also your post at [Old ROOT open ROOT file created by new version of ROOT](https://root-forum.cern.ch/t/old-root-open-root-file-created-by-new-version-of-root/64245))

```auto
Error in <TList::Clear>: A list is accessing an object (0xc6fc9d20) already deleted (list name = TList)

```

You can either

- Download the tip of the v6-24-00-patches branch and build that version of ROOT

or

- Disable the new behavior when writing the files, by to calling `file->SetBit(TFile::k630forwardCompatibility);`. Alternatively The rootrc key `TFile.v630forwardCompatibility` can be used to change the default to have the bit set for all `TFiles`

You should fix this before moving on.

The next observation is that the error message:  
```

Warning in TBufferFile::WriteObjectAny: An object of type 13TStreamerInfo (from type\_info) passed through a TObject pointer was truncated (due a missing dictionary)!!!  
```

is happening at the end of the process. So this begs the questions on whether the `TFile` are all properly written and closed (the TFile object being deleted) before the end of main.

---

_[View the full topic](https://root-forum.cern.ch/t/warning-in-tbufferfile-writeobjectany-an-object-of-type-13tstreamerinfo-from-type-info-passed-through-a-tobject-pointer-was-truncated-due-a-missing-dictionary/64255)._
